I attempted to run the default root-portal setup and
got a crash in root-portal after I launched a terminal
(process listing is the first default plugin)
Backtrace was generated from '/usr/bin/root-portal'
[New Thread 1024 (LWP 31331)]
0x407060b9 in wait4 () from /lib/libc.so.6
#0 0x407060b9 in wait4 () from /lib/libc.so.6
#1 0x40784cb0 in __DTOR_END__ () from /lib/libc.so.6
#2 0x401c78e3 in waitpid () from /lib/libpthread.so.0
#3 0x400a042b in gnome_segv_handle () from
/usr/lib/libgnomeui.so.32
#4 <signal handler called>
#5 0x4045d102 in XTextWidth () from
/usr/X11R6/lib/libX11.so.6
#6 0x0809d44e in Roottext::display() (this=0x80fcd80)
at /usr/include/g++-v32/bits/basic_string.h:781
#7 0x0809cca4 in Roottext::updated(std::string const&,
DataSet const&) (
this=0x80fcd80, keyName=@0x7a6e, data=@0x1) at
roottext.cpp:181
#8 0x08060cfe in Module::outputReceived(DataSetMap
const&) (this=0x1,
rOutput=@0x7a6e) at
/usr/include/g++-v32/bits/stl_tree.h:202
#9 0x08060cad in Module::receiveOutput(DataSetMap
const&) (this=0x7a6e,
rOutput=@0x8100e50) at module.cpp:55
#10 0x08060b86 in Module::sendOutput() (this=0x8100ea0)
at module.cpp:48
#11 0x08090326 in Procload::load(std::string const&,
int, std::string const&) (
this=0x8100ea0, timestamp=@0xfffffe00, pid=-512,
processName=@0xfffffe00)
at process.cpp:301
#12 0x0808f42b in ProcessMonitor::process_start(int)
(this=0xbffff100,
index=135270048) at
/usr/include/g++-v32/bits/stl_iterator.h:593
#13 0x0808f8f1 in ProcessMonitor::read_processes(bool)
(this=0xbffff100,
notify_new=true) at process.cpp:235
#14 0x0808fa50 in ProcessMonitor::service()
(this=0x80b9800) at process.cpp:258
#15 0x08060825 in Module::service() (this=0x80fcd80)
at /usr/include/g++-v32/bits/stl_iterator.h:593
#16 0x0809d564 in Roottext::service() (this=0x80fcd80)
at roottext.cpp:230
#17 0x08060825 in Module::service() (this=0x80fcd80)
at /usr/include/g++-v32/bits/stl_iterator.h:593
#18 0x0805d761 in RootPortal::service()
(this=0x80bb478) at module_tree.h:73
#19 0x0805dadb in roundnroundnroundwego(void*)
(data=0x0) at main.cpp:507
Thread 1 (Thread 1024 (LWP 31331)):
#0 0x407060b9 in wait4 () from /lib/libc.so.6
No symbol table info available.
#1 0x40784cb0 in __DTOR_END__ () from /lib/libc.so.6
No symbol table info available.
#2 0x401c78e3 in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#3 0x400a042b in gnome_segv_handle () from
/usr/lib/libgnomeui.so.32
No symbol table info available.
#4 <signal handler called>
No symbol table info available.
#5 0x4045d102 in XTextWidth () from
/usr/X11R6/lib/libX11.so.6
No symbol table info available.
#6 0x0809d44e in Roottext::display() (this=0x80fcd80)
at /usr/include/g++-v32/bits/basic_string.h:781
textline = {static npos = #0 0x407060b9 in wait4 ()
from /lib/libc.so.6
gcc 3.2, glibc 2.2.5, Gentoo 1.4,
CFLAGS="-march=athlon-tbird -O2"
Logged In: YES
user_id=140447
correction, it crashes when I load "process mon" module
Logged In: YES
user_id=140447
<?xml version="1.0"?>
<Configuration sticky="\">
<Roottext xpos="0" ypos="0" width="1024" height="100"
colour="#de1323" font="-
monotype-times new
roman-medium-r-normal-*-14-*-*-*-p-*-adobe-standard" draw_bac
kground="0" background_colour="#6c5fee" timed_redraw="1"
timed_redraw_skip="10"
sticky="\">
<ProcessLoad
format="$(timestamp):$(process_name)[$(pid)]" sticky="\"/>
<ProcessClose format="$(timestamp) &lt;&lt;&lt;
$(process_name)[$(pid)]" sti
cky="\"/>
</Roottext>
</Configuration>
Logged In: YES
user_id=23699
A quick look at the bit of code that it seems to be crashing
in doesn't seem to reveal any obvious problem. A few things
that you might try to help track down the cause of the problem:
Try setting the Roottext module to use a different font.
Try adding a Filetail, then see if it crashes when new lines
are added to the file being tailed.
Try different with Roottexts, since the code it's crashing
in is seeing how much text it can fit into the available space.
Thanks