Bug 114650 - Segmentation fault in artsd causes crashes
Summary: Segmentation fault in artsd causes crashes
Status: RESOLVED DUPLICATE of bug 111115
Alias: None
Product: arts
Classification: Miscellaneous
Component: artsd (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Westerfeld
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 02:05 UTC by Raphaël Pinson
Modified: 2005-10-20 16:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Raphaël Pinson 2005-10-19 02:05:51 UTC
Version:           inconnu (using KDE 3.4.92 (beta2, >= 20051010), Kubuntu Package 4:3.4.92-0ubuntu2 )
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.12-9-k7

Artsd crashes several times on KDE startup with signal 11. After turning the service off, trying to launch artsd from a console returns : 

unix_connect: can't connect to server (unix:/tmp/ksocket-raphink/raphink.raphinknet-240b-43556456)
Segmentation fault

(raphink being my login and my machine name, raphinknet my LAN)
Comment 1 Thiago Macieira 2005-10-19 04:53:18 UTC
Can you paste a backtrace here?

PS: segmentation fault is a crash, so it can't cause one :-)
Comment 2 Raphaël Pinson 2005-10-19 08:54:21 UTC
I don't have artsd compiled with debugging symbols, so I get this kind of backtrace : 

Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(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)
(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)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1218836256 (LWP 9118)]
(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)
(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)
[KCrash handler]
#14 0xb782633e in __gnu_cxx::__pool<true>::_M_reclaim_block ()
   from /usr/lib/libstdc++.so.6
#15 0x080606b3 in ?? ()
#16 0x08074cc0 in Arts::ByteSoundProducerV2_base::_IID ()
#17 0x081f77e0 in ?? ()
#18 0x00000008 in ?? ()
#19 0xb77b5900 in __malloc_initialize_hook ()
   from /lib/tls/i686/cmov/libc.so.6
#20 0x08177d9c in ?? ()
#21 0x00000000 in ?? ()
#22 0x08177d5c in ?? ()
#23 0x08177d44 in ?? ()
#24 0x08177d3c in ?? ()
#25 0x08177d34 in ?? ()
#26 0x08177d2c in ?? ()
#27 0x081c9278 in ?? ()
#28 0x081c9290 in ?? ()
#29 0x080b97dc in ?? ()
#30 0xbf8cced0 in ?? ()
#31 0x08119bc4 in ?? ()
#32 0x08119c3c in ?? ()
#33 0x081fe43c in ?? ()
#34 0x081fe43c in ?? ()
#35 0x081e1610 in ?? ()
#36 0x0820cf54 in ?? ()
#37 0x08071d38 in ?? ()
#38 0x00000133 in ?? ()
#39 0x08177d28 in ?? ()
#40 0x0806af04 in typeinfo name for Arts::TimeNotify ()
#41 0x08177d28 in ?? ()
#42 0xbf8ccee8 in ?? ()
#43 0x08068018 in ?? ()
#44 0x08177d28 in ?? ()
#45 0x0806af08 in typeinfo name for Arts::TimeNotify ()
#46 0x08177dcc in ?? ()
#47 0x08177dcc in ?? ()
#48 0x0806b03c in typeinfo name for Arts::TimeNotify ()
#49 0x08177d78 in ?? ()
#50 0xbf8ccf28 in ?? ()
#51 0x08060ff6 in ?? ()
#52 0x08177d28 in ?? ()
#53 0x0806af04 in typeinfo name for Arts::TimeNotify ()
#54 0x000000a8 in ?? ()
#55 0xb78c2cd0 in ?? () from /usr/lib/libstdc++.so.6
#56 0x000000a8 in ?? ()
#57 0x0810b360 in ?? ()
#58 0xbf8ccf28 in ?? ()
#59 0xb789e4c5 in operator new () from /usr/lib/libstdc++.so.6
Comment 3 Daniel Hahler 2005-10-20 00:35:09 UTC
Here is another backtrace - not from one of the many crash reports at startup, but with "sound system" disabled before login, going to control center and pressing "Test sound" in "Sound system" tab. It asks me to save the settings (enable sound system).

I get just one crash report then.

After this crash the "Starting sound system" dialog (with the percentage) loops and loops and loops.
 

Backtrace:
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(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)
(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)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1218976064 (LWP 12779)]
(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)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#14 0xb780433e in __gnu_cxx::__pool<true>::_M_reclaim_block ()
   from /usr/lib/libstdc++.so.6
#15 0xb7f5cbff in virtual thunk to Arts::SoundServerV2_stub::version() ()
   from /usr/lib/libsoundserver_idl.so.1
#16 0xb7f7c8a0 in Arts::SampleStorageEntry_base::_IID ()
   from /usr/lib/libsoundserver_idl.so.1
#17 0x08106608 in ?? ()
#18 0x00000004 in ?? ()
#19 0x08104fb8 in ?? ()
#20 0x08106608 in ?? ()
#21 0x00000000 in ?? ()
#22 0xbfcad398 in ?? ()
#23 0xb7f66a2c in ?? () from /usr/lib/libsoundserver_idl.so.1
#24 0xbfcad3d4 in ?? ()
#25 0xbfcad3e0 in ?? ()
#26 0xbfcad398 in ?? ()
#27 0xb7f5db0c in virtual thunk to Arts::GSLPlayObject_base::_defaultPortsOut() const () from /usr/lib/libsoundserver_idl.so.1
#28 0xbfcad3e0 in ?? ()
#29 0x08106608 in ?? ()
#30 0x00000001 in ?? ()
#31 0x08104fb8 in ?? ()
#32 0xb7f1dcd8 in ?? () from /usr/lib/libsoundserver_idl.so.1
#33 0x00000000 in ?? ()
#34 0xbfcad3d4 in ?? ()
#35 0xbfcad3bc in ?? ()
#36 0x0816202c in ?? ()
#37 0xb7fa3b30 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#38 0xb7f51232 in Arts::SoundServerStartup_base::_fromString ()
   from /usr/lib/libsoundserver_idl.so.1
Comment 4 Daniel Hahler 2005-10-20 00:36:12 UTC
This is with a Creative Soundblaster 16 on an AMD64 system (running Kubuntu-i386).
Comment 5 Philip Rodrigues 2005-10-20 13:32:02 UTC
Try the tips here and report your results:
http://docs.kde.org/development/en/kdebase/faq/sound.html

Also, create a new user, and run artsd with that user. Does the problem persist?
Comment 6 Raphaël Pinson 2005-10-20 13:43:10 UTC
I created a new user and launched KDE for this user, and it still won't work.
Comment 7 Maksim Orlovich 2005-10-20 16:23:25 UTC
GLIBCXX_FORCE_NEW=1 before starting aRts


*** This bug has been marked as a duplicate of 111115 ***