Date: Thu, 14 Jun 2007 22:53:31 +0100 From: "Alexandre Vieira" <nullpt@gmail.com> To: "Sean C. Farley" <sean-freebsd@farley.org> Cc: freebsd-emulation@freebsd.org Subject: Re: linux-sdl12 breaks nwnclient Message-ID: <755cb9fc0706141453p4676effbga32fd168b628c545@mail.gmail.com> In-Reply-To: <20070614154111.Q1140@baba.farley.org> References: <755cb9fc0706130827j37d64170h50f876f4d4747855@mail.gmail.com> <20070614154111.Q1140@baba.farley.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/14/07, Sean C. Farley <sean-freebsd@farley.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?755cb9fc0706141453p4676effbga32fd168b628c545>