[Bug 702605] New: project: move enable update before the formatter is removed.

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 18 14:31:05 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=702605
  GStreamer | gst-editing-services | git

           Summary: project: move enable update before the formatter is
                    removed.
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: Normal
         Component: gst-editing-services
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: prahal at yahoo.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=247216)
 View: https://bugzilla.gnome.org/attachment.cgi?id=247216
 Review: https://bugzilla.gnome.org/review?bug=702605&attachment=247216

project: move enable update before the formatter is removed.

Fixes segfault , formatter timeline is grabbed and passed
to ges_timeline_enable_update but has been reset to garabage at
formatter removal.

Backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4219166 in ges_timeline_enable_update (timeline=0x-5555555555555556,
enabled=1)
    at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-editing-services/ges/ges-timeline.c:2745
2745      for (tmp = timeline->tracks; tmp; tmp = tmp->next) {
(gdb) bt
#0  0x00007ffff4219166 in ges_timeline_enable_update
(timeline=0x-5555555555555556, enabled=1)
    at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-editing-services/ges/ges-timeline.c:2745
#1  0x00007ffff4241584 in ges_project_set_loaded (project=0x2ddd210
[pitivi+project+Project], formatter=0x29a34f0)
    at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-editing-services/ges/ges-project.c:520
#2  0x00007ffff4243461 in _loading_done (self=0x29a34f0)
    at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-editing-services/ges/ges-base-xml-formatter.c:386
#3  0x00007ffff4243f9f in new_asset_cb (source=0x2da9460 [GESUriClipAsset],
res=0x32041f0, passet=0x127f560)
    at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-editing-services/ges/ges-base-xml-formatter.c:604
#4  0x00007ffff5c83c03 in g_simple_async_result_complete (simple=0x32041f0
[GSimpleAsyncResult])
    at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/gio/gsimpleasyncresult.c:777
#5  0x00007ffff5c83c4f in complete_in_idle_cb (data=0x32041f0) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/gio/gsimpleasyncresult.c:789
#6  0x00007ffff6401e21 in g_idle_dispatch (source=0x316c690,
callback=0x7ffff5c83c1c <complete_in_idle_cb>, user_data=0x32041f0)
    at /home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:5235
#7  0x00007ffff63ff6c6 in g_main_dispatch (context=0x14980b0) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3058
#8  0x00007ffff640041d in g_main_context_dispatch (context=0x14980b0) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3634
#9  0x00007ffff640060f in g_main_context_iterate (context=0x14980b0, block=1,
dispatch=1, self=0x14eda70)
    at /home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3705
#10 0x00007ffff6400a38 in g_main_loop_run (loop=0x299c530) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/glib/glib/gmain.c:3899
#11 0x00007ffff59f6e28 in ffi_call_unix64 () at ../src/x86/unix64.S:76
#12 0x00007ffff59f6790 in ffi_call (cif=0x7fffffffb2c0, fn=0x7ffff640085f
<g_main_loop_run>, rvalue=0x7fffffffb2a0, avalue=0x7fffffffb230)
    at ../src/x86/ffi64.c:522
#13 0x00007ffff695e451 in g_callable_info_invoke (info=0xcff680,
function=0x7ffff640085f <g_main_loop_run>, in_args=0x2fc2a90, n_in_args=1, 
    out_args=0x0, n_out_args=0, return_value=0x7fffffffb4d8, is_method=1,
throws=0, error=0x7fffffffb438)
    at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gobject-introspection/girepository/gicallableinfo.c:680
#14 0x00007ffff695ffca in g_function_info_invoke (info=0xcff680,
in_args=0x2fc2a90, n_in_args=1, out_args=0x0, n_out_args=0, 
    return_value=0x7fffffffb4d8, error=0x7fffffffb438)
    at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gobject-introspection/girepository/gifunctioninfo.c:274
#15 0x00007ffff6badc07 in _invoke_callable (state=0x7fffffffb490,
cache=0x2fceea0, callable_info=0xcff680, function_ptr=0x0)
    at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/pygobject-python2/gi/pygi-invoke.c:64
#16 0x00007ffff6baf199 in pygi_callable_info_invoke (info=0xcff680,
py_args=(<MainLoop(_signal_source=9L) at remote 0x28089a8>,), kwargs={}, 
    cache=0x2fceea0, function_ptr=0x0, user_data=0x0) at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/pygobject-python2/gi/pygi-invoke.c:662
#17 0x00007ffff6baf286 in _wrap_g_callable_info_invoke (self=0xcf1a80,
py_args=(<MainLoop(_signal_source=9L) at remote 0x28089a8>,), kwargs={})
    at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/pygobject-python2/gi/pygi-invoke.c:685
#18 0x0000000000501572 in ext_do_call (nk=<optimized out>, na=<optimized out>,
flags=<optimized out>, pp_stack=0x7fffffffb680, 
---Type <return> to continue, or q <return> to quit---
    func=<built-in method invoke of gi.FunctionInfo object at remote 0xcf1a80>)
at ../Python/ceval.c:4331
#19 PyEval_EvalFrameEx (
    f=f at entry=Frame 0x2d030d0, for file
/opt/gnome/lib/python2.7/site-packages/gi/types.py, line 113, in function
(args=(<MainLoop(_signal_source=9L) at remote 0x28089a8>,), kwargs={}),
throwflag=throwflag at entry=0) at ../Python/ceval.c:2705
#20 0x0000000000563e91 in PyEval_EvalCodeEx (co=0xc55430, globals=<optimized
out>, locals=<optimized out>, args=<optimized out>, 
    argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0,
defcount=0, closure=(<cell at remote 0xd1e328>,)) at ../Python/ceval.c:3253
#21 0x00000000004fef6f in fast_function (nk=0, na=1, n=<optimized out>,
pp_stack=0x7fffffffb8c0, func=<function at remote 0xcf6500>)
    at ../Python/ceval.c:4117
#22 call_function (oparg=<optimized out>, pp_stack=0x7fffffffb8c0) at
../Python/ceval.c:4042
#23 PyEval_EvalFrameEx (
    f=f at entry=Frame 0x2fbb370, for file
/opt/gnome/lib/python2.7/site-packages/gi/overrides/GLib.py, line 520, in run
(self=<MainLoop(_signal_source=9L) at remote 0x28089a8>),
throwflag=throwflag at entry=0) at ../Python/ceval.c:2666
#24 0x00000000004fe272 in fast_function (nk=<optimized out>, na=<optimized
out>, n=1, pp_stack=0x7fffffffba50, func=<function at remote 0xcf67d0>)
    at ../Python/ceval.c:4107
#25 call_function (oparg=<optimized out>, pp_stack=0x7fffffffba50) at
../Python/ceval.c:4042
#26 PyEval_EvalFrameEx (
    f=f at entry=Frame 0x2fb51f0, for file
/opt/gnome/lib64/pitivi/python/pitivi/application.py, line 281, in run
(self=<StartupWizardGuiPitivi(version_information={},
_signal_group=<SignalGroup(siglist={'new-project-created': ['project'],
'project-closed': ['project'], 'new-project-failed': ['uri', 'exception'],
'new-project-loaded': ['project'], 'closing-project': ['project'],
'new-project': ['project'], 'missing-uri': ['formatter', 'uri'], 'shutdown':
None, 'version-info-received': ['versions'], 'new-project-loading': ['uri']},
ids={440122092302318441: (<instancemethod at remote 0x284ff50>, (), {}),
1988593517246830379: (<instancemethod at remote 0x284ff00>, (...), {}),
9976087997959713502L: (<instancemethod at remote 0x2858910>, (...), {}),
16309664023012441542L: (<instancemethod at remote 0x284feb0>, (...), {}),
4459010657955175155: (<instancemethod at remote 0x2862410>, (...), {})},
callback_ids={<instancemethod at remote 0x284ff50>: [440122092302318441],
<instancemethod at remote 0x284feb0>: [16309664023012441542L],
<i...(truncated), throwflag=throwflag at entry=0) at ../Python/ceval.c:2666
#27 0x00000000004fe272 in fast_function (nk=<optimized out>, na=<optimized
out>, n=1, pp_stack=0x7fffffffbbe0, func=<function at remote 0x27f8c80>)
    at ../Python/ceval.c:4107
#28 call_function (oparg=<optimized out>, pp_stack=0x7fffffffbbe0) at
../Python/ceval.c:4042
#29 PyEval_EvalFrameEx (
    f=f at entry=Frame 0x15dfa50, for file
/opt/gnome/lib64/pitivi/python/pitivi/application.py, line 450, in main
(argv=['/opt/gnome/bin/pitivi'], options=<Values(add_to_timeline=False,
debug=False, import_sources=False) at remote 0x2806830>, args=[],
ptv=<StartupWizardGuiPitivi(version_information={},
_signal_group=<SignalGroup(siglist={'new-project-created': ['project'],
'project-closed': ['project'], 'new-project-failed': ['uri', 'exception'],
'new-project-loaded': ['project'], 'closing-project': ['project'],
'new-project': ['project'], 'missing-uri': ['formatter', 'uri'], 'shutdown':
None, 'version-info-received': ['versions'], 'new-project-loading': ['uri']},
ids={440122092302318441: (<instancemethod at remote 0x284ff50>, (), {}),
1988593517246830379: (<instancemethod at remote 0x284ff00>, (...), {}),
9976087997959713502L: (<instancemethod at remote 0x2858910>, (...), {}),
16309664023---Type <return> to continue, or q <return> to quit---
012441542L: (<instancemethod at remote 0x284feb0>, (...), {}),
4459010657955175155: (<instancemethod at remote 0x2862410>, (...), {})},
ca...(truncated), throwflag=throwflag at entry=0) at ../Python/ceval.c:2666
#30 0x00000000004fe272 in fast_function (nk=<optimized out>, na=<optimized
out>, n=1, pp_stack=0x7fffffffbd70, func=<function at remote 0x27f9578>)
    at ../Python/ceval.c:4107
#31 call_function (oparg=<optimized out>, pp_stack=0x7fffffffbd70) at
../Python/ceval.c:4042
#32 PyEval_EvalFrameEx (
    f=f at entry=Frame 0x11b2820, for file /opt/gnome/bin/pitivi, line 129, in
_run_pitivi (ptv=<module at remote 0x1a1aad0>, timeline=<module at remote
0x1fa04b0>, GObject=<DynamicModule(_overrides_module=<module at remote
0xc672b8>, _namespace='GObject',
_introspection_module=<IntrospectionModule(_namespace='GObject',
signal_handler_is_connected=<function at remote 0xd3b2a8>,
signal_handlers_disconnect_matched=<function at remote 0xd3bcf8>,
__path__='/opt/gnome/lib64/girepository-1.0/GObject-2.0.typelib',
ConnectFlags=<type at remote 0x2b9f1e0>,
Object=<GObjectMeta(get_property=<function at remote 0xd3e5f0>,
__module__='gi.repository.GObject', get_qdata=<function at remote 0xd3e668>,
replace_data=<function at remote 0xd3e938>, is_floating=<function at remote
0xd3e6e0>, watch_closure=<function at remote 0xd3ed70>, notify=<function at
remote 0xd3e758>, compat_control=<staticmethod at remote 0xd38b40>,
__info__=<ObjectInfo at remote 0xd3d148>, bind_property=<function at remote
0xd3e398>, unref=<function at remote 0xd3ecf8>, fr...(truncated),
throwflag=throwflag at entry=0) at ../Python/ceval.c:2666
#33 0x00000000004fe272 in fast_function (nk=<optimized out>, na=<optimized
out>, n=0, pp_stack=0x7fffffffbf00, func=<function at remote 0xaea6e0>)
    at ../Python/ceval.c:4107
#34 call_function (oparg=<optimized out>, pp_stack=0x7fffffffbf00) at
../Python/ceval.c:4042
#35 PyEval_EvalFrameEx (f=f at entry=Frame 0xaac1e0, for file
/opt/gnome/bin/pitivi, line 140, in <module> (), throwflag=throwflag at entry=0)
    at ../Python/ceval.c:2666
#36 0x0000000000563e91 in PyEval_EvalCodeEx (co=0xa3c7b0, globals=<optimized
out>, locals=<optimized out>, args=<optimized out>, 
    argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at ../Python/ceval.c:3253
#37 0x00000000005b4a52 in PyEval_EvalCode (co=co at entry=0xa3c7b0, 
    globals=globals at entry={'_add_pitivi_path': <function at remote 0xaea5f0>,
'GnlObject': <GObjectMeta(__gtype__=<gobject.GType at remote 0x2e22150>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x316ca30>,
'locale': <module at remote 0xac65c8>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/opt/gnome/lib:/usr/lib/x86_64-linux-gnu/dbus-1.0/debug-build/lib/:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstGdkPixbufSink': <GObjectMeta(__gtype__=<gobject.GType at remote 0x2e224e0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='gi.types', __gsignals__={}) at remote 0x34405c0>,
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote 0xdc3780>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='gi.types', __gsignals__={}) at remote 0x15ed400>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x2e22078>, __d...(truncated), 
    locals=locals at entry={'_add_pitivi_path': <function at remote 0xaea5f0>,
'GnlObject': <GObjectMeta(__gtype__=<gobject.GType at remote 0x2e22150>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x316ca30>,
'locale': <module at remote 0xac65c8>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/opt/gnome/lib:/usr/lib/x86_64-linux-gnu/dbus-1.0/debug-build/lib/:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstGdkPixbufSink': <GObjectMeta(__gtype__=<gobject.GType at remote 0x2e224e0>,
__doc__=<gobject.G---Type <return> to continue, or q <return> to quit---
Object.__doc__ at remote 0x7ffff7f760a0>, __module__='gi.types',
__gsignals__={}) at remote 0x34405c0>, 'GstAutoAudioSink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0xdc3780>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='gi.types', __gsignals__={}) at remote 0x15ed400>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x2e22078>, __d...(truncated))
at ../Python/ceval.c:667
#38 0x000000000059e63b in run_mod.42564 (mod=<optimized out>,
filename=<optimized out>, 
    globals={'_add_pitivi_path': <function at remote 0xaea5f0>, 'GnlObject':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x2e22150>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x316ca30>,
'locale': <module at remote 0xac65c8>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/opt/gnome/lib:/usr/lib/x86_64-linux-gnu/dbus-1.0/debug-build/lib/:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstGdkPixbufSink': <GObjectMeta(__gtype__=<gobject.GType at remote 0x2e224e0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='gi.types', __gsignals__={}) at remote 0x34405c0>,
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote 0xdc3780>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='gi.types', __gsignals__={}) at remote 0x15ed400>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x2e22078>, __d...(truncated), 
    locals={'_add_pitivi_path': <function at remote 0xaea5f0>, 'GnlObject':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x2e22150>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x316ca30>,
'locale': <module at remote 0xac65c8>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/opt/gnome/lib:/usr/lib/x86_64-linux-gnu/dbus-1.0/debug-build/lib/:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstGdkPixbufSink': <GObjectMeta(__gtype__=<gobject.GType at remote 0x2e224e0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='gi.types', __gsignals__={}) at remote 0x34405c0>,
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote 0xdc3780>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='gi.types', __gsignals__={}) at remote 0x15ed400>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x2e22078>, __d...(truncated), 
    flags=<optimized out>, arena=<optimized out>) at ../Python/pythonrun.c:1365
#39 0x000000000044724d in PyRun_FileExFlags (fp=fp at entry=0xa8dad0,
filename=filename at entry=0x7fffffffc655 "/opt/gnome/bin/pitivi", 
    start=start at entry=257, 
    globals=globals at entry={'_add_pitivi_path': <function at remote 0xaea5f0>,
'GnlObject': <GObjectMeta(__gtype__=<gobject.GType at remote 0x2e22150>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x316ca30>,
'locale': <module at remote 0xac65c8>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/opt/gnome/lib:/usr/lib/x86_64-linux-gnu/dbus-1.0/debug-build/lib/:/usr/lib/x86_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib',
'GstGdkPixbufSink': <GObjectMeta(__gtype__=<gobject.GType at remote 0x2e224e0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='gi.types', __gsignals__={}) at remote 0x34405c0>,
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote 0xdc3780>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='gi.types', __gsignals__={}) at remote 0x15ed400>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType




 at remote 0x2e22078>, __d...(truncated), 
    locals=locals at entry={'_add_pitivi_path': <function at remote 0xaea5f0>,
'GnlObject': <GObjectMeta(__gtype__=<gobject.GType at remote 0x2e22150>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='pitivi.utils.pipeline', __gsignals__={}) at remote 0x316ca30>,
'locale': <module at remote 0xac65c8>, 'CONFIGURED_LD_LIBRARY_PATH':
'/opt/gnome/lib64:/opt/gnome/lib:/usr/lib/x86_64-linux-gnu/dbus-1.0/debug-build/lib/:/usr/lib/x86---Type
<return> to continue, or q <return> to quit---
_64-linux-gnu:/usr/lib:/lib/x86_64-linux-gnu:/lib', 'GstGdkPixbufSink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x2e224e0>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='gi.types', __gsignals__={}) at remote 0x34405c0>,
'GstAutoAudioSink': <GObjectMeta(__gtype__=<gobject.GType at remote 0xdc3780>,
__doc__=<gobject.GObject.__doc__ at remote 0x7ffff7f760a0>,
__module__='gi.types', __gsignals__={}) at remote 0x15ed400>,
'CONFIGURED_GST_PLUGIN_PATH': '/opt/gnome/lib64/gstreamer-0.10', 'GstPlaySink':
<GObjectMeta(__gtype__=<gobject.GType at remote 0x2e22078>, __d...(truncated),
closeit=closeit at entry=1, flags=flags at entry=0x7fffffffc150) at
../Python/pythonrun.c:1351
#40 0x0000000000469236 in PyRun_SimpleFileExFlags (fp=fp at entry=0xa8dad0,
filename=<optimized out>, 
    filename at entry=0x7fffffffc655 "/opt/gnome/bin/pitivi",
closeit=closeit at entry=1, flags=flags at entry=0x7fffffffc150) at
../Python/pythonrun.c:943
#41 0x0000000000469332 in PyRun_AnyFileExFlags (fp=fp at entry=0xa8dad0,
filename=filename at entry=0x7fffffffc655 "/opt/gnome/bin/pitivi", 
    closeit=closeit at entry=1, flags=flags at entry=0x7fffffffc150) at
../Python/pythonrun.c:747
#42 0x000000000046d6fb in Py_Main (argc=<optimized out>, argv=0x7fffffffc308)
at ../Modules/main.c:640
#43 0x00007ffff6f16a55 in __libc_start_main (main=0x46d7b9 <main>, argc=2,
ubp_av=0x7fffffffc308, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffc2f8) at libc-start.c:260
#44 0x00000000005756f1 in _start ()
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) 
(gdb) l
2740      GList *tmp;
2741      gboolean res = TRUE;
2742    
2743      GST_DEBUG_OBJECT (timeline, "%s updates", enabled ? "Enabling" :
"Disabling");
2744    
2745      for (tmp = timeline->tracks; tmp; tmp = tmp->next) {
2746        if (!ges_track_enable_update (GES_TRACK (tmp->data), enabled))
2747          res = FALSE;
2748      }
2749    
(gdb) p timeline
$1 = 0x-5555555555555556
(gdb) l -
2730     * Control whether the timeline is updated for every change happening
within.
2731     *
2732     * Users will want to use this method with %FALSE before doing lots of
changes,
2733     * and then call again with %TRUE for the changes to take effect in one
go.
2734     *
2735     * Returns: %TRUE if the update status could be changed, else %FALSE.
2736     */
2737    gboolean
2738    ges_timeline_enable_update (GESTimeline * timeline, gboolean enabled)
2739    {
(gdb) up
#1  0x00007ffff4241584 in ges_project_set_loaded (project=0x2ddd210
[pitivi+project+Project], formatter=0x29a34f0)
    at
/home/prahal/Projects/Devel/Gnome/jhbuild/gnome/gst-editing-services/ges/ges-project.c:520
520      ges_timeline_enable_update (formatter->timeline, TRUE);
(gdb) l
515      GST_INFO_OBJECT (project, "Emit project loaded");
516      g_signal_emit (project, _signals[LOADED_SIGNAL], 0,
formatter->timeline);
517    
518      /* We are now done with that formatter */
519      ges_project_remove_formatter (project, formatter);
520      ges_timeline_enable_update (formatter->timeline, TRUE);
521      return TRUE;
522    }
523    
524    void
(gdb) p formatter
$2 = 0x29a34f0
(gdb) p *formatter
$3 = {parent = {g_type_instance = {g_class = 0xaaaaaaaaaaaaaaaa}, ref_count =
2863311530, qdata = 0xaaaaaaaaaaaaaaaa}, priv = 0xaaaaaaaaaaaaaaaa, 
  project = 0x-5555555555555556, timeline = 0x-5555555555555556, _ges_reserved
= {0xaaaaaaaaaaaaaaaa, 0xaaaaaaaaaaaaaaaa, 0xaaaaaaaaaaaaaaaa, 
    0xaaaaaaaaaaaaaaaa}}
(gdb) b 519

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list