Bug#376443: bug-buddy: applets are erroneously printed to come
from /usr/libexec/
Samuel Mimram
smimram at debian.org
Mon Jul 3 00:09:50 UTC 2006
Package: bug-buddy
Version: 2.14.0-1
Severity: normal
Hi,
I recently filed a bug report against a gnome applet (sensors-applet, #376394).
The maintainers were surprised because of the following line in the
backtrace generated by bug-buddy:
Backtrace was generated from '/usr/libexec/sensors-applet'
It was strange because sensors-applet is installed in /usr/lib/gnome-panel/.
Apparently it comes from the line 276 in gdb-buddy.c:
long_app = g_find_program_in_path (app);
if (!long_app) {
/* Applets are not in path... */
long_app = g_strconcat(GNOMELIBEXECDIR,"/", app, NULL);
}
short_app = app;
where GNOMELIBEXECDIR is defined in config.h by
/* Libexec directory */
#define GNOMELIBEXECDIR "/usr/libexec"
Later on in gdb-buddy.c (line 319) the mentionned lined is printed by:
s = g_strdup_printf ("Backtrace was generated from '%s'\n\n", long_app);
It would be nice if a more suitable path could be used instead. Apparently,
some applets are installed in /usr/lib/gnome-panel/ and others in
/usr/lib/gnome-applets/. I don't know if there's a good reason for that.
Thanks!
Cheers,
Samuel.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Versions of packages bug-buddy depends on:
ii gconf2 2.14.0-1 GNOME configuration database syste
ii gdb 6.4.90.dfsg-1 The GNU Debugger
ii libbonobo2-0 2.14.0-1 Bonobo CORBA interfaces library
ii libc6 2.3.6-15 GNU C Library: Shared libraries
ii libgconf2-4 2.14.0-1 GNOME configuration database syste
ii libglade2-0 1:2.5.1-2 library to load .glade files at ru
ii libglib2.0-0 2.10.3-2 The GLib library of C routines
ii libgnome-desktop-2 2.14.2-2 Utility library for loading .deskt
ii libgnome-menu2 2.14.0-3 an implementation of the freedeskt
ii libgnome2-0 2.14.1-2 The GNOME 2 library - runtime file
ii libgnomeui-0 2.14.1-2 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 2.14.2-1 GNOME virtual file-system (runtime
ii libgtk2.0-0 2.8.18-1 The GTK+ graphical user interface
ii liborbit2 1:2.14.0-2 libraries for ORBit2 - a CORBA ORB
ii libxml2 2.6.26.dfsg-1 GNOME XML library
ii scrollkeeper 0.3.14-11 A free electronic cataloging syste
bug-buddy recommends no packages.
-- no debconf information
More information about the Pkg-gnome-maintainers
mailing list