Package: libgtk2.0-0
Version: 2.8.17-1
Severity: normal

hello

I was trying to redesign my package 'gpr' to use GTK2,
when I ran into a bug that seems a  "GTK vs xml" bug.

The attached simple program works ok if I compile it as

$ gcc -o works test.c -g  ` pkg-config gtk+-2.0 --cflags --libs `

but always crashes when I click on the file button in the main window,
 if I compile it as

$ gcc -o fails test.c -g  ` pkg-config gtk+-2.0 --cflags --libs ` -lxml

This latter is then linked with 
ii  libxml1        1.8.17-13      GNOME XML library

and gdb reports a mess between libxml2.so and libxml1.so

(gdb) whe 8
#0  0xa78867f8 in xmlParserInputShrink () from /usr/lib/libxml.so.1
#1  0xa788b88d in xmlParseCharDataComplex () from /usr/lib/libxml.so.1
#2  0xa70c0cad in xmlParseCharData () from /usr/lib/libxml2.so.2
#3  0xa70cd8e0 in xmlParseChunk () from /usr/lib/libxml2.so.2
#4  0xa7160ef4 in xmlUCSIsCat () from /usr/lib/libxml2.so.2
#5  0xa7161f1a in xmlTextReaderRead () from /usr/lib/libxml2.so.2
#6  0xa73a6055 in gnome_vfs_mime_thaw () from /usr/lib/libgnomevfs-2.so.0
#7  0xa73a640d in gnome_vfs_mime_get_value () from /usr/lib/libgnomevfs-2.so.0
(More stack frames follow...)


I include the output of 
$ ldd works | sed 's/(.*//' > works.ldd

$ ldd fails | sed 's/(.*//' > fails.ldd

a.

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

Versions of packages libgtk2.0-0 depends on:
ii  libatk1.0-0                 1.11.4-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  libglib2.0-0                2.10.2-1     The GLib library of C routines
ii  libgtk2.0-bin               2.8.17-1     The programs for the GTK+ graphica
ii  libgtk2.0-common            2.8.17-1     Common files for the GTK+ graphica
ii  libjpeg62                   6b-12        The Independent JPEG Group's JPEG 
ii  libpango1.0-0               1.12.1-2     Layout and rendering of internatio
ii  libpng12-0                  1.2.8rel-5.1 PNG library - runtime
ii  libtiff4                    3.8.2-1      Tag Image File Format (TIFF) libra
ii  libx11-6                    2:1.0.0-6    X11 client-side library
ii  libxcursor1                 1.1.5.2-5    X cursor management library
ii  libxext6                    1:1.0.0-4    X11 miscellaneous extension librar
ii  libxfixes3                  1:3.0.1.2-4  X11 miscellaneous 'fixes' extensio
ii  libxi6                      1:1.0.0-5    X11 Input extension library
ii  libxinerama1                1:1.0.1-4    X11 Xinerama extension library
ii  libxrandr2                  2:1.1.0.2-4  X11 RandR extension library
ii  libxrender1                 1:0.9.0.2-4  X Rendering Extension client libra

Versions of packages libgtk2.0-0 recommends:
ii  hicolor-icon-theme            0.8-3      default fallback theme for FreeDes

-- no debconf information

-- 
Andrea Mennucc
 "E' un mondo difficile. Che vita intensa!" (Tonino Carotone)

Attachment: gtk_file_chooser_button.tar.gz
Description: Binary data

Attachment: signature.asc
Description: Digital signature

Reply via email to