Date: Fri, 05 Oct 2001 22:20:28 -0700 From: Farooq Mela <fmela0@sm.socccd.cc.ca.us> To: freebsd-multimedia@freebsd.org Subject: Linux binaries segfault after upgrade to 4.4 Message-ID: <3BBE949C.743CF422@sm.socccd.cc.ca.us>
next in thread | raw e-mail | index | archive | help
Hi -multimedia, Has anybody else had the problem with linux binaries which use OpenGL crash after an upgrade to freebsd 4.4. I have changed nothing else on my system except to rebuild the kernel & world. When I boot my kernel.old (4.3-STABLE) they run fine, however with 4.4 they get SIGFPE followed immediately by SIGSEGV (as seen by ktrace): 41699 quake2 CALL pwrite(0x8,0xbfbfebfc,0xbfbfeb70,0x8) 41699 quake2 RET pwrite 0 41699 quake2 PSIG SIGFPE caught handler=0x2857c578 mask=0x80000000 code=0x0 41699 quake2 PSIG SIGSEGV caught handler=0x28252828 mask=0x80000080 code=0x0 41699 quake2 CALL write(0x1,0x281fe000,0x1f) ... and: 41663 quake3 CALL pwrite(0x8,0xbfbfe370,0xbfbfe2e4,0x8) 41663 quake3 RET pwrite 0 41663 quake3 PSIG SIGFPE caught handler=0x2c6d0578 mask=0x80000000 code=0x0 41663 quake3 PSIG SIGSEGV caught handler=0x810c360 mask=0x80000080 code=0x0 41663 quake3 CALL old.sigvec(0x1,0xbfbfd750) 41663 quake3 RET old.sigvec 0 41663 quake3 CALL dup2(0xbfbfd7a0) ..... Maybe they are trying to divide by the return value of pwrite(); before the pwrite() which returns 0 there are several other pwrite calls which return non-zero. Since these damn things catch the fatal signals, I can't get a stack trace, and I have not been able to start the programs from within gdb either, I cannot coax it into loading the necessary linux .so's, but I will keep at it. If anybody has had similar problems or found some solution, I would like to hear from you. I am considering removing linux_base-6.1 and installing linux_base-7 - will this help or change anything? On an unrelated subject, I still cannot get either of these programs to utilize the sound card under any kernel after 4.2, I believe there is an open PR for this... Cheers, farooq <fmela0@sm.socccd.cc.ca.us> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3BBE949C.743CF422>