Segmentation fault on start: _gdk_x11_display_get_cursor_for_type

Bug #1482913 reported by Chris West
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pitivi (Ubuntu)
New
Undecided
Unassigned

Bug Description

Happens every time. Never had it successfully start.

i3wm (i.e. no gnome-session), but other gtk apps are fine (e.g. ubuntu-bug).

% gdb --args python $(which pitivi)
GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9
[..]
(gdb) r
Starting program: /usr/bin/python /usr/bin/pitivi
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

(pitivi:29820): Clutter-WARNING **: clutter_x11_set_use_argb_visual() can only be used before calling clutter_init()

(pitivi:29820): Clutter-WARNING **: clutter_x11_set_display() can only be used before calling clutter_init()

(pitivi:29820): Clutter-WARNING **: clutter_x11_disable_event_retrieval() can only be used before calling clutter_init()

(pitivi:29820): Clutter-WARNING **: clutter_disable_accessibility() can only be called before initializing Clutter.
Missing soft dependency:
- pycanberra not found on the system
    -> enables sound notifications when rendering is complete
Missing soft dependency:
- libav not found on the system
    -> additional multimedia codecs through the Libav library
[New Thread 0x7fffe6296700 (LWP 29825)]
[New Thread 0x7fffe6a97700 (LWP 29824)]

Program received signal SIGSEGV, Segmentation fault.
__GI___pthread_mutex_lock (mutex=0x20) at ../nptl/pthread_mutex_lock.c:67
67 ../nptl/pthread_mutex_lock.c: No such file or directory.
(gdb) bt
#0 __GI___pthread_mutex_lock (mutex=0x20) at ../nptl/pthread_mutex_lock.c:67
#1 0x00007ffff2e9156a in XrmQGetResource () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#2 0x00007ffff2e6eb36 in XGetDefault () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#3 0x00007ffff40550d0 in _XcursorGetDisplayInfo () from /usr/lib/x86_64-linux-gnu/libXcursor.so.1
#4 0x00007ffff4055119 in XcursorSupportsARGB () from /usr/lib/x86_64-linux-gnu/libXcursor.so.1
#5 0x00007ffff4057741 in XcursorTryShapeCursor () from /usr/lib/x86_64-linux-gnu/libXcursor.so.1
#6 0x00007ffff2e6913d in XCreateGlyphCursor () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#7 0x00007ffff2e69586 in XCreateFontCursor () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#8 0x00007ffff4ef2d6a in _gdk_x11_display_get_cursor_for_type (display=0xbac080, cursor_type=GDK_LEFT_PTR) at /build/buildd/gtk+3.0-3.14.13/./gdk/x11/gdkcursor-x11.c:267
#9 0x00007ffff5f72d90 in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#10 0x00007ffff5f727f8 in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#11 0x00007ffff695b6a4 in pygi_invoke_c_callable (function_cache=0x175e400, state=0x7fffffffcaf0, py_args=<unknown at remote 0x7fffffffc710>, py_args@entry=(<GdkCursorType at remote 0x7fffd6a6e050>,),
    py_kwargs=<unknown at remote 0x154>, py_kwargs@entry=0x0) at ../../gi/pygi-invoke.c:628
#12 0x00007ffff695c523 in _function_cache_invoke_real (py_kwargs=0x0, py_args=(<GdkCursorType at remote 0x7fffd6a6e050>,), state=0x7fffffffcaf0, function_cache=0x175e400) at ../../gi/pygi-cache.c:714
#13 _constructor_cache_invoke_real (function_cache=0x175e400, state=0x7fffffffcaf0, py_args=(<GdkCursorType at remote 0x7fffd6a6e050>,), py_kwargs=0x0) at ../../gi/pygi-cache.c:858
#14 0x00007ffff695cfd8 in pygi_function_cache_invoke (function_cache=<optimised out>,
    py_args=py_args@entry=(<GObjectMeta(__module__='gi.overrides.Gdk', __new__=<staticmethod at remote 0x7fffeeec9948>, __gsignals__={}, __doc__=None) at remote 0xb9a5d0>, <GdkCursorType at remote 0x7fffd6a6e050>),
    py_kwargs=py_kwargs@entry=0x0) at ../../gi/pygi-cache.c:793
#15 0x00007ffff695be98 in pygi_callable_info_invoke (info=<optimised out>,
    py_args=py_args@entry=(<GObjectMeta(__module__='gi.overrides.Gdk', __new__=<staticmethod at remote 0x7fffeeec9948>, __gsignals__={}, __doc__=None) at remote 0xb9a5d0>, <GdkCursorType at remote 0x7fffd6a6e050>),
    kwargs=kwargs@entry=0x0, cache=<optimised out>, user_data=user_data@entry=0x0) at ../../gi/pygi-invoke.c:671
#16 0x00007ffff695becc in _wrap_g_callable_info_invoke (self=<optimised out>,
    py_args=py_args@entry=(<GObjectMeta(__module__='gi.overrides.Gdk', __new__=<staticmethod at remote 0x7fffeeec9948>, __gsignals__={}, __doc__=None) at remote 0xb9a5d0>, <GdkCursorType at remote 0x7fffd6a6e050>),
    kwargs=kwargs@entry=0x0) at ../../gi/pygi-invoke.c:708
#17 0x00007ffff695149e in _callable_info_call (self=0x7fffd6c301f0, args=(<GdkCursorType at remote 0x7fffd6a6e050>,), kwargs=0x0) at ../../gi/pygi-info.c:557
#18 0x00000000004cd9ab in PyObject_Call (kw=<optimised out>, arg=<optimised out>, func=<optimised out>) at ../Objects/abstract.c:2529
#19 do_call (nk=<optimised out>, na=<optimised out>, pp_stack=<optimised out>, func=<optimised out>) at ../Python/ceval.c:4253
#20 call_function (oparg=<optimised out>, pp_stack=<optimised out>) at ../Python/ceval.c:4058
#21 PyEval_EvalFrameEx () at ../Python/ceval.c:2681
#22 0x00000000004cb6b1 in PyEval_EvalCodeEx () at ../Python/ceval.c:3267
#23 0x00000000004caf56 in PyEval_EvalCode (co=<optimised out>, globals=<optimised out>, locals=<optimised out>) at ../Python/ceval.c:669
#24 0x00000000004c97bc in PyImport_ExecCodeModuleEx () at ../Python/import.c:709
#25 0x00000000004c5b96 in load_source_module.lto_priv () at ../Python/import.c:1099
#26 0x00000000004b3ed2 in import_submodule (fullname=<optimised out>, subname=<optimised out>, mod=<optimised out>) at ../Python/import.c:2700
#27 load_next () at ../Python/import.c:2515
#28 0x00000000004b3643 in import_module_level.isra () at ../Python/import.c:2224
#29 0x00000000004b6756 in PyImport_ImportModuleLevel (level=-1, fromlist=('URISourceElement', 'TransitionElement', 'Ghostclip'), locals=<optimised out>,
    globals={'GLib': <DynamicModule(_overrides_module=<module at remote 0x7ffff52151a0>, _namespace='GLib', _introspection_module=<IntrospectionModule(MAXINT8=127, source_remove=<gi.FunctionInfo at remote 0x7fffeeeb2ea0>, _namespace='GLib', MININT32=-2147483648, IOFlags=<type at remote 0xb55740>, __path__='/usr/lib/x86_64-linux-gnu/girepository-1.0/GLib-2.0.typelib', uri_list_extract_uris=<gi.FunctionInfo at remote 0x7fffeeeb2b90>, MAXINT16=32767, unix_signal_add_full=<function at remote 0x7fffeeeb47d0>, SpawnFlags=<type at remote 0xb56da0>, PRIORITY_DEFAULT=0, OptionFlags=<type at remote 0xad0810>, PRIORITY_HIGH=-100, main_context_default=<gi.FunctionInfo at remote 0x7fffeeeb2dc0>, MAXUINT32=4294967295L, MININT64=-9223372036854775808L, MAXUINT16=65535, MainContext=<StructMeta(__module__='gi.repository.GLib', invoke_full=<gi.FunctionInfo at remote 0x7fffeeeac618>, push_thread_default=<gi.FunctionInfo at remote 0x7fffeeeac768>, dispatch=<gi.FunctionInfo at remote 0x7fffeeeac538>, ref_thread_default=<gi.FunctionInfo at rem...(truncated), name=0x7ffff524f7d4 "elements") at ../Python/import.c:2288
#30 builtin___import__ () at ../Python/bltinmodule.c:49
#31 0x00000000004d437b in PyObject_Call (kw=<optimised out>,
    arg=('elements', {'GLib': <DynamicModule(_overrides_module=<module at remote 0x7ffff52151a0>, _namespace='GLib', _introspection_module=<IntrospectionModule(MAXINT8=127, source_remove=<gi.FunctionInfo at remote 0x7fffeeeb2ea0>, _namespace='GLib', MININT32=-2147483648, IOFlags=<type at remote 0xb55740>, __path__='/usr/lib/x86_64-linux-gnu/girepository-1.0/GLib-2.0.typelib', uri_list_extract_uris=<gi.FunctionInfo at remote 0x7fffeeeb2b90>, MAXINT16=32767, unix_signal_add_full=<function at remote 0x7fffeeeb47d0>, SpawnFlags=<type at remote 0xb56da0>, PRIORITY_DEFAULT=0, OptionFlags=<type at remote 0xad0810>, PRIORITY_HIGH=-100, main_context_default=<gi.FunctionInfo at remote 0x7fffeeeb2dc0>, MAXUINT32=4294967295L, MININT64=-9223372036854775808L, MAXUINT16=65535, MainContext=<StructMeta(__module__='gi.repository.GLib', invoke_full=<gi.FunctionInfo at remote 0x7fffeeeac618>, push_thread_default=<gi.FunctionInfo at remote 0x7fffeeeac768>, dispatch=<gi.FunctionInfo at remote 0x7fffeeeac538>, ref_thread_default=<gi.Functi...(truncated), func=<built-in function __import__>) at ../Objects/abstract.c:2529
#32 PyEval_CallObjectWithKeywords () at ../Python/ceval.c:3904
#33 0x00000000004cf3b1 in PyEval_EvalFrameEx () at ../Python/ceval.c:2348
#34 0x00000000004cb6b1 in PyEval_EvalCodeEx () at ../Python/ceval.c:3267
#35 0x00000000004caf56 in PyEval_EvalCode (co=<optimised out>, globals=<optimised out>, locals=<optimised out>) at ../Python/ceval.c:669
#36 0x00000000004c97bc in PyImport_ExecCodeModuleEx () at ../Python/import.c:709
#37 0x00000000004c5b96 in load_source_module.lto_priv () at ../Python/import.c:1099
#38 0x00000000004b3ed2 in import_submodule (fullname=<optimised out>, subname=<optimised out>, mod=<optimised out>) at ../Python/import.c:2700
#39 load_next () at ../Python/import.c:2515
#40 0x00000000004b38c9 in import_module_level.isra () at ../Python/import.c:2232
#41 0x00000000004b6756 in PyImport_ImportModuleLevel (level=-1, fromlist=('TimelineContainer',), locals=<optimised out>,
...

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: pitivi 0.93-4.2
ProcVersionSignature: Ubuntu 3.19.0-23.24-generic 3.19.8-ckt2
Uname: Linux 3.19.0-23-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
Date: Sat Aug 8 22:09:26 2015
SourcePackage: pitivi
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Chris West (faux) wrote :
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.