artsd crashes (segv) daily. No apparent cause.

Bug #3737 reported by zcat
62
Affects Status Importance Assigned to Milestone
arts (Ubuntu)
Fix Released
Medium
Kubuntu Bugs

Bug Description

artsd runs normally most of the time but segfaults about once a day. Doesn't seem to depend on any specific program, happens when in screensaver (phosphor) and not even playing sound.

possible complicating factor; there's a background process (festival -tts) that occasionally tries to use /dev/dsp directly (and should just fail with device-busy)

Versions and drivers;

2.6.12-9-686, artsd 1.4.3, snd_ens1370, snd_rawmidi, snd_seq_device, snd_pcm_oss, snd_mixer_oss, snd_pcm,snd_timer, snd_ak4531_codec

Backtrace from KDE crash handler;

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)
[Thread debugging using libthread_db enabled]
[New Thread -1219340608 (LWP 3949)]
(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)
(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]
#28 0xb78b49d3 in snd_pcm_direct_check_interleave ()
   from /usr/lib/libasound.so.2
#29 0xb78b669d in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#30 0xb78b67b3 in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#31 0xb787f4e9 in snd_pcm_poll_descriptors_revents ()
   from /usr/lib/libasound.so.2
#32 0xb789c2bd in _snd_pcm_rate_open () from /usr/lib/libasound.so.2
#33 0xb787f4e9 in snd_pcm_poll_descriptors_revents ()
   from /usr/lib/libasound.so.2
#34 0xb7df79fd in Arts::AudioIOALSA::notifyIO ()
   from /usr/lib/libartsflow.so.1
#35 0xb798a236 in Arts::StdIOManager::processOneEvent ()
   from /usr/lib/libmcop.so.1
#36 0xb79681d4 in Arts::StdIOManager::run () from /usr/lib/libmcop.so.1
#37 0xb7968093 in Arts::Dispatcher::run () from /usr/lib/libmcop.so.1
#38 0x0805fd1d in ?? ()
#39 0xbfa81920 in ?? ()
#40 0x0000003b in ?? ()
#41 0x00000000 in ?? ()
#42 0xb7920895 in pthread_getspecific ()
   from /lib/tls/i686/cmov/libpthread.so.0
#43 0xb7b59ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#44 0x080548a1 in ?? ()

Revision history for this message
Daniel Holbach (dholbach) wrote :

Thanks for the bug repoirt. If this reproducible, could you please try to follow the instructions on http://wiki.ubuntu.com/DebuggingProgramCrash and post the backtrace with debug symbols here?

Changed in arts:
assignee: nobody → kubuntu-team
Revision history for this message
zcat (zcat) wrote : Re: artsd crashes (segv) frequently. Usually while idle.

Have followed those instructions and I think I've rebuilt/installed artsd with debugging symbols; not sure if the rest applies here since kde starts artsd and presumably the crash handler is supposed to deal with backtracing and stuff. If I have to restart artsd manually each time I log in I'll probably never remember to do it :-(. I'm wondering if I need to rebuild some of these libs with debugging symbols too?

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)
[Thread debugging using libthread_db enabled]
[New Thread -1218849088 (LWP 13573)]
(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)
(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]
#28 0xb792c9d3 in snd_pcm_direct_check_interleave ()
   from /usr/lib/libasound.so.2
#29 0xb792e69d in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#30 0xb792e7b3 in _snd_pcm_dmix_open () from /usr/lib/libasound.so.2
#31 0xb78f74e9 in snd_pcm_poll_descriptors_revents ()
   from /usr/lib/libasound.so.2
#32 0xb79142bd in _snd_pcm_rate_open () from /usr/lib/libasound.so.2
#33 0xb78f74e9 in snd_pcm_poll_descriptors_revents ()
   from /usr/lib/libasound.so.2
#34 0xb7e6f9fd in Arts::AudioIOALSA::notifyIO ()
   from /usr/lib/libartsflow.so.1
#35 0xb7a02236 in Arts::StdIOManager::processOneEvent ()
   from /usr/lib/libmcop.so.1
#36 0xb79e01d4 in Arts::StdIOManager::run () from /usr/lib/libmcop.so.1
#37 0xb79e0093 in Arts::Dispatcher::run () from /usr/lib/libmcop.so.1
#38 0x0805fd1d in ?? ()
#39 0xbfefb8e0 in ?? ()
#40 0x0000003b in ?? ()
#41 0x00000000 in ?? ()
#42 0xb7998895 in pthread_getspecific ()
   from /lib/tls/i686/cmov/libpthread.so.0
#43 0xb7bd1ea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#44 0x080548a1 in ?? ()

Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

Interestingly this has just started happening to me as well - I'm not sure if its the same crash or not; in my case I suspect it occurs when two seperate sound sources try and access it - in particular two flash's in two mozilla's - but I can't be sure.

Here is my 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)
[Thread debugging using libthread_db enabled]
[New Thread -1219647808 (LWP 10321)]
(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)
(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]
#42 0xb7d9f60d in Arts::Synth_MULTI_ADD_impl::calculateBlock ()
   from /usr/lib/libartsflow.so.1
#43 0xb7d9e5b0 in Arts::StdScheduleNode::gslProcess ()
   from /usr/lib/libartsflow.so.1
#44 0xb7e24eb1 in _engine_master_dispatch_jobs ()
   from /usr/lib/libartsflow.so.1
#45 0xb7e25214 in _engine_master_dispatch () from /usr/lib/libartsflow.so.1
#46 0xb7e22497 in gsl_engine_dispatch () from /usr/lib/libartsflow.so.1
#47 0xb7dc46d8 in Arts::StdScheduleNode::requireFlow ()
   from /usr/lib/libartsflow.so.1
#48 0xb7dc4fa8 in Arts::Synth_PLAY_impl::needMore ()
   from /usr/lib/libartsflow.so.1
#49 0xb7dac6a7 in Arts::AudioSubSystem::handleIO ()
   from /usr/lib/libartsflow.so.1
#50 0xb7dac974 in Arts::AudioIOALSA::notifyIO ()
   from /usr/lib/libartsflow.so.1
#51 0xb793f236 in Arts::StdIOManager::processOneEvent ()
   from /usr/lib/libmcop.so.1
#52 0xb791d1d4 in Arts::StdIOManager::run () from /usr/lib/libmcop.so.1
#53 0xb791d093 in Arts::Dispatcher::run () from /usr/lib/libmcop.so.1
#54 0x0805fd1d in ?? ()
#55 0xbfc36020 in ?? ()
#56 0x0000003c in ?? ()
#57 0x00000000 in ?? ()
#58 0xb78d5895 in pthread_getspecific ()
   from /lib/tls/i686/cmov/libpthread.so.0
#59 0xb7b0eea2 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#60 0x080548a1 in ?? ()

Revision history for this message
Kenny Duffus (kduffus) wrote :

Please could you update your machine and report if you still et this problem?

Changed in arts:
status: Unconfirmed → Needs Info
Revision history for this message
zcat (zcat) wrote :

It hasn't happened for a long time now, so I suspect this problem has been resolved.

Revision history for this message
Kenny Duffus (kduffus) wrote :

thanks for checking

Changed in arts:
status: Needs Info → Fix Released
Revision history for this message
Massa (hmassa) wrote :

Happens to me also, and while I'm in the screensaver (blank screen)... Detail: I keep two user sessions (one for me in vt9 and one for my wife in vt10 at the same time -- both KDE sessions)

Revision history for this message
obxjdt (mrxcg) wrote :

Seems to happen to me when ever I run any 3D apps. Screensaver or gaming. I just tried to run "glxgears" in the term, and it crashed X....Twice....
I'm using the Nvidia driver 9639 on Nvidia MX-4000. Manualy installed, not with Envy.
Guess I'll try reinstalling it with Envy and see if it still crashes. If so, I'll start a new bug thread with my crash report.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.