From owner-freebsd-emulation@FreeBSD.ORG Thu Jun 14 21:53:33 2007 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B976A16A46E for ; Thu, 14 Jun 2007 21:53:33 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.235]) by mx1.freebsd.org (Postfix) with ESMTP id 7530613C448 for ; Thu, 14 Jun 2007 21:53:33 +0000 (UTC) (envelope-from nullpt@gmail.com) Received: by nz-out-0506.google.com with SMTP id 14so636071nzn for ; Thu, 14 Jun 2007 14:53:32 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=NpFPLCWqikmDHL213RzMwwjGlyri/uG8/ot7yJ7N0JNna2DCXLLnKZntbDokCVTkwzkar+8RTtRKkCxeK5NJesAClgyyL1G8CQ4KyDOLl8HRCy2T+0MvlO4iLBUqJfouSpArnI81QDkFByeFlwM+539spLHJ/h1CMQN8rZtp1EA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=QWxQvJH0xMpXp+PxmSkN7Nh4mi/au1gJmQ1pdCJNlysCouur5MTy8fj/Iq/WQ6iSXa/400vJYrEsddC/EsD9Uua2VE3QHZ/vReArnxQ0h7G8G3CORAqAuF/3F7DtsBt9PMdhoInMFwy2LgsXfU2cseJmCOiKJ5LzNW7OdfFTm+8= Received: by 10.114.201.1 with SMTP id y1mr2241352waf.1181858011397; Thu, 14 Jun 2007 14:53:31 -0700 (PDT) Received: by 10.114.240.18 with HTTP; Thu, 14 Jun 2007 14:53:31 -0700 (PDT) Message-ID: <755cb9fc0706141453p4676effbga32fd168b628c545@mail.gmail.com> Date: Thu, 14 Jun 2007 22:53:31 +0100 From: "Alexandre Vieira" To: "Sean C. Farley" In-Reply-To: <20070614154111.Q1140@baba.farley.org> MIME-Version: 1.0 References: <755cb9fc0706130827j37d64170h50f876f4d4747855@mail.gmail.com> <20070614154111.Q1140@baba.farley.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-emulation@freebsd.org Subject: Re: linux-sdl12 breaks nwnclient X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Jun 2007 21:53:33 -0000 On 6/14/07, Sean C. Farley wrote: > > On Wed, 13 Jun 2007, Alexandre Vieira wrote: > > > Hi, > > > > I don't know if this is a problem on linux-sdl12 but I had to > > downgrade linux-sdl12 to version 1.2.5_2 in order to get nwnclient > > (Never winter nights) to work. > > > > With the latest linux-sdl12 version the game core dumps when loading > > the game enviroment (main menus work, selecting characters, etc..). > > There is no SDL parachute, it's a a straight core dump. > > I have not had any problems with NWN and the latest linux-sdl12 port. > It was the first program I tested after upgrading to xorg 7.2. :) At > least when it comes to single-player mode, it works for me. At what > point is it crashing? It sounds like it is crashing for you when it > should be loading a map. Yes? > > > FreeBSD daminho 6.2-STABLE FreeBSD 6.2-STABLE #0: Fri May 25 15:48:00 > > WEST 2007 root@:/usr/obj/usr/src/sys/dual i386 > > I am running STABLE from June 1st, so they should be close enough. > > > I kept the core dump file and kept a output file from truss when the > > game crashes. I can send it if anyone requests it. > > I would like to see the truss output. I am not sure how well I will be > able to use a Linux core dump to an application without the source. > Also, please send the log files in ${HOME}/.nwn/logs. They may tell > more. Are you using the nVidia driver? What version if yes? Other > places to look for clues would be ${HOME}/.xsession-errors and > /var/log/Xorg.0.log. > > Sean > -- > sean-freebsd@farley.org > Hi Yes it's exactly when it finishes loading a map. Heh, I forgot that NWN is closed source! The .nwn/logs/nwnClientError1.txt is empty and it seems to be touched everytime I launch the game. xsession-errors has been lost and Xorg.0.log is also gone. But I recall that in the terminal I had a "X Error: BadWindow" whenever the game crashed. If it helps I can install the latest linux-sdl12 port and get that info. Yes I'm using the nvidia driver. Version: 100.14.09 from (released 06/08/2007). I could only solve this problem by downgrading linux-sdl12. As expected I've thrown all the blames to linux-sdl12 heh. I've analyzed the truss output very carefully and I can spot a indirect_vertex_array.c write that can tell me that it has something to do with glx. Here is the end of the map loading + crash: gettimeofday({1181497871.847944},0x0) = 0 (0x0) gettimeofday({1181497871.847999},0x0) = 0 (0x0) gettimeofday({1181497871.848054},0x0) = 0 (0x0) gettimeofday({1181497871.848110},0x0) = 0 (0x0) gettimeofday({1181497871.848165},0x0) = 0 (0x0) gettimeofday({1181497871.848224},0x0) = 0 (0x0) gettimeofday({1181497871.848281},0x0) = 0 (0x0) gettimeofday({1181497871.848348},0x0) = 0 (0x0) gettimeofday({1181497871.848541},0x0) = 0 (0x0) gettimeofday({1181497871.848601},0x0) = 0 (0x0) gettimeofday({1181497871.848661},0x0) = 0 (0x0) gettimeofday({1181497871.848727},0x0) = 0 (0x0) gettimeofday({1181497871.848785},0x0) = 0 (0x0) linux_open("./data/patch.bif",0x0,0666) = 13 (0xd) linux_fstat64(0xd,0xbfbfd60c,0x289cfff4) = 0 (0x0) linux_mmap(0xbfbfd5f4) = 686895104 (0x28f13000) linux_llseek(0xd,0x0,0xefc5000,0xbfbfd650,0x0) = 0 (0x0) read(13,"97\r\nTile1=96\r\n\r\n[GROUP14]"...,1517) = 1517 (0x5ed) read(13,"2DA V2.0\r\n\r\n Corner1 "...,4096) = 4096 (0x1000) close(13) = 0 (0x0) munmap(0x28f13000,4096) = 0 (0x0) linux_open("./data/aurora_tic.bif",0x0,0666) = 13 (0xd) linux_fstat64(0xd,0xbfbfd10c,0x289cfff4) = 0 (0x0) linux_mmap(0xbfbfd0f4) = 686895104 (0x28f13000) linux_llseek(0xd,0x0,0xe9c000,0xbfbfd150,0x0) = 0 (0x0) read(13," 1.00 0.30 1.40 2.00 "...,2112) = 2112 (0x840) read(13,"\0\0\0\0004\n\0\0\0\^C\0\0\M-@"...,4096) = 4096 (0x1000) close(13) = 0 (0x0) munmap(0x28f13000,4096) = 0 (0x0) linux_brk(0xf0dc000) = 252559360 (0xf0dc000) linux_open("./data/models_02.bif",0x0,0666) = 13 (0xd) linux_fstat64(0xd,0xbfbfdb2c,0x289cfff4) = 0 (0x0) linux_mmap(0xbfbfdb14) = 686895104 (0x28f13000) linux_llseek(0xd,0x0,0x3df1000,0xbfbfdb70,0x0) = 0 (0x0) read(13,"\0\0\0\0\0\0\0\0\0\M^@\M-?\0\0\0"...,3475) = 3475 (0xd93) read(13,"#MAXDOOR ASCII\r\n# model: PLC_H"...,4096) = 4096 (0x1000) close(13) = 0 (0x0) munmap(0x28f13000,4096) = 0 (0x0) linux_open("./data/models_02.bif",0x0,0666) = 13 (0xd) linux_fstat64(0xd,0xbfbfd75c,0x289cfff4) = 0 (0x0) linux_mmap(0xbfbfd744) = 686895104 (0x28f13000) linux_llseek(0xd,0x0,0x3de9000,0xbfbfd7a0,0x0) = 0 (0x0) read(13,"tion -0.628743 -0.0221689 0.0\r"...,283) = 283 (0x11b) read(13,"\0\0\0\0\bm\0\0d\^_\0\0\M-@\M-;@"...,32768) = 32768 (0x8000) read(13,"\M^?\M^?\M^?\M^?\M^?\M^?\M^?\M^?"...,4096) = 4096 (0x1000) close(13) = 0 (0x0) munmap(0x28f13000,4096) = 0 (0x0) linux_brk(0xf0fd000) = 252694528 (0xf0fd000) linux_open("./data/models_02.bif",0x0,0666) = 13 (0xd) linux_fstat64(0xd,0xbfbfdb2c,0x289cfff4) = 0 (0x0) linux_mmap(0xbfbfdb14) = 686895104 (0x28f13000) linux_llseek(0xd,0x0,0x4235000,0xbfbfdb70,0x0) = 0 (0x0) read(13,"\M^B\M-=\0\0\0?\^X\^F\M-l\M-="...,3534) = 3534 (0xdce) read(13,"#MAXDOOR ASCII\r\n# model: PLC_X"...,4096) = 4096 (0x1000) close(13) = 0 (0x0) munmap(0x28f13000,4096) = 0 (0x0) linux_open("./data/models_02.bif",0x0,0666) = 13 (0xd) linux_fstat64(0xd,0xbfbfd75c,0x289cfff4) = 0 (0x0) linux_mmap(0xbfbfd744) = 686895104 (0x28f13000) linux_llseek(0xd,0x0,0x422d000,0xbfbfd7a0,0x0) = 0 (0x0) read(13,"\a\M->\M-N\M^L \M-6\^U\M-A}\M-?"...,3850) = 3850 (0xf0a) read(13,"\0\0\0\0\M-ha\0\0\M-P\^\\0\0\M-@"...,28672) = 28672 (0x7000) read(13,"\^D\0\^E\0\^F\0\^D\0\a\0\^E\0\a"...,4096) = 4096 (0x1000) close(13) = 0 (0x0) munmap(0x28f13000,4096) = 0 (0x0) linux_open("./data/models_02.bif",0x0,0666) = 13 (0xd) linux_fstat64(0xd,0xbfbfdb2c,0x289cfff4) = 0 (0x0) linux_mmap(0xbfbfdb14) = 686895104 (0x28f13000) linux_llseek(0xd,0x0,0x3ff4000,0xbfbfdb70,0x0) = 0 (0x0) read(13,"\M-L\M->^\M-W\M-#?\M-t\^Y8?\M-M"...,2774) = 2774 (0xad6) read(13,"#MAXDOOR ASCII\r\n# model: PLC_M"...,4096) = 4096 (0x1000) close(13) = 0 (0x0) munmap(0x28f13000,4096) = 0 (0x0) linux_open("./data/models_02.bif",0x0,0666) = 13 (0xd) linux_brk(0xf122000) = 252846080 (0xf122000) linux_fstat64(0xd,0xbfbfd75c,0x289cfff4) = 0 (0x0) linux_mmap(0xbfbfd744) = 686895104 (0x28f13000) linux_llseek(0xd,0x0,0x3fed000,0xbfbfd7a0,0x0) = 0 (0x0) read(13,"Ht?\M^\\^^\M^Y>\0\0\0\0\M-*Ht?"...,2618) = 2618 (0xa3a) read(13,"\0\0\0\0(X\0\0h\^X\0\0\M-@\M-;@"...,28672) = 28672 (0x7000) read(13,",\0-\0.\0.\0/\0,\0000\0001\0002"...,4096) = 4096 (0x1000) close(13) = 0 (0x0) munmap(0x28f13000,4096) = 0 (0x0) linux_open("./data/models_02.bif",0x0,0666) = 13 (0xd) linux_fstat64(0xd,0xbfbfd9cc,0x289cfff4) = 0 (0x0) linux_mmap(0xbfbfd9b4) = 686895104 (0x28f13000) linux_llseek(0xd,0x0,0x37000,0xbfbfda10,0x0) = 0 (0x0) read(13,"t_diff\0\0\0\0\0\0\^C\0\^]\0\^A"...,268) = 268 (0x10c) read(13,"\0\0\0\0\M-P\^C\0\0\0\0\0\0\M-@"...,4096) = 4096 (0x1000) close(13) = 0 (0x0) munmap(0x28f13000,4096) = 0 (0x0) write(2,"nwmain: indirect_vertex_array.c:"...,105) = 105 (0x69) linux_rt_sigprocmask(0x1,0xbfbfdf80,0x0,0x8) = 0 (0x0) write(1,":: Server player list ::\nServer"...,169) = 169 (0xa9) write(9,"--------------------------------"...,288) = 288 (0x120) linux_kill(0x17305,0x6) = 0 (0x0) SIGNAL 6 (SIGABRT) SIGNAL 6 (SIGABRT) Process stopped because of: 16 process exit, rval = 134 Cheers -- Alexandre Vieira - nullpt@gmail.com