Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#756770: xfce4-whiskermenu-plugin: it segfaults

53 views
Skip to first unread message

Moritz Molle

unread,
Aug 1, 2014, 10:50:01 AM8/1/14
to
Package: xfce4-whiskermenu-plugin
Version: 1.3.2-1
Severity: important

Dear Maintainer,

* What led up to the situation?
I inserted the Whiskermenu into my xfce-panel. The icon appeared and i
clicked it. Xfce informed me, the plugin had crashed.

Also dmesg said this:
[93815.848872] panel-25-whiske[23910]: segfault at 8 ip b6ca3d26 sp bf9be3a4 error 4 in libc-2.19.so[b6c21000+1a5000]

~/.xsession_errors contains this:


(wrapper:25251): garcon-CRITICAL **: garcon_menu_item_set_name: assertion 'g_utf8_validate (name, -1, NULL)' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str1 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str1 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str1 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str1 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str1 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_collate: assertion 'str2 != NULL' failed

(wrapper:25251): GLib-CRITICAL **: g_utf8_casefold: assertion 'str != NULL' failed

(xfce4-panel:24665): GLib-CRITICAL **: g_child_watch_add_full:
assertion 'pid > 0' failed

thanks and keep up the good work!

mo

-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.10-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages xfce4-whiskermenu-plugin depends on:
ii libc6 2.19-7
ii libcairo2 1.12.16-2
ii libexo-1-0 0.10.2-3
ii libgarcon-1-0 0.2.1-1
ii libgcc1 1:4.9.1-1
ii libglib2.0-0 2.40.0-3
ii libgtk2.0-0 2.24.24-1
ii libstdc++6 4.9.1-1
ii libxfce4ui-1-0 4.10.0-5
ii libxfce4util6 4.10.1-1
ii xfce4-panel 4.10.1-1

xfce4-whiskermenu-plugin recommends no packages.

xfce4-whiskermenu-plugin suggests no packages.

-- no debconf information


--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Yves-Alexis Perez

unread,
Aug 1, 2014, 12:00:02 PM8/1/14
to
On ven., 2014-08-01 at 16:42 +0200, Moritz Molle wrote:
> * What led up to the situation?
> I inserted the Whiskermenu into my xfce-panel. The icon appeared and i
> clicked it. Xfce informed me, the plugin had crashed.
>
> Also dmesg said this:
> [93815.848872] panel-25-whiske[23910]: segfault at 8 ip b6ca3d26 sp
> bf9be3a4 error 4 in libc-2.19.so[b6c21000+1a5000]

It seems to work just fine for me. Can you provide a backtrace? See
http://docs.xfce.org/xfce/xfce4-panel/debugging for some help.

Regards,
--
Yves-Alexis
signature.asc

Moritz Molle

unread,
Aug 4, 2014, 10:20:01 AM8/4/14
to
Tried PANEL_DEBUG=gdb and PANEL_DEBUG=valgrind, both of which i have
installed. Panel said it would save logs to /tmp but didn't. Also it
didn't write to ~/tmp.
It's recommended to use a debug-version of the problematic plugin to get
better backtraces (probably then compiled with -g) but there is no -dbg
package in the jessie repositories.
I will try to compile it myself.

regards,

mo

Moritz Molle

unread,
Aug 4, 2014, 10:30:02 AM8/4/14
to
Something learned: PANEL_DEBUG=foo xfce4-panel -r doesn't work.

So now here is a trace (without debug-symbols) in the attachment.

regards,

mo

Yves-Alexis Perez wrote, On 01.08.2014 17:50:
1407162250_gdb_whiskermenu_11.log

Moritz Molle

unread,
Aug 4, 2014, 10:50:02 AM8/4/14
to
It gets even more fascinating :)
To get debug information, i tried to compile it myself. To get the right
version (the one in jessie) i got the source by
apt-get source xfce4-whiskermenu-plugin
and
apt-get build-dep xfce4-whiskermenu-plugin

I amended the WHISKERMENU_FLAGS in CMakeList.txt by -g

then I tried

debian/rules binary

yadda yadda. compile. scroll...

cd
/home/mmolle/xfce4-whiskermenu-plugin-1.3.2/obj-i486-linux-gnu/panel-plugin
&& ./libwhiskermenu.so
/bin/sh: Zeile 1: 31230 Speicherzugriffsfehler ./libwhiskermenu.so
panel-plugin/CMakeFiles/whiskermenu.dir/build.make:643: recipe for
target 'panel-plugin/libwhiskermenu.so' failed

('Speicherzugriffsfehler' is segfault)

I then tried to do this by hand in gdb (I really don't quite get why you
would run a .so?!)

mmolle@mokbox:~/xfce4-whiskermenu-plugin-1.3.2/obj-i486-linux-gnu/panel-plugin$
gdb ./libwhiskermenu.so
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1.1+b1)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/mmolle/xfce4-whiskermenu-plugin-1.3.2/obj-i486-linux-gnu/panel-plugin/libwhiskermenu.so...done.
(gdb) run
Starting program:
/home/mmolle/xfce4-whiskermenu-plugin-1.3.2/obj-i486-linux-gnu/panel-plugin/./libwhiskermenu.so


Program received signal SIGSEGV, Segmentation fault.
__exchange_and_add_dispatch (__val=-1, __mem=0x8)
at /usr/include/c++/4.9/ext/atomicity.h:84
84 return __exchange_and_add_single(__mem, __val);
(gdb)

regards,

mo


Yves-Alexis Perez wrote, On 01.08.2014 17:50:

Yves-Alexis Perez

unread,
Aug 5, 2014, 4:40:01 AM8/5/14
to
On lun., 2014-08-04 at 16:44 +0200, Moritz Molle wrote:
> Program received signal SIGSEGV, Segmentation fault.
> __exchange_and_add_dispatch (__val=-1, __mem=0x8)
> at /usr/include/c++/4.9/ext/atomicity.h:84
> 84 return __exchange_and_add_single(__mem, __val);
> (gdb)
>

It'd help to run with LANG=C because I don't speak a german word :)
Also, please provide a full backtrace (bt full).

By the way, do you do something special or just starting the plugin
makes it crash?

Regards,
--
Yves-Alexis
signature.asc

Moritz Molle

unread,
Aug 6, 2014, 3:30:02 PM8/6/14
to
Hi again,

Below is the 'bt full' you wanted. This is not the plugin used in the
panel but running the .so. (which i get trying to compile it myself with
-g for debugging symbols. And which is run by the make process which
terminates there, because of a segfault (What sense does it make it to
execute a .so? ))

As to when the plugin crashes in the panel: I add it to the panel and
the icon (the menubutton) gets displayed. When I click it, the frame
opens in which the menu should be displayed, the loading indicator
rotates, 1-2-3 secs, and *poof* it's gone.

I suspect something about my old and probably unclean
menufiles/.desktop-files/icons whatnot.. (It's a really old Debian,
started off as woody and was never reinstalled. Just updated. I had all
the kdes and all the gnomes. But the normal menu works.)
The traces I get seem not to support that suspicion (just a hunch).

regards,

mo

mmolle@mokbox:~/xfce4-whiskermenu-plugin-1.3.2/obj-i486-linux-gnu/panel-plugin$
gdb libwhiskermenu.so
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1.1+b1)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/mmolle/xfce4-whiskermenu-plugin-1.3.2/obj-i486-linux-gnu/panel-plugin/libwhiskermenu.so...done.
(gdb) run
Starting program:
/home/mmolle/xfce4-whiskermenu-plugin-1.3.2/obj-i486-linux-gnu/panel-plugin/libwhiskermenu.so


Program received signal SIGSEGV, Segmentation fault.
__exchange_and_add_dispatch (__val=-1, __mem=0x8) at
/usr/include/c++/4.9/ext/atomicity.h:84
84 return __exchange_and_add_single(__mem, __val);
(gdb) bt full
#0 __exchange_and_add_dispatch (__val=-1, __mem=0x8) at
/usr/include/c++/4.9/ext/atomicity.h:84
No locals.
#1 std::string::_Rep::_M_dispose (this=0x0, __a=...) at
/usr/include/c++/4.9/bits/basic_string.h:246
No locals.
(gdb)

Yves-Alexis Perez

unread,
Feb 8, 2019, 5:00:03 AM2/8/19
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Wed, 2014-08-06 at 21:21 +0200, Moritz Molle wrote:
> As to when the plugin crashes in the panel: I add it to the panel and
> the icon (the menubutton) gets displayed. When I click it, the frame
> opens in which the menu should be displayed, the loading indicator
> rotates, 1-2-3 secs, and *poof* it's gone.

Hi,

it's been (quite) a while. Does the current version still crashes for you?

Regards,
- --
Yves-Alexis
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAlxdUfUACgkQ3rYcyPpX
RFsXzAf/cQiwFUoTNLelg/CQbWVHZM3BJxJ6TAptCrD7WEqJEGtd1qbCM1VhKxlo
XlbZi9vdH3DclzL3NQiNGWCzdcUsNZZsdwijkKAiv7C/EWFbng5EdhLxY4QjQj0J
mZo7g2gfBimfbtvQkAYQF5ZBKajLXsUsXHO0JUPe4O+X2jcVAIK1RhA4zsIQL9Ob
POcSBqR6nTFjGIkQRTJTWDa8MMCXRzqe4DDskjvRw+Fw4Nzz1NGleIH7lG0N5JAR
ZZi0qTVtqfO3kklc0unTKfKYttyonf2paWwca6iPuS3aHdQcANfQLavDqyQxqyii
UKX0HgbzpGS4Sol7fLZXwW7KLwQHCA==
=US/s
-----END PGP SIGNATURE-----
0 new messages