GNOME Bugzilla – Bug 343783
Application sometimes crashes on pause
Last modified: 2007-01-21 23:43:28 UTC
Distribution: Fedora Core release 5 (Bordeaux) Package: totem Severity: Normal Version: GNOME2.14.1 1.4.0 Gnome-Distributor: Red Hat, Inc Synopsis: Application sometimes crashes on pause Bugzilla-Product: totem Bugzilla-Component: general Bugzilla-Version: 1.4.0 BugBuddy-GnomeVersion: 2.0 (2.14.1) Description: Description of the crash: Pressing the space button to pause video sometimes causes the application to crash. Steps to reproduce the crash: 1. Play video 2. Press space to pause 3. Repeat until crash. How often does this happen? Every few viewings of a video. Additional Information: This may be an issue caused by viewing video files over a network mount with mount.cifs. Debugging Information: Backtrace was generated from '/usr/bin/totem' (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (no debugging symbols found) `shared object read from target memory' has disappeared; keeping its symbols. (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread -1209043264 (LWP 17147)] [New Thread -1278973024 (LWP 17158)] [New Thread -1262208096 (LWP 17157)] [New Thread -1251718240 (LWP 17156)] [New Thread 145308576 (LWP 17155)] [New Thread 89783200 (LWP 17154)] [New Thread 54537120 (LWP 17153)] [New Thread 31161248 (LWP 17150)] [New Thread 67951520 (LWP 17149)] [New Thread -1239766112 (LWP 17148)] (no debugging symbols found) 0x00b72410 in __kernel_vsyscall ()
+ Trace 68627
Thread 6 (Thread 89783200 (LWP 17154))
------- Bug created by bug-buddy at 2006-06-03 19:56 ------- Unknown version 1.4.0 in product totem. Setting version to "1.4.x".
Thanks for the bug report. Unfortunately, that stack trace is not very useful at all in determining the cause of the crash. Can you get us one with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so.
Created attachment 66763 [details] Stacktrace with debuginfo Please find debuginfo attached as per request.
+ Trace 68666
This is a crash in ALSA, not Totem. Please attach the the output of Totem when launched on the command-line.
*** Bug 343720 has been marked as a duplicate of this bug. ***
I'm getting the following assertion error: totem: pcm.c:890: snd_pcm_state: Assertion `pcm' failed.
Bastian: this is not a Gnome problem then, but an ALSA problem, I assume.
Yes, it looks like an ALSA problem. Ricardo, can you replicate the crash at will?
Yes, it occurs after I pause a playing video every few times.
*** Bug 356099 has been marked as a duplicate of this bug. ***
I note this bug is still extant. Should it be reported to ALSA? What is the next step?
a good trace with debugging symbols would be of great help. please see Please see http://live.gnome.org/GettingTraces please install alsa and xine debugging packages
Created attachment 72862 [details] Stacktrace with totem-xine, xine-lib and alsa-lib debuginfo Requested stacktrace attached. Please let me know if this is satisfactory.
last trace seems to be useful, thanks. Yes this should be reported to the ALSA people.
+ Trace 72497
Marking this report NOTGNOME.
It's not clear what exactly should be reported to the ASLA team. Will they be satisfied with just a stack trace?
you can point in their bug report to this bug report which already contains quite some useful information. you should start your report by describing how you can trigger the crash and by pasting the latest stack trace there.
This is a xine bug, not alsa. xine calls snd_pcm_state(pcm=0x0), and alsa asserts on the prerequisite pcm != NULL, which is kinda harsh for those of us used to g_return_val_if_fail(), but nevertheless completely valid.
Created alsa-lib bug report here: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2456
The ALSA devs just closed the above bug as "won't fix." They said "An application should not pass NULL (invalid) pointer to the snd_pcm_state() function." Can we mark this bug as still outstanding and remove the NOTGNOME flag?
(In reply to comment #18) > The ALSA devs just closed the above bug as "won't fix." They said "An > application should not pass NULL (invalid) pointer to the snd_pcm_state() > function." Which is what Ronald said in comment 16 > Can we mark this bug as still outstanding and remove the NOTGNOME flag? No, it's a bug in xine-lib, not in Totem.
(In reply to comment #19) > No, it's a bug in xine-lib, not in Totem. If you could explain why you think so in the ALSA bug report above this might help resolve the stalemate.
Apologies, ignore my last remark. I will report this bug with the Xine project.
Bug reported here: http://sourceforge.net/tracker/index.php?func=detail&aid=1567593&group_id=9655&atid=109655
*** Bug 361226 has been marked as a duplicate of this bug. ***
*** Bug 364809 has been marked as a duplicate of this bug. ***
*** Bug 365563 has been marked as a duplicate of this bug. ***
*** Bug 366627 has been marked as a duplicate of this bug. ***
*** Bug 369797 has been marked as a duplicate of this bug. ***
*** Bug 372036 has been marked as a duplicate of this bug. ***
*** Bug 373130 has been marked as a duplicate of this bug. ***
*** Bug 373693 has been marked as a duplicate of this bug. ***
*** Bug 373957 has been marked as a duplicate of this bug. ***
*** Bug 374067 has been marked as a duplicate of this bug. ***
*** Bug 376145 has been marked as a duplicate of this bug. ***
*** Bug 377353 has been marked as a duplicate of this bug. ***
*** Bug 377261 has been marked as a duplicate of this bug. ***
*** Bug 372317 has been marked as a duplicate of this bug. ***
*** Bug 375609 has been marked as a duplicate of this bug. ***
*** Bug 377129 has been marked as a duplicate of this bug. ***
*** Bug 377133 has been marked as a duplicate of this bug. ***
*** Bug 378341 has been marked as a duplicate of this bug. ***
*** Bug 378894 has been marked as a duplicate of this bug. ***
*** Bug 379024 has been marked as a duplicate of this bug. ***
*** Bug 379068 has been marked as a duplicate of this bug. ***
*** Bug 379200 has been marked as a duplicate of this bug. ***
*** Bug 379210 has been marked as a duplicate of this bug. ***
*** Bug 379236 has been marked as a duplicate of this bug. ***
*** Bug 380869 has been marked as a duplicate of this bug. ***
*** Bug 380880 has been marked as a duplicate of this bug. ***
*** Bug 381380 has been marked as a duplicate of this bug. ***
*** Bug 381545 has been marked as a duplicate of this bug. ***
*** Bug 381944 has been marked as a duplicate of this bug. ***
*** Bug 383712 has been marked as a duplicate of this bug. ***
*** Bug 385172 has been marked as a duplicate of this bug. ***
*** Bug 385468 has been marked as a duplicate of this bug. ***
*** Bug 385976 has been marked as a duplicate of this bug. ***
*** Bug 385825 has been marked as a duplicate of this bug. ***
*** Bug 385865 has been marked as a duplicate of this bug. ***
*** Bug 386548 has been marked as a duplicate of this bug. ***
*** Bug 386578 has been marked as a duplicate of this bug. ***
*** Bug 387025 has been marked as a duplicate of this bug. ***
*** Bug 387052 has been marked as a duplicate of this bug. ***
*** Bug 387379 has been marked as a duplicate of this bug. ***
*** Bug 387479 has been marked as a duplicate of this bug. ***
*** Bug 387596 has been marked as a duplicate of this bug. ***
*** Bug 387670 has been marked as a duplicate of this bug. ***
*** Bug 387703 has been marked as a duplicate of this bug. ***
*** Bug 386431 has been marked as a duplicate of this bug. ***
*** Bug 384440 has been marked as a duplicate of this bug. ***
*** Bug 383799 has been marked as a duplicate of this bug. ***
*** Bug 387269 has been marked as a duplicate of this bug. ***
*** Bug 389487 has been marked as a duplicate of this bug. ***
*** Bug 389578 has been marked as a duplicate of this bug. ***
*** Bug 390334 has been marked as a duplicate of this bug. ***
*** Bug 392683 has been marked as a duplicate of this bug. ***
*** Bug 393235 has been marked as a duplicate of this bug. ***
*** Bug 393282 has been marked as a duplicate of this bug. ***
*** Bug 393335 has been marked as a duplicate of this bug. ***
*** Bug 393576 has been marked as a duplicate of this bug. ***
*** Bug 394058 has been marked as a duplicate of this bug. ***
*** Bug 396011 has been marked as a duplicate of this bug. ***
*** Bug 397676 has been marked as a duplicate of this bug. ***
*** Bug 399193 has been marked as a duplicate of this bug. ***