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 680664 - [pitivi] Deadlocks when splitting repeatedly
[pitivi] Deadlocks when splitting repeatedly
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-editing-services
git master
Other Linux
: Normal critical
: 1.3.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-07-26 16:40 UTC by Jean-François Fortin Tam
Modified: 2014-06-22 13:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2012-07-26 16:40:50 UTC
Either run pitivi's:
python -m unittest discover tests/dogtail_scripts/ -v -p test_timeline.py

Or, in pitivi,
1. Insert sintel-stereo-1024.mp4 in a blank project timeline
2. Seek in the middle of the clip
3. Alternately press "s" (split) and the right arrow key

After a few splits, it will deadlock.
Comment 1 Jean-François Fortin Tam 2012-07-26 16:42:01 UTC
(gdb) thread apply all bt

Thread 1 (Thread 0xb77696c0 (LWP 30906))

  • #0 __kernel_vsyscall
  • #1 __lll_lock_wait
    at ../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S line 145
  • #2 _L_lock_860
    from /lib/libpthread.so.0
  • #3 __pthread_mutex_lock
    at pthread_mutex_lock.c line 105
  • #4 g_mutex_lock
    at gthread-posix.c line 208
  • #5 gst_object_get_parent
    at gstobject.c line 897
  • #6 gst_object_dispatch_properties_changed
    at gstobject.c line 553
  • #7 g_object_notify_queue_thaw
    at gobject.c line 291
  • #8 g_object_set_valist
    at gobject.c line 1953
  • #9 g_object_set
    at gobject.c line 2053
  • #10 ges_track_enable_update
    at ges-track.c line 926
  • #11 ges_timeline_enable_update_internal
    at ges-timeline.c line 191
  • #12 ges_timeline_enable_update
    at ges-timeline.c line 2458
  • #13 _wrap_ges_timeline_enable_update
  • #14 PyCFunction_Call
  • #15 call_function
    at /usr/src/debug/Python-2.7.3/Python/ceval.c line 4098
  • #16 PyEval_EvalFrameEx
  • #17 PyEval_EvalCodeEx
  • #18 function_call
  • #19 PyObject_Call
  • #20 instancemethod_call
  • #21 PyObject_Call
  • #22 PyEval_CallObjectWithKeywords
  • #23 PyObject_CallObject
  • #24 pyg_closure_marshal
    at pygtype.c line 1216
  • #25 g_closure_invoke
    at gclosure.c line 777
  • #26 signal_emit_unlocked_R
    at gsignal.c line 3547
  • #27 g_signal_emit_valist
    at gsignal.c line 3296
  • #28 g_signal_emit
    at gsignal.c line 3352
  • #29 _gtk_action_emit_activate
    at gtkaction.c line 794
  • #30 closure_accel_activate
    at gtkaction.c line 1764
  • #31 g_closure_invoke
    at gclosure.c line 777
  • #32 signal_emit_unlocked_R
    at gsignal.c line 3547
  • #33 g_signal_emit_valist
    at gsignal.c line 3306
  • #34 g_signal_emit
    at gsignal.c line 3352
  • #35 IA__gtk_accel_group_activate
    at gtkaccelgroup.c line 891
  • #36 IA__gtk_accel_groups_activate
    at gtkaccelgroup.c line 928
  • #37 IA__gtk_window_activate_key
    at gtkwindow.c line 8355
  • #38 gtk_window_key_press_event
    at gtkwindow.c line 5225
  • #39 _gtk_marshal_BOOLEAN__BOXED
    at gtkmarshalers.c line 86
  • #40 g_type_class_meta_marshal
    at gclosure.c line 970
  • #41 g_closure_invoke
    at gclosure.c line 777
  • #42 signal_emit_unlocked_R
    at gsignal.c line 3585
  • #43 g_signal_emit_valist
    at gsignal.c line 3306
  • #44 g_signal_emit
    at gsignal.c line 3352
  • #45 gtk_widget_event_internal
    at gtkwidget.c line 4999
  • #46 IA__gtk_widget_event
    at gtkwidget.c line 4796
  • #47 IA__gtk_propagate_event
    at gtkmain.c line 2463
  • #48 IA__gtk_main_do_event
    at gtkmain.c line 1684
  • #49 gdk_event_dispatch
    at gdkevents-x11.c line 2377
  • #50 g_main_dispatch
    at gmain.c line 2539
  • #51 g_main_context_dispatch
    at gmain.c line 3075
  • #52 g_main_context_iterate
    at gmain.c line 3146
  • #53 g_main_loop_run
    at gmain.c line 3340
  • #54 _wrap_g_main_loop_run
    at pygmainloop.c line 331
  • #55 call_function
    at /usr/src/debug/Python-2.7.3/Python/ceval.c line 4082
  • #56 PyEval_EvalFrameEx
  • #57 fast_function
    at /usr/src/debug/Python-2.7.3/Python/ceval.c line 4184
  • #58 call_function
    at /usr/src/debug/Python-2.7.3/Python/ceval.c line 4119
  • #59 PyEval_EvalFrameEx
  • #60 fast_function
    at /usr/src/debug/Python-2.7.3/Python/ceval.c line 4184
  • #61 call_function
    at /usr/src/debug/Python-2.7.3/Python/ceval.c line 4119
  • #62 PyEval_EvalFrameEx
  • #63 fast_function
    at /usr/src/debug/Python-2.7.3/Python/ceval.c line 4184
  • #64 call_function
    at /usr/src/debug/Python-2.7.3/Python/ceval.c line 4119
  • #65 PyEval_EvalFrameEx
  • #66 PyEval_EvalCodeEx
  • #67 PyEval_EvalCode
  • #68 run_mod
  • #69 PyRun_FileExFlags
  • #70 PyRun_SimpleFileExFlags
    at /usr/src/debug/Python-2.7.3/Python/pythonrun.c line 951
  • #71 PyRun_AnyFileExFlags
    at /usr/src/debug/Python-2.7.3/Python/pythonrun.c line 755
  • #72 Py_Main
    at /usr/src/debug/Python-2.7.3/Modules/main.c line 639
  • #73 main
    at /usr/src/debug/Python-2.7.3/Modules/python.c line 23

Comment 2 Thibault Saunier 2013-09-07 16:05:16 UTC
commit 5c8e2737b411cb1d48953eb2b968872831444a7a
Author: Thibault Saunier <thibault.saunier@collabora.com>
Date:   Wed Jul 24 22:37:06 2013 -0400

    timeline: Add methods to get and set the snapping distance