After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 593967 - Fatal error in PyEval_SaveThread
Fatal error in PyEval_SaveThread
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: Plugins
unspecified
Other All
: Normal critical
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
: 594260 596788 596820 597821 599366 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-09-02 21:14 UTC by Lucas Pretre
Modified: 2009-10-23 07:18 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Lucas Pretre 2009-09-02 21:14:50 UTC
Version: 2.26.2

What were you doing when the application crashed?
Closing movie player (totem)


Distribution: Debian squeeze/sid
Gnome Release: 2.26.1 2009-04-14 (Debian)
BugBuddy Version: 2.26.0

System: Linux 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10402000
Selinux: No
Accessibility: Disabled
GTK+ Theme: SphereCrystal
Icon Theme: yasis
GTK+ Modules: gnomebreakpad, canberra-gtk-module

Memory status: size: 163205120 vsize: 163205120 resident: 45232128 share: 20467712 rss: 45232128 rss_rlim: 18446744073709551615
CPU usage: start_time: 1251924666 rtime: 11691 utime: 10934 stime: 757 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/totem-gstreamer'

[Thread debugging using libthread_db enabled]
[New Thread 0xb0507b90 (LWP 32538)]
[New Thread 0xb12ffb90 (LWP 32534)]
[New Thread 0xb4d6cb90 (LWP 32299)]
[New Thread 0xb2851b90 (LWP 29144)]
[New Thread 0xb34a8b90 (LWP 29143)]
[New Thread 0xb5679b90 (LWP 29139)]
0xb7f69424 in __kernel_vsyscall ()

Thread 1 (Thread 0xb68cc760 (LWP 29137))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/i686/cmov/libpthread.so.0
  • #2 IA__g_spawn_sync
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/glib/gspawn.c line 382
  • #3 IA__g_spawn_command_line_sync
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/glib/gspawn.c line 694
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 <signal handler called>
  • #6 __kernel_vsyscall
  • #7 raise
    from /lib/i686/cmov/libc.so.6
  • #8 abort
    from /lib/i686/cmov/libc.so.6
  • #9 Py_FatalError
    at ../Python/pythonrun.c line 1561
  • #10 PyEval_SaveThread
    at ../Python/ceval.c line 316
  • #11 ??
    from /usr/lib/pymodules/python2.5/gtk-2.0/gobject/_gobject.so
  • #12 dict_dealloc
    at ../Objects/dictobject.c line 855
  • #13 ??
    from /usr/lib/pymodules/python2.5/gtk-2.0/gobject/_gobject.so
  • #14 subtype_dealloc
    at ../Objects/typeobject.c line 709
  • #15 totem_python_object_finalize
    at /build/buildd-totem_2.26.2-2-i386-S3wVLo/totem-2.26.2/src/plugins/totem-python-plugin.c line 218
  • #16 IA__g_object_unref
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/gobject/gobject.c line 2421
  • #17 totem_plugin_info_free
    at /build/buildd-totem_2.26.2-2-i386-S3wVLo/totem-2.26.2/src/plugins/totem-plugins-engine.c line 415
  • #18 g_hash_table_remove_all_nodes
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/glib/ghash.c line 374
  • #19 IA__g_hash_table_remove_all
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/glib/ghash.c line 1051
  • #20 IA__g_hash_table_destroy
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/glib/ghash.c line 758
  • #21 totem_plugins_engine_shutdown
    at /build/buildd-totem_2.26.2-2-i386-S3wVLo/totem-2.26.2/src/plugins/totem-plugins-engine.c line 445
  • #22 totem_object_plugins_shutdown
    at /build/buildd-totem_2.26.2-2-i386-S3wVLo/totem-2.26.2/src/totem-object.c line 354
  • #23 totem_action_exit
    at /build/buildd-totem_2.26.2-2-i386-S3wVLo/totem-2.26.2/src/totem-object.c line 863
  • #24 main_window_destroy_cb
    at /build/buildd-totem_2.26.2-2-i386-S3wVLo/totem-2.26.2/src/totem-object.c line 920
  • #25 _gtk_marshal_BOOLEAN__BOXED
    at /build/buildd-gtk+2.0_2.16.5-1-i386-FXZUi1/gtk+2.0-2.16.5/gtk/gtkmarshalers.c line 84
  • #26 IA__g_closure_invoke
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/gobject/gclosure.c line 767
  • #27 signal_emit_unlocked_R
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/gobject/gsignal.c line 3247
  • #28 IA__g_signal_emit_valist
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/gobject/gsignal.c line 2990
  • #29 IA__g_signal_emit
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/gobject/gsignal.c line 3037
  • #30 gtk_widget_event_internal
    at /build/buildd-gtk+2.0_2.16.5-1-i386-FXZUi1/gtk+2.0-2.16.5/gtk/gtkwidget.c line 4764
  • #31 IA__gtk_main_do_event
    at /build/buildd-gtk+2.0_2.16.5-1-i386-FXZUi1/gtk+2.0-2.16.5/gtk/gtkmain.c line 1534
  • #32 gdk_event_dispatch
    at /build/buildd-gtk+2.0_2.16.5-1-i386-FXZUi1/gtk+2.0-2.16.5/gdk/x11/gdkevents-x11.c line 2367
  • #33 g_main_dispatch
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/glib/gmain.c line 1824
  • #34 IA__g_main_context_dispatch
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/glib/gmain.c line 2377
  • #35 g_main_context_iterate
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/glib/gmain.c line 2455
  • #36 IA__g_main_loop_run
    at /build/buildd-glib2.0_2.20.4-1-i386-6KfM1O/glib2.0-2.20.4/glib/gmain.c line 2663
  • #37 IA__gtk_main
    at /build/buildd-gtk+2.0_2.16.5-1-i386-FXZUi1/gtk+2.0-2.16.5/gtk/gtkmain.c line 1205
  • #38 main
    at /build/buildd-totem_2.26.2-2-i386-S3wVLo/totem-2.26.2/src/totem.c line 281




----------- .xsession-errors (1627 sec old) ---------------------
(firefox-bin:14851): Gdk-WARNING **: XID collision, trouble ahead
(firefox-bin:14851): Gdk-WARNING **: XID collision, trouble ahead
(firefox-bin:14851): Gdk-WARNING **: XID collision, trouble ahead
(firefox-bin:14851): Gdk-WARNING **: XID collision, trouble ahead
(firefox-bin:14851): Gdk-WARNING **: XID collision, trouble ahead
(firefox-bin:14851): Gdk-WARNING **: XID collision, trouble ahead
(firefox-bin:14851): Gdk-WARNING **: XID collision, trouble ahead
...Too much output, ignoring rest...
--------------------------------------------------
Comment 1 Sebastien Bacher 2009-09-11 08:48:53 UTC
*** Bug 594260 has been marked as a duplicate of this bug. ***
Comment 2 Sebastien Bacher 2009-09-11 08:50:11 UTC
There is a similar crash and several duplicates on https://bugs.launchpad.net/totem/+bug/421318, it started happening recently and doesn't match totem changes so it could be a pygtk issue
Comment 3 Philip Withnall 2009-09-12 15:54:29 UTC
(In reply to comment #2)
> There is a similar crash and several duplicates on
> https://bugs.launchpad.net/totem/+bug/421318, it started happening recently and
> doesn't match totem changes so it could be a pygtk issue

Agreed.
Comment 4 Fabio Durán Verdugo 2009-09-29 21:27:08 UTC
*** Bug 596788 has been marked as a duplicate of this bug. ***
Comment 5 Philip Withnall 2009-09-30 07:52:25 UTC
*** Bug 596820 has been marked as a duplicate of this bug. ***
Comment 6 Tim-Philipp Müller 2009-10-01 12:32:51 UTC
This was actually a bug in totem's python plugin loader. This should fix it:

 commit 11d6c1ba5a3fad3bfb34d44e0a4205025c6c5b69
 Author: Alessandro Decina <alessandro.decina@collabora.co.uk>
 Date:   Wed Sep 30 18:33:48 2009 +0100

    totem-python-plugin: ensure and release GIL before unrefing python object
    
    Should fix 'Fatal Python error: PyEval_SaveThread: NULL tstate' error
    when closing totem with the BBC plugin loaded. Might happen with other
    python plugins as well.
    
    Fixes #593967.
Comment 7 Philip Withnall 2009-10-08 19:44:41 UTC
*** Bug 597821 has been marked as a duplicate of this bug. ***
Comment 8 Philip Withnall 2009-10-23 07:18:15 UTC
*** Bug 599366 has been marked as a duplicate of this bug. ***