Debian Bug report logs - #494024
openal-soft: linking against openal makes programs segfault on powerpc

version graph

Package: openal-soft; Maintainer for openal-soft is Debian Games Team <pkg-games-devel@lists.alioth.debian.org>;

Reported by: Gerfried Fuchs <rhonda@debian.at>

Date: Wed, 6 Aug 2008 18:45:02 UTC

Severity: serious

Found in version 1:1.4.272-1

Fixed in version 1:1.4.272-2

Done: Gerfried Fuchs <rhonda@deb.at>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Games Team <pkg-games-devel@lists.alioth.debian.org>:
Bug#494024; Package openal-soft. Full text and rfc822 format available.

Acknowledgement sent to Gerfried Fuchs <rhonda@debian.at>:
New Bug report received and forwarded. Copy sent to Debian Games Team <pkg-games-devel@lists.alioth.debian.org>. Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Gerfried Fuchs <rhonda@debian.at>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: openal-soft: linking against openal makes programs segfault on powerpc
Date: Wed, 6 Aug 2008 15:40:39 -0300
Package: openal-soft
Version: 1:1.4.272-1
Severity: important

        Hi!

 Possibly this should get considered release critical, it deeply affects
a release architecture and packages using openal. The problem got
noticed due to build problems of supertuxkart and hugs98 on powerpc.

 Digged around and pinned it down to a really tiny test case:

#v+
rhonda@edna$ cat blub.c 
main () { }
rhonda@edna$ gcc -o blub -g -O2   blub.c -lopenal
rhonda@edna$ ./blub 
Segmentation fault
rhonda@edna$ gcc -o blub -g -O2   blub.c 
rhonda@edna$ ./blub 
rhonda@edna$ 
#v-

 From such a test segfault build I got this from a gdb bt:

#v+
(gdb) bt
#0  0x0fb9d1e0 in strcasecmp () from /lib/libc.so.6
#1  0x0fcb2bec in GetConfigValue (blockName=0xfcbe24c "general", keyName=0xfcbdd1c "drivers", 
    def=0xfcbe344 "") at /build/buildd/openal-soft-1.4.272/Alc/alcConfig.c:286
#2  0x0fcad980 in InitAL () at /build/buildd/openal-soft-1.4.272/Alc/ALc.c:212
#3  0x0fcaf1ec in ReleaseALC () at /build/buildd/openal-soft-1.4.272/Alc/ALc.c:1251
#4  0x0fcad25c in my_deinit () at /build/buildd/openal-soft-1.4.272/OpenAL32/OpenAL32.c:65
#5  0x0fc9f298 in __do_global_dtors_aux () from /usr/lib/libopenal.so.1
#6  0x0fcbc514 in _fini () from /usr/lib/libopenal.so.1
#7  0x4800f7a8 in ?? () from /lib/ld.so.1
#8  0x0fb4d58c in exit () from /lib/libc.so.6
#9  0x0fb31708 in ?? () from /lib/libc.so.6
#10 0x0fb318c0 in __libc_start_main () from /lib/libc.so.6
#11 0x00000000 in ?? ()
(gdb) frame 1
#1  0x0fcb2bec in GetConfigValue (blockName=0xfcbe24c "general", keyName=0xfcbdd1c "drivers", 
    def=0xfcbe344 "") at /build/buildd/openal-soft-1.4.272/Alc/alcConfig.c:286
286     /build/buildd/openal-soft-1.4.272/Alc/alcConfig.c: No such file or directory.
        in /build/buildd/openal-soft-1.4.272/Alc/alcConfig.c
(gdb) p cfgBlocks[i].name
$1 = 0x11 <Address 0x11 out of bounds>
(gdb) 
#v-

 Investigating further, but I wanted to have it reported for now.
Rhonda

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.26-1-powerpc
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash




Severity set to `serious' from `important' Request was from Adeodato Simó <dato@net.com.org.es> to control@bugs.debian.org. (Wed, 06 Aug 2008 23:36:21 GMT) Full text and rfc822 format available.

Reply sent to Gerfried Fuchs <rhonda@deb.at>:
You have taken responsibility. Full text and rfc822 format available.

Notification sent to Gerfried Fuchs <rhonda@debian.at>:
Bug acknowledged by developer. Full text and rfc822 format available.

Message #12 received at 494024-done@bugs.debian.org (full text, mbox, reply):

From: Gerfried Fuchs <rhonda@deb.at>
To: 494024-done@bugs.debian.org
Subject: Re: Bug#494024: openal-soft: linking against openal makes programs segfault on powerpc
Date: Sat, 9 Aug 2008 20:34:52 -0300
Version: 1:1.4.272-2

        Hi!

 Fumbled on my own for closing the bug with the changelog, for
reference, here it is:

 openal-soft (1:1.4.272-2) unstable; urgency=low

   [ Gerfried Fuchs ]
   * Pulled upstream commits e66bb09156bb69725f91b2 and eba60c30c5e1676786b33b
     to fix an (de)initialization issue that produces segfaults when doing
     autofoo in some special circumstances.
   * Add removal of quilt's .pc directory when cleaning up, too.
   * quilt refresh patch(es).

 So long,
Rhonda




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 18 Sep 2008 07:28:54 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun May 31 16:22:28 2015; Machine Name: beach

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.