[Goodies-dev] genmon-plugin not working on OpenBSD

Landry landry at fr.homeunix.org
Thu Aug 3 16:28:12 CEST 2006


Hello list,

I've successfully built genmon-plugin-svn (running xfce-svn), but when i 
add it to the panel, it immediately disappears (i can't configure it), 
and i get this in ~/.xsession-errors :

* (xfce4-panel:16135): CRITICAL **: An item was unexpectedly removed: 
"Generic Monitor".

when i backtrace the generated core, i get this :
#0  0x1c00572e in genmon_Spawn (argv=0x87f01000, p_pcOutput=0x872b45e0 
"", p_BufferSize=256, wait=1) at cmdspawn.c:168
168         if (!(*argv)) {
(gdb) bt
#0  0x1c00572e in genmon_Spawn (argv=0x87f01000, p_pcOutput=0x872b45e0 
"", p_BufferSize=256, wait=1) at cmdspawn.c:168
#1  0x1c005aa6 in genmon_SpawnCmd (p_pcCmdLine=0x872b4424 "", 
p_pcOutput=0x872b45e0 "", p_BufferSize=256, wait=1) at cmdspawn.c:264
#2  0x1c002805 in DisplayCmdOutput (p_poPlugin=0x872b4400) at main.c:120
#3  0x1c002ee5 in SetTimer (p_pvPlugin=0x872b4400) at main.c:245
#4  0x1c004730 in genmon_construct (plugin=0x8302e068) at main.c:796
#5  0x04201072 in xfce_external_panel_plugin_construct () from 
/local/lib/libxfce4panel.so.2.0
#6  0x0420153a in _plugin_event_received () from 
/local/lib/libxfce4panel.so.2.0
#7  0x03c0ae22 in gtk_marshal_VOID__UINT_STRING () from 
/usr/local/lib/libgtk-x11-2.0.so.802.1
#8  0x0c4f9f1e in g_closure_invoke () from 
/usr/local/lib/libgobject-2.0.so.1000.3
#9  0x0c509f91 in g_signal_emit_by_name () from 
/usr/local/lib/libgobject-2.0.so.1000.3
#10 0x0c508f61 in g_signal_emit_valist () from 
/usr/local/lib/libgobject-2.0.so.1000.3
#11 0x0c50939b in g_signal_emit () from 
/usr/local/lib/libgobject-2.0.so.1000.3
#12 0x03cdb0bc in gtk_widget_send_expose () from 
/usr/local/lib/libgtk-x11-2.0.so.802.1
#13 0x03c08df0 in gtk_main_do_event () from 
/usr/local/lib/libgtk-x11-2.0.so.802.1
#14 0x07a1ac8a in gdk_x11_register_standard_event_type () from 
/usr/local/lib/libgdk-x11-2.0.so.802.1
#15 0x0b2f6894 in g_main_depth () from /usr/local/lib/libglib-2.0.so.1000.3
#16 0x0b2f786d in g_main_context_dispatch () from 
/usr/local/lib/libglib-2.0.so.1000.3
#17 0x0b2f7b92 in g_main_context_dispatch () from 
/usr/local/lib/libglib-2.0.so.1000.3
#18 0x0b2f809e in g_main_loop_run () from 
/usr/local/lib/libglib-2.0.so.1000.3
#19 0x03c086d7 in gtk_main () from /usr/local/lib/libgtk-x11-2.0.so.802.1
#20 0x1c0048c2 in main (argc=7, argv=0xcf7d0c24) at main.c:819

Any idea for this crash ?

Generally, is there a way to launch manually a plugin to debug it from 
the start/trace interactively it in gdb ?
how can i add a plugin to the panel using a commandline ?

Landry



More information about the Goodies-dev mailing list