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 597198 - Totem hangs while loading a video with .srt sub from nautilus
Totem hangs while loading a video with .srt sub from nautilus
Status: RESOLVED DUPLICATE of bug 600479
Product: GStreamer
Classification: Platform
Component: dont know
0.10.x
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-03 11:52 UTC by abujafar
Modified: 2009-11-06 14:18 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Test file (30.40 KB, application/x-subrip)
2009-10-22 09:46 UTC, abujafar
Details

Description abujafar 2009-10-03 11:52:11 UTC
I have just upgraded to karmic beta1.
When the option "automatically load subtitle files when movie is loaded" is enabled, totem stops responding while loading a video with subtitle file. If the option is disabled and the subtitle file is specified manually it works.
The program doesn't crash, it sticks on loading (the window is unresponsive) and i have to force quit (kill the application). In this way a crash report is not produced.

It seems that this bug shows up only during the program startup from nautilus.
Comment 1 Bastien Nocera 2009-10-03 12:58:24 UTC
Could you please get a stack trace of the hang using gdb when the application is hung?

If you want to use bug-buddy, make sure you have the debug packages installed and launch "killall -SEGV totem"
Comment 2 abujafar 2009-10-03 14:07:16 UTC
using "killall -SEGV totem" Ubuntu's apport is triggered.

I have produced this bug report on launchpad:
https://bugs.launchpad.net/totem/+bug/441396
Comment 3 Bastien Nocera 2009-10-03 14:12:48 UTC
No permissions, attach the trace here please.
Comment 4 abujafar 2009-10-03 14:43:37 UTC
File too big to upload, grab here: 
http://www.lost-prophet.net/storage/apport.tar.gz
Comment 5 abujafar 2009-10-03 20:42:06 UTC
i would like to point out that this problem appears only while starting the program from nautilus. If the option "automatically load subtitle files when movie is loaded" is enabled and i add movies from Totem's movie->open menu, it works.

Bastien, are you able to reproduce the problem?
Comment 6 Bastien Nocera 2009-10-03 23:52:12 UTC
Please attach the backtrace of the hang to this bug, I don't need the rest of the data.
Comment 7 abujafar 2009-10-04 09:47:05 UTC
Could you please tell me exactly what to do and I'll do it.
Comment 8 abujafar 2009-10-05 23:37:48 UTC
The bug on launchpad is now public.
Comment 9 Pedro Villavicencio 2009-10-08 16:16:22 UTC
Backtrace:

"Thread 9 (Thread 0xb6e2eb70 (LWP 8430)):

Thread 7 (Thread 0xb5b84b70 (LWP 8432))

  • #0 __kernel_vsyscall
  • #1 __lll_lock_wait
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 _L_lock_752
    from /lib/tls/i686/cmov/libpthread.so.0
  • #3 pthread_mutex_lock
    from /lib/tls/i686/cmov/libpthread.so.0
  • #4 gst_object_get_parent
    at gstobject.c line 830
  • #5 gst_object_dispatch_properties_changed
    at gstobject.c line 527
  • #6 g_object_notify_dispatcher
    at /build/buildd/glib2.0-2.22.2/gobject/gobject.c line 326
  • #7 g_object_notify_queue_thaw
    at /build/buildd/glib2.0-2.22.2/gobject/gobjectnotifyqueue.c line 120
  • #8 IA__g_object_notify
    at /build/buildd/glib2.0-2.22.2/gobject/gobject.c line 883
  • #9 on_src_target_notify
    at gstghostpad.c line 748
  • #10 IA__g_cclosure_marshal_VOID__PARAM
    at /build/buildd/glib2.0-2.22.2/gobject/gmarshal.c line 531
  • #11 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.22.2/gobject/gclosure.c line 767
  • #12 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.22.2/gobject/gsignal.c line 3247
  • #13 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.22.2/gobject/gsignal.c line 2980
  • #14 IA__g_signal_emit
    at /build/buildd/glib2.0-2.22.2/gobject/gsignal.c line 3037
  • #15 g_object_dispatch_properties_changed
    at /build/buildd/glib2.0-2.22.2/gobject/gobject.c line 796
  • #16 gst_object_dispatch_properties_changed
    at gstobject.c line 509
  • #17 g_object_notify_dispatcher
    at /build/buildd/glib2.0-2.22.2/gobject/gobject.c line 326
  • #18 g_object_notify_queue_thaw
    at /build/buildd/glib2.0-2.22.2/gobject/gobjectnotifyqueue.c line 120
  • #19 IA__g_object_notify
    at /build/buildd/glib2.0-2.22.2/gobject/gobject.c line 883
  • #20 gst_pad_set_caps
    at gstpad.c line 2540
  • #21 handle_buffer
    at gstsubparse.c line 1334
  • #22 gst_sub_parse_chain
    at gstsubparse.c line 1432
  • #23 gst_pad_chain_data_unchecked
    at gstpad.c line 4042
  • #24 gst_pad_push_data
    at gstpad.c line 4271
  • #25 gst_type_find_element_chain
    at gsttypefindelement.c line 698
  • #26 gst_pad_chain_data_unchecked
    at gstpad.c line 4042
  • #27 gst_pad_push_data
    at gstpad.c line 4271
  • #28 gst_proxy_pad_do_chain
    at gstghostpad.c line 179
  • #29 gst_pad_chain_data_unchecked
    at gstpad.c line 4042
  • #30 gst_pad_push_data
    at gstpad.c line 4271
  • #31 gst_base_src_loop
    at gstbasesrc.c line 2323
  • #32 gst_task_func
    at gsttask.c line 234
  • #33 default_func
    at gsttaskpool.c line 70
  • #34 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.22.2/glib/gthreadpool.c line 265
  • #35 g_thread_create_proxy
    at /build/buildd/glib2.0-2.22.2/glib/gthread.c line 635
  • #36 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #37 clone
    from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb41fdb70 (LWP 8435))

  • #0 __kernel_vsyscall
  • #1 __lll_lock_wait
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 _L_lock_752
    from /lib/tls/i686/cmov/libpthread.so.0
  • #3 pthread_mutex_lock
    from /lib/tls/i686/cmov/libpthread.so.0
  • #4 selector_active_pad_changed
    at gstplaybin2.c line 1834
  • #5 IA__g_cclosure_marshal_VOID__PARAM
    at /build/buildd/glib2.0-2.22.2/gobject/gmarshal.c line 531
  • #6 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.22.2/gobject/gclosure.c line 767
  • #7 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.22.2/gobject/gsignal.c line 3247
  • #8 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.22.2/gobject/gsignal.c line 2980
  • #9 IA__g_signal_emit
    at /build/buildd/glib2.0-2.22.2/gobject/gsignal.c line 3037
  • #10 g_object_dispatch_properties_changed
    at /build/buildd/glib2.0-2.22.2/gobject/gobject.c line 796
  • #11 gst_object_dispatch_properties_changed
    at gstobject.c line 509
  • #12 g_object_notify_dispatcher
    at /build/buildd/glib2.0-2.22.2/gobject/gobject.c line 326
  • #13 g_object_notify_queue_thaw
    at /build/buildd/glib2.0-2.22.2/gobject/gobjectnotifyqueue.c line 120
  • #14 IA__g_object_notify
    at /build/buildd/glib2.0-2.22.2/gobject/gobject.c line 883
  • #15 gst_selector_pad_event
    at gstinputselector.c line 364
  • #16 gst_pad_send_event
    at gstpad.c line 4962
  • #17 gst_pad_push_event
    at gstpad.c line 4818
  • #18 gst_proxy_pad_do_event
    at gstghostpad.c line 128
  • #19 gst_pad_send_event
    at gstpad.c line 4962
  • #20 gst_pad_push_event
    at gstpad.c line 4818
  • #21 gst_proxy_pad_do_event
    at gstghostpad.c line 128
  • #22 gst_pad_send_event
    at gstpad.c line 4962
  • #23 gst_pad_push_event
    at gstpad.c line 4818
  • #24 ??
    from /usr/lib/gstreamer-0.10/libgstffmpeg.so
  • #25 gst_pad_send_event
    at gstpad.c line 4962
  • #26 gst_pad_push_event
    at gstpad.c line 4818
  • #27 gst_single_queue_push_one
    at gstmultiqueue.c line 772
  • #28 gst_multi_queue_loop
    at gstmultiqueue.c line 921
  • #29 gst_task_func
    at gsttask.c line 234
  • #30 default_func
    at gsttaskpool.c line 70
  • #31 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.22.2/glib/gthreadpool.c line 265
  • #32 g_thread_create_proxy
    at /build/buildd/glib2.0-2.22.2/glib/gthread.c line 635
  • #33 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #34 clone
    from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb39fcb70 (LWP 8436))

  • #0 __kernel_vsyscall
  • #1 __lll_lock_wait
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 _L_lock_752
    from /lib/tls/i686/cmov/libpthread.so.0
  • #3 pthread_mutex_lock
    from /lib/tls/i686/cmov/libpthread.so.0
  • #4 selector_active_pad_changed
    at gstplaybin2.c line 1834
  • #5 IA__g_cclosure_marshal_VOID__PARAM
    at /build/buildd/glib2.0-2.22.2/gobject/gmarshal.c line 531
  • #6 IA__g_closure_invoke
    at /build/buildd/glib2.0-2.22.2/gobject/gclosure.c line 767
  • #7 signal_emit_unlocked_R
    at /build/buildd/glib2.0-2.22.2/gobject/gsignal.c line 3247
  • #8 IA__g_signal_emit_valist
    at /build/buildd/glib2.0-2.22.2/gobject/gsignal.c line 2980
  • #9 IA__g_signal_emit
    at /build/buildd/glib2.0-2.22.2/gobject/gsignal.c line 3037
  • #10 g_object_dispatch_properties_changed
    at /build/buildd/glib2.0-2.22.2/gobject/gobject.c line 796
  • #11 gst_object_dispatch_properties_changed
    at gstobject.c line 509
  • #12 g_object_notify_dispatcher
    at /build/buildd/glib2.0-2.22.2/gobject/gobject.c line 326
  • #13 g_object_notify_queue_thaw
    at /build/buildd/glib2.0-2.22.2/gobject/gobjectnotifyqueue.c line 120
  • #14 IA__g_object_notify
    at /build/buildd/glib2.0-2.22.2/gobject/gobject.c line 883
  • #15 gst_selector_pad_event
    at gstinputselector.c line 364
  • #16 gst_pad_send_event
    at gstpad.c line 4962
  • #17 gst_pad_push_event
    at gstpad.c line 4818
  • #18 gst_proxy_pad_do_event
    at gstghostpad.c line 128
  • #19 gst_pad_send_event
    at gstpad.c line 4962
  • #20 gst_pad_push_event
    at gstpad.c line 4818
  • #21 gst_proxy_pad_do_event
    at gstghostpad.c line 128
  • #22 gst_pad_send_event
    at gstpad.c line 4962
  • #23 gst_pad_push_event
    at gstpad.c line 4818
  • #24 ??
    from /usr/lib/gstreamer-0.10/libgstmad.so
  • #25 gst_pad_send_event
    at gstpad.c line 4962
  • #26 gst_pad_push_event
    at gstpad.c line 4818
  • #27 ??
    from /usr/lib/gstreamer-0.10/libgstmpegaudioparse.so
  • #28 gst_pad_chain_data_unchecked
    at gstpad.c line 4042
  • #29 gst_pad_push_data
    at gstpad.c line 4271
  • #30 gst_single_queue_push_one
    at gstmultiqueue.c line 749
  • #31 gst_multi_queue_loop
    at gstmultiqueue.c line 921
  • #32 gst_task_func
    at gsttask.c line 234
  • #33 default_func
    at gsttaskpool.c line 70
  • #34 g_thread_pool_thread_proxy
    at /build/buildd/glib2.0-2.22.2/glib/gthreadpool.c line 265
  • #35 g_thread_create_proxy
    at /build/buildd/glib2.0-2.22.2/glib/gthread.c line 635
  • #36 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #37 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 10 Philip Withnall 2009-10-08 19:42:37 UTC
Deadlock in GStreamer.
Comment 11 abujafar 2009-10-17 09:27:08 UTC
news?
Comment 12 Sebastian Dröge (slomo) 2009-10-22 09:19:58 UTC
I can't reproduce this here with gstreamer/gst-plugins-base 0.10.25 + the decodebin2 changes from Ubuntu and totem 2.28.1.

Is there anything special about the file that is used? Does it happen for all files?
Comment 13 abujafar 2009-10-22 09:46:23 UTC
Created attachment 146024 [details]
Test file
Comment 14 abujafar 2009-10-22 09:49:02 UTC
It seems to happen with almost all sub files. However try the attached file and take a loot at launchpad thread too https://bugs.launchpad.net/totem/+bug/441396
Comment 15 Robin Stocker 2009-11-02 21:46:48 UTC
I just had a deadlock with git master of the gstreamer modules and an SRT which totem loaded automatically: Bug #600479. Not sure if this is related, the stack trace is different.
Comment 16 Geert Jan Alsem 2009-11-04 10:58:39 UTC
There is duplicate bug report here: Bug #599970

I posted my findings there because I didn't know this bug report already existed.
Comment 17 Sebastian Dröge (slomo) 2009-11-06 14:18:20 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

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