| Summary: | x11-plugins/bfm-0.6.4 segfaults | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Olaf Walkowiak <olaf> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Olaf Walkowiak
2007-06-04 11:22:43 UTC
Which ebuild and version is this about? Don't see any such thing in the tree. Also see http://www.gentoo.org/proj/en/qa/backtraces.xml Sorry: x11-plugins/bfm I already followed http://www.gentoo.org/proj/en/qa/backtraces.xml but get no usable info. Rigth now waiting for next crash, I'll post the result when it happens Backtrace not very enlightning: gdb /usr/bin/bubblefishymon --core ./core --batch --quiet -ex "thread apply all bt full" -ex "quit" (no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". warning: Can't read pathname for load map: Input/output error. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) Core was generated by `bubblefishymon'. Program terminated with signal 11, Segmentation fault. #0 0x0804b17d in ?? () Thread 1 (process 15654): #0 0x0804b17d in ?? () No symbol table info available. #1 0xffffffff in ?? () No symbol table info available. #2 0x0805d612 in ?? () No symbol table info available. #3 0x0808ab30 in ?? () No symbol table info available. #4 0x00000011 in ?? () No symbol table info available. #5 0x00000396 in ?? () No symbol table info available. #6 0x00000264 in ?? () No symbol table info available. #7 0x00000001 in ?? () No symbol table info available. #8 0x00000000 in ?? () No symbol table info available. actual version: x11-plugins/bfm-0.6.4 Well, the above backtrace is just useless; recompile all the dependencies as well. (In reply to comment #5) > Well, the above backtrace is just useless; I know :-(( > recompile all the dependencies as > well. Any idea what dependency may cause the problem? I doubt it is gtk+. Additional Info: x11-plugins/gkrellm-bfm-0.6.4 shows the same behaviour. I encountered this bug too with x11-plugins/bfm-0.6.4-r1.
It seems that if optimizations are enabled (-O1 or more) it segfaults as soon as memory usage increases enough for the water level to reach the top of the program's display. With optimizations disabled (-O0) the problem disappears. Here's a backtrace:
* gdb /usr/bin/bubblefishymon --batch --quiet -ex run -ex "thread apply all bt full" -ex "quit"
[Thread debugging using libthread_db enabled]
[New Thread 0xb738f710 (LWP 17327)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb738f710 (LWP 17327)]
0x0804adfe in duck_set (x=45, y=<value optimized out>, nr=<value optimized out>, rev=1, upsidedown=1) at bubblemon.c:1522
1522 r = _R(cmap);
Thread 1 (Thread 0xb738f710 (LWP 17327)):
#0 0x0804adfe in duck_set (x=45, y=<value optimized out>, nr=<value optimized out>, rev=1, upsidedown=1) at bubblemon.c:1522
r = 0 '\0'
g = 132 '\204'
b = 183 '�'
w = 0
h = 0
rw = <value optimized out>
rh = <value optimized out>
dw = 11
di = 0
dh = 17
ds = <value optimized out>
cmap = <value optimized out>
#1 0x0804c9ff in main (argc=804228911, argv=0x8f2fef8f) at bubblemon.c:1591
execute = "hducpmkfn::t", '\0' <repeats 243 times>
proximity = 0
ch = <value optimized out>
event = <value optimized out>
To make it crash quickly, run it, and at the same time do something that uses a lot of RAM, e.g.: perl -e 'while (1) { $x .= "." x 10000; }'
Compiled with:
sys-devel/gcc-4.3.2
sys-libs/glibc-2.9_p20081201
sys-devel/binutils-2.19
HOST="i686-pc-linux-gnu"
CFLAGS="-O1 -pipe -ggdb"
(initially I had CFLAGS="-O2 -march=pentium4 -msse2 -mfpmath=sse -fomit-frame-pointer -pipe -ggdb", and trimmed them for the above backtrace - although as far as I can tell, the extra options don't make any difference)
Could this bug be reopened? Or should I report this upstream?
|