Bug#365102: Segmentation fault

Anthony DeRobertis anthony at derobert.net
Thu Apr 27 22:28:30 UTC 2006


Package: synfigstudio
Version: 0.61.05-2
Severity: serious

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Just installed it, want to try it for the first time, and....

anthony at feynman:~$ synfigstudio 
synfig(2890): info: Created directory "/home/anthony/.synfig"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "tool_
options"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "histo
ry"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "canva
ses"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "keyfr
ames"

(synfigstudio:2890): Gtk-WARNING **: node type doesn't match 2 (menu-main is typ
e 7)
synfig(2890): info: DockManager::register_dockable(): Registered dockable "layer
s"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "param
s"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "meta_
data"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "child
ren"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "info"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "navig
ator"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "timet
rack"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "curve
s"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "group
s"
synfig(2890): info: Input device changed to "Core Pointer"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "pal_e
dit"
synfig(2890): info: DockManager::register_dockable(): Registered dockable "pal_b
rowse"
synfig(2890): info: Created directory "/home/anthony/.synfig/tmp"
synfig(2890): info: dock_book_list.size()=1
synfig(2890): info: dock_book_list.size()=2
synfig(2890): info: dock_book_list.size()=3
Segmentation fault


Right. Running it again results in a segfault, too.


Valgrind notices this:

synfig(2949): info: dock_book_list.size()=3
==2949== 
==2949== Syscall param writev(vector[...]) points to uninitialised byte(s)
==2949==    at 0x85F4FE0: writev (in /lib/libc-2.3.6.so)
==2949==    by 0x7936BAB: (within /usr/X11R6/lib/libX11.so.6.2)
==2949==    by 0x791B2D6: _XSend (in /usr/X11R6/lib/libX11.so.6.2)
==2949==    by 0x790F736: (within /usr/X11R6/lib/libX11.so.6.2)
==2949==    by 0x790F939: XPutImage (in /usr/X11R6/lib/libX11.so.6.2)
==2949==    by 0x74402A4: XcursorImageLoadCursor (in /usr/lib/libXcursor.so.1.0.2)
==2949==    by 0x744064A: XcursorImagesLoadCursor (in /usr/lib/libXcursor.so.1.0.2)
==2949==    by 0x7443409: XcursorTryShapeCursor (in /usr/lib/libXcursor.so.1.0.2)
==2949==    by 0x78FB183: XCreateGlyphCursor (in /usr/X11R6/lib/libX11.so.6.2)
==2949==    by 0x78FB6CE: XCreateFontCursor (in /usr/X11R6/lib/libX11.so.6.2)
==2949==    by 0x693CE5B: gdk_cursor_new_for_display (in /usr/lib/libgdk-x11-2.0.so.0.800.16)
==2949==    by 0x6358763: _gtk_tree_view_column_realize_button (in /usr/lib/libgtk-x11-2.0.so.0.800.16)
==2949==  Address 0x913ABD9 is 1,105 bytes inside a block of size 16,384 alloc'd
==2949==    at 0x4A1BD7D: calloc (vg_replace_malloc.c:279)
==2949==    by 0x790B04B: XOpenDisplay (in /usr/X11R6/lib/libX11.so.6.2)
==2949==    by 0x693D892: gdk_display_open (in /usr/lib/libgdk-x11-2.0.so.0.800.16)
==2949==    by 0x691EE0C: gdk_display_open_default_libgtk_only (in /usr/lib/libgdk-x11-2.0.so.0.800.16)
==2949==    by 0x6285653: gtk_init_check (in /usr/lib/libgtk-x11-2.0.so.0.800.16)
==2949==    by 0x6285678: gtk_init (in /usr/lib/libgtk-x11-2.0.so.0.800.16)
==2949==    by 0x5C82CBF: Gtk::Main::init(int*, char***, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.22)
==2949==    by 0x5C82DD3: Gtk::Main::Main(int*, char***, bool) (in /usr/lib/libgtkmm-2.4.so.1.0.22)
==2949==    by 0x59FC6D: studio::App::App(int*, char***) (in /usr/bin/synfigstudio)
==2949==    by 0x587092: main (in /usr/bin/synfigstudio)
==2949== Warning: set address range perms: large range 4294971360, a 0, v 1
==2949== 
==2949== Source and destination overlap in memcpy(0x70D60048, 0x90CE010)
==2949==    at 0x4A1CA62: memcpy (mac_replace_strmem.c:394)
==2949==    by 0x54D29C: char* std::string::_S_construct<__gnu_cxx::__normal_iterator<char*, std::string> >(__gnu_cxx::__normal_iterator<char*, std::string>, __gnu_cxx::__normal_iterator<char*, std::string>, std::allocator<char> const&, std::forward_iterator_tag) (in /usr/bin/synfigstudio)
==2949==    by 0x54D2D8: std::string::string<__gnu_cxx::__normal_iterator<char*, std::string> >(__gnu_cxx::__normal_iterator<char*, std::string>, __gnu_cxx::__normal_iterator<char*, std::string>, std::allocator<char> const&) (in /usr/bin/synfigstudio)
==2949==    by 0x55345F: studio::DockDialog::set_contents(std::string const&) (in /usr/bin/synfigstudio)
==2949==    by 0x54DB19: studio::DockSettings::set_value(std::string const&, std::string const&) (in /usr/bin/synfigstudio)
==2949==    by 0x4C36ACB: synfigapp::Settings::set_value(std::string const&, std::string const&) (in /usr/lib/libsynfigapp.so.0.0.0)
==2949==    by 0x59CB21: studio::App::load_settings() (in /usr/bin/synfigstudio)
==2949==    by 0x5A0EC5: studio::App::App(int*, char***) (in /usr/bin/synfigstudio)
==2949==    by 0x587092: main (in /usr/bin/synfigstudio)
==2949== 



At this point, valgrind starting using nearly 7G (yes, 7G!) of memory,
and I had to give it a swift kill -9.

- -- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (130, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-amd64-k8-smp
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages synfigstudio depends on:
ii  libatk1.0-0              1.11.3-1        The ATK accessibility toolkit
ii  libc6                    2.3.6-7         GNU C Library: Shared libraries
ii  libcairo2                1.0.4-1+b1      The Cairo 2D vector graphics libra
ii  libfontconfig1           2.3.2-5.1       generic font configuration library
ii  libgcc1                  1:4.1.0-1       GCC support library
ii  libglib2.0-0             2.10.2-1        The GLib library of C routines
ii  libglibmm-2.4-1c2a       2.8.2-2.1       C++ wrapper for the GLib toolkit (
ii  libgtk2.0-0              2.8.16-1        The GTK+ graphical user interface 
ii  libgtkmm-2.4-1c2a        1:2.6.5-1       C++ wrappers for GTK+ 2.4 (shared 
ii  libopenexr2c2a           1.2.2-4.2       runtime files for the OpenEXR imag
ii  libpango1.0-0            1.12.1-2        Layout and rendering of internatio
ii  libsigc++-2.0-0c2a       2.0.16-3        type-safe Signal Framework for C++
ii  libstdc++6               4.1.0-1         The GNU Standard C++ Library v3
ii  libsynfig0               0.61.05-4       synfig library
ii  libsynfigapp0            0.61.05-2       synfig GUI library
ii  libx11-6                 6.9.0.dfsg.1-6  X Window System protocol client li
ii  libxcursor1              1.1.3-1         X cursor management library
ii  libxext6                 6.9.0.dfsg.1-6  X Window System miscellaneous exte
ii  libxfixes3               6.9.0.dfsg.1-6  X Window System miscellaneous 'fix
ii  libxi6                   6.9.0.dfsg.1-6  X Window System Input extension li
ii  libxinerama1             6.9.0.dfsg.1-6  X Window System multi-head display
ii  libxml++2.6-1c2a         2.6.1-2.2       A C++ interface to the GNOME XML l
ii  libxml2                  2.6.23.dfsg.2-3 GNOME XML library
ii  libxrandr2               6.9.0.dfsg.1-6  X Window System Resize, Rotate and
ii  libxrender1              1:0.9.0.2-1     X Rendering Extension client libra
ii  zlib1g                   1:1.2.3-11      compression library - runtime

synfigstudio recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFEUUWO+z+IwlXqWf4RAse/AJ9JXD+eYVJiBGSVe4RdPiaqA4KYRgCfemCO
xdQSF914VzChov8R3bAQr1o=
=FwGe
-----END PGP SIGNATURE-----




More information about the pkg-synfig-devel mailing list