From owner-freebsd-multimedia Fri Oct 5 22:17:12 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 4D2EC37B405 for ; Fri, 5 Oct 2001 22:17:09 -0700 (PDT) Received: from sm.socccd.cc.ca.us (pool0656.cvx14-bradley.dialup.earthlink.net [209.179.40.146]) by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id WAA28728 for ; Fri, 5 Oct 2001 22:17:07 -0700 (PDT) Message-ID: <3BBE949C.743CF422@sm.socccd.cc.ca.us> Date: Fri, 05 Oct 2001 22:20:28 -0700 From: Farooq Mela X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 4.4-STABLE i386) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-multimedia@freebsd.org Subject: Linux binaries segfault after upgrade to 4.4 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message