Bug#546887: python-brasero: Segfault in brasero_caps_find_link_for_input at brasero-caps-plugin.c:61

Andrew Price andy at andrewprice.me.uk
Wed Sep 16 08:57:15 UTC 2009


Package: python-brasero
Version: 2.27.3-1
Severity: normal

Hi,

Here's the single liner which triggers a segfault:

  $ python -c 'import braseroburn; braseroburn.SessionCfg()'

gdb backtrace is attached.

This only occurs when python-brasero *and* brasero are installed. It
looks like python-brasero makes use of the plugins that brasero
provides.

Cheers,

Andrew


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (400, 'unstable'), (10, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.31 (SMP w/1 CPU core; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-brasero depends on:
ii  libatk1.0-0            1.26.0-1          The ATK accessibility toolkit
ii  libbrasero-media0      2.27.92-2         CD/DVD burning library for GNOME -
ii  libc6                  2.9-25            GNU C Library: Shared libraries
ii  libcairo2              1.8.8-2           The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.2.16-2          simple interprocess messaging syst
ii  libdbus-glib-1-2       0.82-1            simple interprocess messaging syst
ii  libfontconfig1         2.6.0-4           generic font configuration library
ii  libfreetype6           2.3.9-5           FreeType 2 font engine, shared lib
ii  libglib2.0-0           2.21.5-1          The GLib library of C routines
ii  libgtk2.0-0            2.16.6-1          The GTK+ graphical user interface 
ii  libpango1.0-0          1.24.5-1          Layout and rendering of internatio
ii  python                 2.5.4-2           An interactive high-level object-o
ii  python-gtk2            2.14.1-3          Python bindings for the GTK+ widge
ii  python-support         1.0.3             automated rebuilding support for P
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

python-brasero recommends no packages.

Versions of packages python-brasero suggests:
ii  brasero                       2.27.92-2  CD/DVD burning application for GNO

-- no debconf information
-------------- next part --------------
GNU gdb (GDB) 6.8.50.20090628-cvs-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
(gdb) run -c 'import braseroburn; braseroburn.SessionCfg()'
Starting program: /usr/bin/python -c 'import braseroburn; braseroburn.SessionCfg()'
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0xb7c185e3 in brasero_caps_find_link_for_input (caps=0x8378268, input=0x0) at brasero-caps-plugin.c:61
61	brasero-caps-plugin.c: No such file or directory.
	in brasero-caps-plugin.c
(gdb) thread apply all bt

Thread 1 (Thread 0xb7e248d0 (LWP 22258)):
#0  0xb7c185e3 in brasero_caps_find_link_for_input (caps=0x8378268, input=0x0) at brasero-caps-plugin.c:61
#1  0xb7c1983f in brasero_plugin_blank_caps (plugin=0x83610a8, caps_list=0x83178b0) at brasero-caps-plugin.c:767
#2  0xb697a35d in brasero_plugin_register () from /usr/lib/brasero/plugins/libbrasero-dvdrwformat.so
#3  0xb7bf486f in brasero_plugin_init_real (object=0x83610a8) at burn-plugin.c:1037
#4  0xb7bf4cb1 in brasero_plugin_set_property (object=0x83610a8, prop_id=1, value=0xbfffe5c8, pspec=0x8371620) at burn-plugin.c:1150
#5  0xb7482c51 in object_set_property (type=137825840, n_construct_properties=0, construct_params=0x8371548) at /build/buildd/glib2.0-2.21.5/gobject/gobject.c:942
#6  g_object_constructor (type=137825840, n_construct_properties=0, construct_params=0x8371548) at /build/buildd/glib2.0-2.21.5/gobject/gobject.c:1352
#7  0xb74833d6 in IA__g_object_newv (object_type=137825840, n_parameters=1, parameters=0x8372b78) at /build/buildd/glib2.0-2.21.5/gobject/gobject.c:1215
#8  0xb7484002 in IA__g_object_new_valist (object_type=137825840, first_property_name=0xb7c3fc4f "path", var_args=0xbfffe7ec "")
    at /build/buildd/glib2.0-2.21.5/gobject/gobject.c:1319
#9  0xb748414e in IA__g_object_new (object_type=137825840, first_property_name=0xb7c3fc4f "path") at /build/buildd/glib2.0-2.21.5/gobject/gobject.c:1060
#10 0xb7bf5161 in brasero_plugin_new (path=0x8371fd8 "/usr/lib/brasero/plugins/libbrasero-dvdrwformat.so") at burn-plugin.c:1257
#11 0xb7bf5aee in brasero_plugin_manager_init (self=0x8231b78) at burn-plugin-manager.c:470
#12 0xb749f535 in IA__g_type_create_instance (type=137816440) at /build/buildd/glib2.0-2.21.5/gobject/gtype.c:1674
#13 0xb7482b65 in g_object_constructor (type=137816440, n_construct_properties=0, construct_params=0x0) at /build/buildd/glib2.0-2.21.5/gobject/gobject.c:1338
#14 0xb74833d6 in IA__g_object_newv (object_type=137816440, n_parameters=0, parameters=0x0) at /build/buildd/glib2.0-2.21.5/gobject/gobject.c:1215
#15 0xb7483fd7 in IA__g_object_new_valist (object_type=137816440, first_property_name=0x0, var_args=0xbfffebc8 "\362V") at /build/buildd/glib2.0-2.21.5/gobject/gobject.c:1278
#16 0xb748414e in IA__g_object_new (object_type=137816440, first_property_name=0x0) at /build/buildd/glib2.0-2.21.5/gobject/gobject.c:1060
#17 0xb7bf5ddf in brasero_plugin_manager_get_default () at burn-plugin-manager.c:547
#18 0xb7c1076e in brasero_session_cfg_init (object=0x836f010) at brasero-session-cfg.c:1565
#19 0xb749f535 in IA__g_type_create_instance (type=137773080) at /build/buildd/glib2.0-2.21.5/gobject/gtype.c:1674
#20 0xb7482b65 in g_object_constructor (type=137773080, n_construct_properties=0, construct_params=0x0) at /build/buildd/glib2.0-2.21.5/gobject/gobject.c:1338
#21 0xb74833d6 in IA__g_object_newv (object_type=137773080, n_parameters=0, parameters=0x0) at /build/buildd/glib2.0-2.21.5/gobject/gobject.c:1215
#22 0xb6cd0962 in ?? () from /usr/lib/pymodules/python2.5/gtk-2.0/gobject/_gobject.so
#23 0xb7fd5d54 in _wrap_brasero_session_cfg_new (self=0x82f8f7c, args=0xb7de402c, kwargs=0x0) at brasero_burn.c:1062
#24 0x080ad691 in type_call (type=0xb6ce5970, args=0xb7de402c, kwds=0x0) at ../Objects/typeobject.c:436
#25 0x0805d4b7 in PyObject_Call (func=0x444084, arg=0xb7de402c, kw=0x0) at ../Objects/abstract.c:1861
#26 0x080ccf75 in do_call (f=0x817c924, throwflag=0) at ../Python/ceval.c:3823
#27 call_function (f=0x817c924, throwflag=0) at ../Python/ceval.c:3635
#28 PyEval_EvalFrameEx (f=0x817c924, throwflag=0) at ../Python/ceval.c:2304
#29 0x080d00c5 in PyEval_EvalCodeEx (co=0xb7dac728, globals=0xb7dfdacc, locals=0xb7dfdacc, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0)
    at ../Python/ceval.c:2875
#30 0x080d02d7 in PyEval_EvalCode (co=0xb7dac728, globals=0xb7dfdacc, locals=0xb7dfdacc) at ../Python/ceval.c:514
#31 0x080eed0e in run_mod (command=0x816e008 "import braseroburn; braseroburn.SessionCfg()\n", flags=0xbffff2d8) at ../Python/pythonrun.c:1273
#32 PyRun_StringFlags (command=0x816e008 "import braseroburn; braseroburn.SessionCfg()\n", flags=0xbffff2d8) at ../Python/pythonrun.c:1236
#33 PyRun_SimpleStringFlags (command=0x816e008 "import braseroburn; braseroburn.SessionCfg()\n", flags=0xbffff2d8) at ../Python/pythonrun.c:900
#34 0x08058c58 in Py_Main (argc=1, argv=0xbffff3a4) at ../Modules/main.c:521
#35 0x08058722 in main (argc=Cannot access memory at address 0x444084
) at ../Modules/python.c:23
(gdb) quit
The program is running.  Quit anyway (and kill it)? (y or n) 


More information about the pkg-gnome-maintainers mailing list