big movie file in totem causes "Python error: PyEval_SaveThread: NULL tstate"

Bug #438982 reported by Martin Olsson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python2.6 (Ubuntu)
New
Undecided
Unassigned
totem (Ubuntu)
Incomplete
Low
Unassigned

Bug Description

Binary package hint: totem

Repro steps:
1. get http://www.archive.org/download/Sita_Sings_the_Blues/Sita_Sings_the_Blues_720p.mp4
2. gdb --args totem Sita_Sings_the_Blues_720p.mp4
3. Fatal Python error: PyEval_SaveThread: NULL tstate

---

$ gdb --args totem Sita_Sings_the_Blues_720p.mp4
Reading symbols from /usr/bin/totem...(no debugging symbols found)...done.
(gdb) r
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffe8d33910 (LWP 2784)]
[New Thread 0x7fffe7ad9910 (LWP 2785)]
[New Thread 0x7fffe0960910 (LWP 2786)]
[New Thread 0x7fffdb81d910 (LWP 2787)]
[New Thread 0x7fffda559910 (LWP 2788)]
[New Thread 0x7fffd6439910 (LWP 2789)]
[New Thread 0x7fffd581c910 (LWP 2790)]
[New Thread 0x7fffd0954910 (LWP 2791)]
[Thread 0x7fffd0954910 (LWP 2791) exited]
[New Thread 0x7fffd0954910 (LWP 2793)]
Fatal Python error: PyEval_SaveThread: NULL tstate

Program received signal SIGABRT, Aborted.
0x00007ffff17f74b5 in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffff17f74b5 in raise () from /lib/libc.so.6
#1 0x00007ffff17faf50 in abort () from /lib/libc.so.6
#2 0x00007ffff5b0cc5e in Py_FatalError (msg=<value optimized out>) at ../Python/pythonrun.c:1657
#3 0x00007ffff5ae80ec in PyEval_SaveThread () at ../Python/ceval.c:318
#4 0x00007fffe634003d in ?? () from /usr/lib/pymodules/python2.6/gtk-2.0/gobject/_gobject.so
#5 0x00007ffff5a8b12b in dict_dealloc (mp=0x17c5b60) at ../Objects/dictobject.c:911
#6 0x00007fffe633ffed in ?? () from /usr/lib/pymodules/python2.6/gtk-2.0/gobject/_gobject.so
#7 0x00007ffff5aa8515 in subtype_dealloc (self=0x117d640) at ../Objects/typeobject.c:1024
#8 0x000000000045457c in ?? ()
#9 0x00007ffff302657f in IA__g_object_unref (_object=<value optimized out>) at /build/buildd/glib2.0-2.22.0/gobject/gobject.c:2421
#10 0x0000000000451bcf in ?? ()
#11 0x00007ffff2b795c2 in g_hash_table_remove_all_nodes (hash_table=0xc77450, notify=1) at /build/buildd/glib2.0-2.22.0/glib/ghash.c:374
#12 0x00007ffff2b79e08 in IA__g_hash_table_remove_all (hash_table=0xc77450) at /build/buildd/glib2.0-2.22.0/glib/ghash.c:1052
#13 0x00007ffff2b79fb5 in IA__g_hash_table_destroy (hash_table=0xadc) at /build/buildd/glib2.0-2.22.0/glib/ghash.c:759
#14 0x0000000000451b02 in totem_plugins_engine_shutdown ()
#15 0x0000000000427ba1 in totem_action_exit ()
#16 0x00000000004284cc in main_window_destroy_cb ()
#17 0x00007ffff48b5488 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00007ffff302460e in IA__g_closure_invoke (closure=0x8bb660, return_value=0x7fffffffdcf0, n_param_values=2, param_values=0xcd1360, invocation_hint=0x7fffffffdcb0) at /build/buildd/glib2.0-2.22.0/gobject/gclosure.c:767
#19 0x00007ffff3039933 in signal_emit_unlocked_R (node=0x869e10, detail=<value optimized out>, instance=<value optimized out>, emission_return=<value optimized out>, instance_and_params=<value optimized out>) at /build/buildd/glib2.0-2.22.0/gobject/gsignal.c:3247
#20 0x00007ffff303ab7c in IA__g_signal_emit_valist (instance=0x83c9b0, signal_id=<value optimized out>, detail=0, var_args=0x7fffffffdea0) at /build/buildd/glib2.0-2.22.0/gobject/gsignal.c:2990
#21 0x00007ffff303b233 in IA__g_signal_emit (instance=0xadc, signal_id=2780, detail=6) at /build/buildd/glib2.0-2.22.0/gobject/gsignal.c:3037
#22 0x00007ffff49bc34f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007ffff48aed8a in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00007ffff4523b4c in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#25 0x00007ffff2b87bbe in g_main_dispatch (context=0x840380) at /build/buildd/glib2.0-2.22.0/glib/gmain.c:1960
#26 IA__g_main_context_dispatch (context=0x840380) at /build/buildd/glib2.0-2.22.0/glib/gmain.c:2513
#27 0x00007ffff2b8b588 in g_main_context_iterate (context=0x840380, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.22.0/glib/gmain.c:2591
#28 0x00007ffff2b8b9e5 in IA__g_main_loop_run (loop=0x7fffdc025100) at /build/buildd/glib2.0-2.22.0/glib/gmain.c:2799
#29 0x00007ffff48aefc7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x000000000042233b in main ()
(gdb)

ProblemType: Bug
Architecture: amd64
Date: Tue Sep 29 22:41:32 2009
DistroRelease: Ubuntu 9.10
Package: totem 2.28.0-0ubuntu1
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: totem
Uname: Linux 2.6.31-11-generic x86_64

Revision history for this message
Martin Olsson (mnemo) wrote :
affects: python-defaults (Ubuntu) → python2.6 (Ubuntu)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could you describe what you do to trigger the bug?

Changed in totem (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Martin Olsson (mnemo) wrote :

Step by step instructions on how to trigger the bug is already present in the description.

Changed in totem (Ubuntu):
status: Incomplete → Confirmed
tags: added: crash
Revision history for this message
Sebastien Bacher (seb128) wrote :

the description doesn't state if the crashes happens immediatly or at the end of the file though

Changed in totem (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Sebastien Bacher (seb128) wrote :

the crash seems similar to bug #421318 which happens after playing or when closing

Revision history for this message
Martin Olsson (mnemo) wrote :

Ah sorry the correct repro steps are (for some reason I cant edit the description right now due to some LP JSON bug):

1. wget http://www.archive.org/download/Sita_Sings_the_Blues/Sita_Sings_the_Blues_720p.mp4
2. gdb --args totem Sita_Sings_the_Blues_720p.mp4
3. wait a few seconds
4. close totem
5. Fatal Python error: PyEval_SaveThread: NULL tstate

Revision history for this message
Martin Olsson (mnemo) wrote :

btw I found this issue when I was playing around with bug #397192 (even though this bug is in nautilus), but anyway bug #421318 looks very similar to this one. maybe it should be marked as a dupe.

Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug is a duplicate your description was indeed lacking details, it's crashing on closing

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.