Package: xdialog
Version: 2.3.1-2
Severity: important
Xdialog looks for libgnomebreakpad.so (according to strace), but doesnt look in
/usr/lib/gtk-2.0/modules/
where it exists. Thus a Gtk-warning is sent to STDERR, also where the output of
a choice made in an
Xdialog menu is written. In my test script I redirect STDERR to a tmpfile that
is then case'd. The case
statement fails because the Gtk-warning is also written to the tmpfile.
Example script:
#!/bin/sh
menu () {
Xdialog --title "Test Xdialog"\
--menu "Choose 1 or 2" 30 70 18\
"chose1" "Choice 1"\
"chose2" "Choice 2"
}
displaymenu () {
tmpfile=/home/ardy/TESTXDIALOG
menu 2> $tmpfile
OPTION=`cat $tmpfile`
#rm -f $tmpfile
case $OPTION in
chose1)
Xdialog --msgbox "You chose 1." 20 40
;;
chose2)
Xdialog --msgbox "You chose 2." 20 40
;;
esac
}
displaymenu
When executed, the menu comes up, when a choice is made, the case statement
fails due to the contents
of $tmpfile, and the displaymenu function does not re-execute.
The contents of $tmpfile:
Gtk-WARNING (recursed) **: Failed to load module "libgnomebreakpad.so":
libgnomebreakpad.so: cannot open shared
object file: No such file or directory
chose1
The list of directories searched for libgnomebreakpad.so according to strace:
open("/lib/tls/i686/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/lib/tls/i686/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/i686/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/i686/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/tls/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/tls/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/tls/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/tls/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i686/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/lib/i686/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/i686/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/i686/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/lib/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/tls/i686/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/tls/i686/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/tls/i686/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/tls/i686/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/tls/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/tls/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/tls/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/tls/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/i686/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/usr/lib/i686/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/i686/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/i686/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file
or directory)
open("/usr/lib/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/i486-linux-gnu/tls/i686/sse2/cmov/libgnomebreakpad.so", O_RDONLY) =
-1 ENOENT (No such file or
directory)
open("/lib/i486-linux-gnu/tls/i686/sse2/libgnomebreakpad.so", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/tls/i686/cmov/libgnomebreakpad.so", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/tls/i686/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/lib/i486-linux-gnu/tls/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/lib/i486-linux-gnu/tls/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/lib/i486-linux-gnu/tls/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/lib/i486-linux-gnu/tls/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/lib/i486-linux-gnu/i686/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1
ENOENT (No such file or
directory)
open("/lib/i486-linux-gnu/i686/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/lib/i486-linux-gnu/i686/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/lib/i486-linux-gnu/i686/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/lib/i486-linux-gnu/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/lib/i486-linux-gnu/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/lib/i486-linux-gnu/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/lib/i486-linux-gnu/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/lib/i486-linux-gnu/tls/i686/sse2/cmov/libgnomebreakpad.so",
O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/i486-linux-gnu/tls/i686/sse2/libgnomebreakpad.so", O_RDONLY) =
-1 ENOENT (No such file or
directory)
open("/usr/lib/i486-linux-gnu/tls/i686/cmov/libgnomebreakpad.so", O_RDONLY) =
-1 ENOENT (No such file or
directory)
open("/usr/lib/i486-linux-gnu/tls/i686/libgnomebreakpad.so", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/tls/sse2/cmov/libgnomebreakpad.so", O_RDONLY) =
-1 ENOENT (No such file or
directory)
open("/usr/lib/i486-linux-gnu/tls/sse2/libgnomebreakpad.so", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/tls/cmov/libgnomebreakpad.so", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/tls/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/i486-linux-gnu/i686/sse2/cmov/libgnomebreakpad.so", O_RDONLY) =
-1 ENOENT (No such file or
directory)
open("/usr/lib/i486-linux-gnu/i686/sse2/libgnomebreakpad.so", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/i686/cmov/libgnomebreakpad.so", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/i686/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/i486-linux-gnu/sse2/cmov/libgnomebreakpad.so", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/usr/lib/i486-linux-gnu/sse2/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/i486-linux-gnu/cmov/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/lib/i486-linux-gnu/libgnomebreakpad.so", O_RDONLY) = -1 ENOENT (No
such file or directory)
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.24.3-rt3-daw1 (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xdialog depends on:
ii libc6 2.7-6 GNU C Library: Shared libraries
ii libglib1.2ldbl 1.2.10-19 The GLib library of C routines
ii libgtk1.2 1.2.10-18.1 The GIMP Toolkit set of widgets fo
ii libx11-6 2:1.0.3-7 X11 client-side library
ii libxext6 1:1.0.3-2 X11 miscellaneous extension librar
ii libxi6 2:1.1.3-1 X11 Input extension library
xdialog recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]