Re: linux 3d applications keep crashing

From: Alexander Best <alexbestms_at_math.uni-muenster.de>
Date: Sat, 14 Mar 2009 10:06:09 +0100 (CET)
oh sure. sorry:

FreeBSD moshnroll 8.0-CURRENT FreeBSD 8.0-CURRENT #5 r189748: Thu Mar 12
21:09:14 UTC 2009     root_at_moshnroll:/usr/obj/usr/src/sys/ARUNDEL  i386

compat.linux.oss_version: 198144
compat.linux.osrelease: 2.6.16
compat.linux.osname: Linux

linux-alsa-lib-1.0.10.3 The Advanced Linux Sound Architecture libraries
linux-arts-1.5.3.0.1.f4 Audio system for the KDE integrated X11 desktop (Linux
vers
linux-atk-1.9.1_1   Accessibility Toolkit, Linux/i386 binary
linux-cairo-1.0.2   Linux cairo binary
linux-doom3-demo-1.1.1286_2 DOOM III demo for Linux
linux-edonkey-core-1.3.0,1 eDonkey2000 'core' command line client
linux-esound-0.2.36 RPM of esound
linux-expat-1.95.8  Linux/i386 binary port of Expat XML-parsing library
linux-fontconfig-2.2.3_7 Linux/i386 binary of Fontconfig
linux-gtk2-2.6.10_1 GTK+ library, version 2.X, Linux binary
linux-jpeg-6b.34    RPM of the JPEG lib
linux-libaudiofile-0.2.6_2 RPM of audiofile
linux-libogg-1.1.2.2_3 Ogg bitstream library (Linux version)
linux-libvorbis-1.1.0.2 Audio compression codec library (Linux version)
linux-openal-0.0.9.0.6.20060204.c.f4_1 A 3D positional spatialized sound
library (Linux version)
linux-pango-1.10.2_1 Linux pango binary
linux-png-1.2.8_2   RPM of the PNG lib
linux-quake4-demo-1.0_1 Quake 4 for Linux Demo
linux-sdl-1.2.10,1  Cross-platform multi-media development API (linux version)
linux-tiff-3.7.1    TIFF library, Linux/i386 binary
linux-xorg-libs-6.8.2_5 Xorg libraries, linux binaries
linux_base-f8-8_11  Base set of packages needed in Linux mode (for i386/amd64)
linux_dri-7.0       Binary Linux DRI libraries for 3D hardware acceleration of
linux_kdump-1.5_2   Linux-compatability ktrace.out processor

cheers.

...oh...and i'm using release 180.29 of the nvidia drivers. i installed
graphics/linux_dri to see if that fixes the problem and with the libGL.so.1
from linux_dri the games run without any problems.

also the problem i described doesn't exist on 6.4-STABLE i've been told.

Boris Samorodov schrieb am 2009-03-14:
> Return-Path: <bsam_at_ipt.ru>
> X-Original-To: alexbestms_at_uni-muenster.de
> Delivered-To: a_best01_at_UNI-MUENSTER.DE
> Received: from zivm-out3.uni-muenster.de (ZIVM-OUT3.UNI-MUENSTER.DE
>  [128.176.192.18])
>         by ZIVMAILSTORE2.UNI-MUENSTER.DE (Postfix) with ESMTP id
>         927B2728870
>         for <alexbestms_at_uni-muenster.de>; Sat, 14 Mar 2009 09:37:14
>         +0100 (CET)
> X-IronPort-Anti-Spam-Filtered: true
> X-IronPort-Anti-Spam-Result:
>  AskLAAMKu0nCPulugWdsb2JhbACIE40kAQEWIrl5g34G
> X-IronPort-AV: E=Sophos;i="4.38,362,1233529200";
>    d="scan'208";a="1695739"
> Received: from services.ipt.ru ([194.62.233.110])
>   by zivm-out3.uni-muenster.de with ESMTP; 14 Mar 2009 09:37:14 +0100
> Received: from bb.ipt.ru ([194.62.233.89])
>         by services.ipt.ru with esmtp (Exim 4.54 (FreeBSD))
>         id 1LiPMm-0002Qo-NH; Sat, 14 Mar 2009 11:37:12 +0300
> To: Alexander Best <alexbestms_at_math.uni-muenster.de>
> Cc: <freebsd-current_at_freebsd.org>
> Subject: Re: linux 3d applications keep crashing
> References:
>  <permail-2009031323032580e26a0b00001298-a_best01_at_message-id.uni-muenster.de>
> From: Boris Samorodov <bsam_at_ipt.ru>
> Date: Sat, 14 Mar 2009 11:37:13 +0300
> In-Reply-To:
>  <permail-2009031323032580e26a0b00001298-a_best01_at_message-id.uni-muenster.de>
>  (Alexander Best's message of "Sat\, 14 Mar 2009 00\:03\:25 +0100
>  \(CET\)")
> Message-ID: <14763590_at_bb.ipt.ru>
> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix)
> MIME-Version: 1.0
> Content-Type: text/plain; charset=us-ascii

> On Sat, 14 Mar 2009 00:03:25 +0100 (CET) Alexander Best wrote:

> > hi there,

> > a lot of people who are using the nvidia closed source driver are
> > having
> > problems running linux 3d applications. the libGL.so.1 library
> > (linux version
> > in /compat/linux/usr/lib) causes almost every linux 3d app to
> > segfault. since
> > the library is the very same one that get's installed under linux
> > the problem
> > very likely resides in the linuxulator.

> > i ran two linux games with ktrace. this is the output from
> > linux_kdump. i hope
> > i copy&pasted the important pieces of the dump that report the
> > crash.

> > dump from unreal tournament 2004 demo:

> > ...
> >   1180 ut2004-bin RET   close 0
> >   1180 ut2004-bin CALL  linux_brk(0xae5c000)
> >   1180 ut2004-bin RET   linux_brk 182829056/0xae5c000
> >   1180 ut2004-bin CALL  linux_getpid
> >   1180 ut2004-bin RET   linux_getpid 1180/0x49c
> >   1180 ut2004-bin CALL  linux_getpid
> >   1180 ut2004-bin RET   linux_getpid 1180/0x49c
> >   1180 ut2004-bin CALL  linux_getpid
> >   1180 ut2004-bin RET   linux_getpid 1180/0x49c
> >   1180 ut2004-bin CALL
> >   linux_sys_futex(0x2b406e30,0x81,0x7fffffff,0,0x49c,0x7)
> >   1180 ut2004-bin RET   linux_sys_futex 1
> >   1180 ut2004-bin PSIG  SIGSEGV caught handler=0x874bd50 mask=0x0
> >   code=0x0
> >   1180 ut2004-bin CALL  linux_fstat64(0x1,0xbfbfa9e8,0x28fe8ff4)
> >   1180 ut2004-bin UNKNOWN(8)    1180 ut2004-bin RET   linux_fstat64
> >   0
> >   1180 ut2004-bin CALL  linux_mmap2(0,0x1000,0x3,0x22,0xffffffff,0)
> >   1180 ut2004-bin RET   linux_mmap2 688971776/0x2910e000
> >   1180 ut2004-bin CALL  write(0x1,0x2910e000,0x25)
> >   1180 ut2004-bin GIO   fd 1 wrote 37 bytes
> >        "Signal: SIGSEGV [segmentation fault]
> >        "
> >   1180 ut2004-bin RET   write 37/0x25
> >   1180 ut2004-bin CALL  write(0x1,0x2910e000,0xa)
> >   1180 ut2004-bin GIO   fd 1 wrote 10 bytes
> >        "Aborting.
> >        "
> >   1180 ut2004-bin RET   write 10/0xa
> >   1180 ut2004-bin CALL  write(0x1,0x2910e000,0x1)
> >   1180 ut2004-bin GIO   fd 1 wrote 1 byte
> >        "
> >        "
> >   1180 ut2004-bin RET   write 1
> >   1180 ut2004-bin CALL  write(0x1,0x2910e000,0x1)
> >   1180 ut2004-bin GIO   fd 1 wrote 1 byte
> >        "
> >        "
> >   1180 ut2004-bin RET   write 1
> >   1180 ut2004-bin CALL  write(0x1,0x2910e000,0x31)
> >   1180 ut2004-bin GIO   fd 1 wrote 49 bytes
> >        "Crash information will be saved to your logfile.
> >        "
> >   1180 ut2004-bin RET   write 49/0x31
> >   1180 ut2004-bin CALL
> >   linux_sys_futex(0x28feba34,0x81,0x7fffffff,0,0xbfbfab14,0xbfbfaaec)
> >   1180 ut2004-bin RET   linux_sys_futex 1
> >   1180 ut2004-bin CALL
> >   linux_sys_futex(0x28e8eb48,0x81,0x7fffffff,0,0xbfbfaa30,0xbfbfa93c)
> >   1180 ut2004-bin RET   linux_sys_futex 1
> >   1180 ut2004-bin CALL  write(0x4,0x937c3c8,0xc)
> > ...

> > and dump from quake 4 demo:

> > ...
> >   1285 quake4.x86 RET   close 0
> >   1285 quake4.x86 CALL  linux_getpid
> >   1285 quake4.x86 RET   linux_getpid 1285/0x505
> >   1285 quake4.x86 CALL  linux_getpid
> >   1285 quake4.x86 RET   linux_getpid 1285/0x505
> >   1285 quake4.x86 CALL  linux_getpid
> >   1285 quake4.x86 RET   linux_getpid 1285/0x505
> >   1285 quake4.x86 CALL
> >   linux_sys_futex(0x2dbece30,0x81,0x7fffffff,0,0x505,0x7)
> >   1285 quake4.x86 RET   linux_sys_futex 1
> >   1285 quake4.x86 PSIG  SIGSEGV caught handler=0x8254b10 mask=0x0
> >   code=0x0
> >   1285 quake4.x86 CALL
> >   linux_sys_futex(0x286cd620,0x81,0x7fffffff,0,0x505,0xbfbfc51c)
> >   1285 quake4.x86 RET   linux_sys_futex 1
> >   1285 quake4.x86 CALL  write(0x1,0x283dd000,0x22)
> >   1285 quake4.x86 GIO   fd 1 wrote 34 bytes
> >        "signal caught: Segmentation fault
> >        "
> >   1285 quake4.x86 RET   write 34/0x22
> >   1285 quake4.x86 CALL  write(0x1,0x283dd000,0xa)
> >   1285 quake4.x86 GIO   fd 1 wrote 10 bytes
> >        "si_code 1
> >        "
> >   1285 quake4.x86 RET   write 10/0xa
> >   1285 quake4.x86 CALL  write(0x1,0x283dd000,0x1c)
> >   1285 quake4.x86 GIO   fd 1 wrote 28 bytes
> >        "Trying to exit gracefully..
> >        "
> >   1285 quake4.x86 RET   write 28/0x1c
> >   1285 quake4.x86 CALL  write(0x1,0x283dd000,0x2e)
> >   1285 quake4.x86 GIO   fd 1 wrote 46 bytes
> >        "--------------- BSE Shutdown ----------------
> >        "
> >   1285 quake4.x86 RET   write 46/0x2e
> >   1285 quake4.x86 CALL  write(0x1,0x283dd000,0x2e)
> >   1285 quake4.x86 GIO   fd 1 wrote 46 bytes
> >        "---------------------------------------------
> >        "
> >   1285 quake4.x86 RET   write 46/0x2e
> >   1285 quake4.x86 CALL  write(0x1,0x283dd000,0x35)
> >   1285 quake4.x86 GIO   fd 1 wrote 53 bytes
> >        "WARNING: rvServerScanGUI::Clear() - invalid scanGUI

> >        "
> >   1285 quake4.x86 RET   write 53/0x35
> >   1285 quake4.x86 CALL  munmap(0x2d0ee000,0x101000)
> >   1285 quake4.x86 RET   munmap 0
> >   1285 quake4.x86 CALL  munmap(0x2d1ef000,0x101000)
> > ...

> > to me it looks like the app crashes during the futex syscall, but
> > i'm far from
> > beeing an expert.

> > it would be great if somebody could take a closer look at this.

> For those who might wish to dig into the problem following
> information
> from you host may be helpful:
> -----
> % uname -a
> % sysctl compat.linux
> % pkg_info -xI linux
> -----


> WBR
Received on Sat Mar 14 2009 - 08:06:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:44 UTC