Bug 134457
| Summary: | segfault on sound initialization | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Szalkowski <adam> |
| Component: | arts | Assignee: | Than Ngo <than> |
| Status: | CLOSED WORKSFORME | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-10-05 13:18:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 123268 | ||
|
Description
Adam Szalkowski
2004-10-02 22:44:56 UTC
ok, this seems to be rather a bug in arts. the program (supertux) receives a SIGABRT when leaving MCOPConfig::readEntry -> some destructor? I'll attach some gdb output. any suggestions? [adam@baldur ~]$ gdb supertux GNU gdb Red Hat Linux (6.1post-1.20040607.35rh) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/tls/libthread_db.so.1". (gdb) r Starting program: /usr/bin/supertux Reading symbols from shared object read from target memory...(no debugging symbols found)...done. Loaded system supplied DSO at 0xffffe000 (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...[Thread debugging using libthread_db enabled] [New Thread 1075385888 (LWP 21724)] (no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(nodebugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...(no debugging symbols found)...Datadir: /usr/bin/../share/supertux *** glibc detected *** free(): invalid pointer: 0x080c14c0 *** Program received signal SIGABRT, Aborted. [Switching to Thread 1075385888 (LWP 21724)] 0xffffe410 in __kernel_vsyscall () (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0x4008d625 in raise () from /lib/tls/libc.so.6 #2 0x4008efe9 in abort () from /lib/tls/libc.so.6 #3 0x400c5e2b in malloc_printerr () from /lib/tls/libc.so.6 #4 0x400c68ba in free () from /lib/tls/libc.so.6 #5 0x4a2fc375 in operator delete () from /usr/lib/libstdc++.so.6 #6 0x4a2dd4cf in std::string::_Rep::_M_destroy () from /usr/lib/libstdc++.so.6 #7 0x4a2dd752 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string () from /usr/lib/libstdc++.so.6 #8 0x405fdbd0 in Arts::MCOPUtils::readConfigEntry (key=@0xbffff460, defaultValue=@0xbffff4b0) at mcoputils.cc:162 #9 0x405db074 in Dispatcher (this=0x80c3154, ioManager=0x0, startServer=Arts::Dispatcher::noServer) at dispatcher.cc:248 #10 0x401bece9 in ArtsCApi (this=0x80c3150) at artscbackend.cc:583 #11 0x401beca1 in ArtsCApi::ref () at artscbackend.cc:689 #12 0x401be64c in arts_backend_init () at artscbackend.cc:714 #13 0x401ab5a2 in arts_init () at artsc.c:122 #14 0x4b75065a in SDL_MixAudio_MMX_S8 () from /usr/lib/libSDL-1.2.so.0 #15 0x4b74c070 in SDL_AudioInit () from /usr/lib/libSDL-1.2.so.0 #16 0x4b74aa5a in SDL_InitSubSystem () from /usr/lib/libSDL-1.2.so.0 #17 0x4b74ab5b in SDL_Init () from /usr/lib/libSDL-1.2.so.0 #18 0x08084d23 in st_audio_setup () #19 0x080874f4 in main () i have started tuxracer and Maelstrom, i cannot reproduce this crash on my local machine with SDL-1.2.7-7.1 and arts-1.3.0-4. Both work without any problem for me. could you please try following soundsetting: kcontrol->Sound & Multimedia->Sound System->Hardware->Select the audio device: Advanced Linux Sound Architecture and perhaps disable Full duplex. Does it work for you? if it still does not work, please rename $HOME/.kde to .kde.me and start KDE again. ok, tuxracer and Maelstrom now also work even using arts (with a 2s delay...). though i do not exactly know why. i deleted ~/.kde/share/config/arts* and ~/.mcop* and had rebuilt arts with debuginfo. now i got again the original version installed and it still works. but supertux still has problems with sound initialization: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1074373984 (LWP 4453)] 0x47b69890 in free () from /lib/tls/libc.so.6 (gdb) bt #0 0x47b69890 in free () from /lib/tls/libc.so.6 #1 0x47f0c375 in operator delete () from /usr/lib/libstdc++.so.6 #2 0x47eed4cf in std::string::_Rep::_M_destroy () from /usr/lib/libstdc++.so.6 #3 0x47eed5e1 in std::string::assign () from /usr/lib/libstdc++.so.6 #4 0x403c2028 in Arts::Dispatcher::Dispatcher () from /usr/lib/libmcop.so.1 #5 0x400a40a4 in arts_backend_init () from /usr/lib/libartscbackend.so.0 #6 0x400b42b6 in arts_init () from /usr/lib/libartsc.so.0 #7 0x4002b0fa in SDL_MixAudio_MMX_S8 () from /usr/lib/libSDL-1.2.so.0 #8 0x40026b10 in SDL_AudioInit () from /usr/lib/libSDL-1.2.so.0 #9 0x400254fa in SDL_InitSubSystem () from /usr/lib/libSDL-1.2.so.0 #10 0x400255fb in SDL_Init () from /usr/lib/libSDL-1.2.so.0 #11 0x08084d23 in st_audio_setup () #12 0x080874f4 in main () this is just after trying to read from ~/.mcoprc can i disable arts support in SDL without having to recompile it? i have built supertux on my local machine today, it works without any problem for me. you have to rebuild SDL if you want to disable arts support. |