[ccache] Re: ccache segfault
Henry Vogt
hv at tuebingen.mpg.de
Tue Feb 21 11:28:38 GMT 2006
Martin Pool <mbp <at> sourcefrog.net> writes:
>
> On 16 Nov 2005, "Jim C. Nasby" <decibel <at> decibel.org> wrote:
> > http://lnk.nu/lists.freebsd.org/63f.html is a problem I'm running
> > across, and some googling indicates that this might be an issue on other
> > OSes using libcrypto as well. Has anyone else seen this?
>
> "Using" libcrypto, or building it?
>
> If you can reproduce it, would you please get a backtrace from the core
> file and post it here? Something like this:
>
> % gdb `which ccache` core
> gdb> backtrace full
>
Since i've got the similar/same problemduring buildworld on FreeBSD/amd64, i did
as you suggested and here is the result:
Unfortunately i have no debugging symbols enabled, so the only interesting
information seems to be the fact that ccache died with signal 11 due to:
Cannot access memory at address 0x800000000000
Should i turn on Debugging or is this hint sufficient to find out what's
going wrong ? Can i provide more information to help ?
--- C U T ---
kaa:/usr/obj/usr/src/secure/lib/libcrypto $ gdb `which ccache` ccache.core
GNU gdb 6.1.1 [FreeBSD]
...
Core was generated by `ccache'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libmd.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libmd.so.3
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0 0x0000000800802426 in memcpy () from /lib/libc.so.6
(gdb) backtrace full
#0 0x0000000800802426 in memcpy () from /lib/libc.so.6
No symbol table info available.
#1 0x0000000000403f7c in ?? ()
No symbol table info available.
#2 0x00000000004044a2 in dirname ()
No symbol table info available.
#3 0x0000000000404526 in dirname ()
No symbol table info available.
... thousands of similar lines deleted ...
#1910 0x00000000000001c8 in ?? ()
No symbol table info available.
#1911 0x00007fffffffd2c8 in ?? ()
No symbol table info available.
#1912 0x000000000000002f in ?? ()
No symbol table info available.
Cannot access memory at address 0x800000000000
(gdb)
--- C U T ---
the correspoding logfile ends with:
--- C U T ---
...
building static crypto library
building shared library libcrypto.so.4
ranlib libcrypto.a
Segmentation fault (core dumped)
*** Error code 139
...
--- C U T ---
Regards
Henry
More information about the ccache
mailing list