Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 409663

Summary: x11-misc/bbweather - segmentation fault in free () from /lib/libc.so.6
Product: Gentoo Linux Reporter: Jeroen Roovers (RETIRED) <jer>
Component: Current packagesAssignee: Desktop WM Team (OBSOLETE) <desktop-wm+disabled>
Status: RESOLVED OBSOLETE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=402713
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 397261    

Description Jeroen Roovers (RETIRED) gentoo-dev 2012-03-25 17:21:40 UTC
Same setup as in bug #402713, but now with x11-wm/blackbox installed.

jeroen@elmer ~ $ bbweather ZLYS
Segmentation fault (core dumped)
jeroen@elmer ~ $ gdb `which bbweather` core 
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 "hppa2.0-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/bin/bbweather...Reading symbols from /mnt/alt/debug/usr/bin/bbweather.debug...done.
done.
BFD: Warning: /home/jeroen/core is truncated: expected core file size >= 2048000, found: 1925120.
[New LWP 4726]
threCore was generated by `bbweather ZLYS'.
Program terminated with signal 11, Segmentation fault.
#0  0x40d87af0 in free () from /lib/libc.so.6
(gdb) thread apply all bt full

Thread 1 (LWP 4726):
#0  0x40d87af0 in free () from /lib/libc.so.6
No symbol table info available.
#1  0x00017ce0 in BaseResource::ReadDefaultResource (this=0x29e40)
    at Baseresource.cpp:275
        value = {size = 171584, addr = 0x1e008 "/home/jeroen/.wmWeatherReports"}
        value_type = 0xfb273d75 "/home/jeroen"
#2  0x0001841c in BaseResource::BaseResource (this=0x29e40, toolwindow=<optimized out>)
    at Baseresource.cpp:61
        homedir = <optimized out>
#3  0x00016de4 in Resource::Resource (this=0x29e40, toolwindow=<optimized out>)
    at resource.cpp:26
No locals.
#4  0x00012640 in ToolWindow::ToolWindow (this=0x1e040, opts=<optimized out>)
    at bbweather.cpp:92
No locals.
#5  0x00013804 in main (argc=2, argv=<optimized out>) at bbweather.cpp:743
        c = <optimized out>
        opts = {optwithdrawn = false, optmetric = false, optcycle = false, 
          optextra = false, optshape = false, opttime = 0, optupdt = 10, 
          optstation = 0x1e030 "ZLYS", 
          wthrdir = 0x1e008 "/home/jeroen/.wmWeatherReports", 
          cnfg = 0x1a964 "/usr/share/bbtools/bbweather.conf", geom = 0x0, zone = 0}
        AppWindow = <optimized out>
        home = <optimized out>
        subdir = 0x1a990 ".wmWeatherReports"
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-11-25 09:40:22 UTC
I can't reproduce that. Could you attach whatever defaults that are read from /home/jeroen/.wmWeatherReports possibly without put of strace?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-11-26 13:06:50 UTC
After fixing bug #402713, I can't reproduce this either.