Package: giftui
Version: 0.4.1-6
Followup-For: Bug #350519

Starting giftui causes a segfault in debian testing:

[EMAIL PROTECTED]:~ 16:42  $ giftui
Segmentation fault

The problem can be found in the file ui_about.c:

- around L45, in the GiftuiAboutColumn_t typedef, five 
items, including ABOUT_VERSION are placed before ABOUT_ICON

- around L106, in the list of column headers, four headers are defined, 
not including "Version"

- finally around L156, in the column creation code, an attempt is made 
to define column titles from the column header list, using ABOUT_ICON as 
a termination condition.

Correcting this code so that the termination condition when creating 
columns matches the number of items in the column headers fixes the 
segmentation fault.




gdb backtrace:

(gdb) run
Starting program: /usr/local/bin/giftui 
[Thread debugging using libthread_db enabled]
[New Thread -1218082592 (LWP 11604)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218082592 (LWP 11604)]
0xb77d1cd3 in strlen () from /lib/tls/libc.so.6
(gdb) bt
#0  0xb77d1cd3 in strlen () from /lib/tls/libc.so.6
#1  0xb7973a8e in g_strdup () from /usr/lib/libglib-2.0.so.0
#2  0xb7e9757d in gtk_tree_view_column_set_title ()
   from /usr/lib/libgtk-x11-2.0.so.0
#3  0x080593ca in giftui_about_init ()
#4  0xb79ecd46 in g_type_create_instance () from 
/usr/lib/libgobject-2.0.so.0
#5  0xb79d1f42 in g_object_thaw_notify () from 
/usr/lib/libgobject-2.0.so.0
#6  0xb79d25bf in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#7  0xb79d31cf in g_object_new_valist () from 
/usr/lib/libgobject-2.0.so.0
#8  0xb79d3320 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#9  0x0805a023 in giftui_about_new ()
#10 0x08053189 in giftui_main_window_load_tabs ()
#11 0x080533ed in giftui_main_window_create ()
#12 0x08053613 in main ()




-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)

Versions of packages giftui depends on:
ii  gconf2                    2.12.1-9       GNOME configuration database syste
ii  libatk1.0-0               1.10.3-1       The ATK accessibility toolkit
ii  libc6                     2.3.5-13       GNU C Library: Shared libraries an
ii  libcairo2                 1.0.2-3        The Cairo 2D vector graphics libra
ii  libfontconfig1            2.3.2-1.1      generic font configuration library
ii  libgconf2-4               2.12.1-9       GNOME configuration database syste
ii  libgift0                  0.11.8.1-1     helper library for various giFT co
ii  libglib2.0-0              2.8.6-1        The GLib library of C routines
ii  libgtk2.0-0               2.8.12-1       The GTK+ graphical user interface 
ii  liborbit2                 1:2.12.4-1     libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0             1.10.4-1       Layout and rendering of internatio
ii  libx11-6                  6.9.0.dfsg.1-4 X Window System protocol client li
ii  libxcursor1               1.1.3-1        X cursor management library
ii  libxext6                  6.9.0.dfsg.1-4 X Window System miscellaneous exte
ii  libxi6                    6.9.0.dfsg.1-4 X Window System Input extension li
ii  libxinerama1              6.9.0.dfsg.1-4 X Window System multi-head display
ii  libxrandr2                6.9.0.dfsg.1-4 X Window System Resize, Rotate and
ii  libxrender1               1:0.9.0.2-1    X Rendering Extension client libra

giftui recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to