! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-fsguard-plugin-1.0.0 crashes while trying to type path from keyboard
Status:
RESOLVED: INVALID
Product:
Xfce4-fsguard-plugin
Component:
General

Comments

Description Ikonta 2012-09-25 08:59:57 CEST
By default xfce4-fsguard-plugin shows '/'.
That is not very useful on systems with multiple partitions (or disks).
Trying to type another mount point (for example '/home') crashes plugin.
But pasteing required string from memory buffer works OK.

Error message from xsession:

xfce4-panel-Message: Plugin fsguard-26 has been automatically restarted after crash.

P.S. Could anybody help me to get trace of panel plugin crash?
Comment 1 Ikonta 2012-09-25 14:13:30 CEST
dmesg | tail | grep fsguard
reports following:

[ 7230.412500] xfce4-fsguard-p[5639]: segfault at e1d000 ip 00007f5e92f70280 sp 00007fff1e57d650 error 4 in libglib-2.0.so.0.3200.2[7f5e92f21000+125000]

dev-libs/glib-2.32.2

amd64 arch, Gentoo GNU/Linux
Comment 2 Mike Massonnet editbugs 2012-09-29 23:35:15 CEST
Hello,

If you have some time to reexperiment the crash, please run the plugin through gdb. Here is an example to do that: http://wiki.xfce.org/howto/panel_plugin_debug#debug_with_gdb_short_example

Regards,
Mike
Comment 3 Ikonta 2012-09-30 12:45:34 CEST
(In reply to comment #2)
> If you have some time to reexperiment the crash, please run the plugin
> through gdb. Here is an example to do that:
> http://wiki.xfce.org/howto/panel_plugin_debug#debug_with_gdb_short_example

Thank you for instruction.

gdb output if the following (crash is the result of keyborad typing mount point, pasteing string from memory buffer works fine):

$ cat fsguard-gdb.log 
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 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 "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/lib64/xfce4/panel-plugins/xfce4-fsguard-plugin...(no debugging symbols found)...done.
Starting program: /usr/lib64/xfce4/panel-plugins/xfce4-fsguard-plugin '' 38 21024737 fsguard-debug Проверка\ свободного\ места\ \(strace\) Контроль\ свободного\ места\ на\ диске ''
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff667cf80 in g_markup_escape_text () from /usr/lib64/libglib-2.0.so.0
#0  0x00007ffff667cf80 in g_markup_escape_text () from /usr/lib64/libglib-2.0.so.0
#1  0x00007ffff77a3ad4 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#2  0x00007ffff696c04f in g_object_set_valist () from /usr/lib64/libgobject-2.0.so.0
#3  0x00007ffff696cad4 in g_object_set () from /usr/lib64/libgobject-2.0.so.0
#4  0x00000000004064c5 in _start ()
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
Comment 4 Landry Breuil editbugs 2014-11-23 21:42:08 CET
Mass-reassign all bugs from florian@ to goodies-dev@, thanks for the maintenance work! (and sorry for the bugmail spam..)
Comment 5 Landry Breuil editbugs 2014-11-23 21:56:11 CET
I cant reproduce this issue here, when you type something in the box the plugin incrementally tries to check for diskspace at each keypress (ie say you want to go for /home, it will check /h then /ho then /hom...) that looks suboptimal, but doesnt crash here.
Strangely, it complains that it fails to check disk usage for / in the tooltip, although it displays the free space fine..
Comment 6 Landry Breuil editbugs 2015-03-04 09:06:53 CET
Can you try reproducing this with 1.0.2 ?

Bug #9328

Reported by:
Ikonta
Reported on: 2012-09-25
Last modified on: 2020-05-21

People

Assignee:
Xfce-Goodies Maintainers
CC List:
3 users

Version

Attachments

Additional information