Search squid archive

AW: AW: AW: AW: AW: Squid 3.1.0.11 beta is available

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Amos,

I now explicitly enabled 

--enable-stacktraces Enable automatic call backtrace on fatal errors

during the build and added CFLAGS="-g -ggdb" in front of ./configure 
but the result seems to be the same...

# ./squid -v
Squid Cache: Version 3.1.0.11
configure options:  '--prefix=/opt/squid-3.1.0.11' '--enable-icap-client' '--enable-ssl' '--enable-linux-netfilter' '--disable-ipv6' '--disable-translation' '--disable-auto-locale' '--with-pthreads' '--with-filedescriptors=32768' '--enable-stacktraces' 'CFLAGS=-g -ggdb' --with-squid=/usr/local/src/squid-3.1.0.11 --enable-ltdl-convenience
2009/07/21 15:43:50| assertion failed: mem.cc:236: "size == StrPoolsAttrs[i].obj_size"
Aborted

# gdb --args ./squid -NCXd9
GNU gdb 6.8-debian
Copyright (C) 2008 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 "x86_64-linux-gnu"...
(gdb) bt
No stack.
(gdb) quit

I also followed the guidelines on http://wiki.squid-cache.org/SquidFaq/TroubleShooting#head-b09c6d3a618b5b8aca46a10bd1c5d88c38375ed2

# nm ./squid |head
0000000000959d00 B AS_tree_head
0000000000965740 B AclMatchedName
                 U BIO_ctrl@@OPENSSL_0.9.8
                 U BIO_free@@OPENSSL_0.9.8
                 U BIO_new@@OPENSSL_0.9.8
                 U BIO_new_file@@OPENSSL_0.9.8
                 U BIO_s_mem@@OPENSSL_0.9.8
00000000008580d8 D Biggest_FD
00000000005fb168 R CacheDigestHashFuncCount
00000000008cf880 B CcFieldsInfo

What am I doing wrong here ?

kind regards,

Jan

-----Ursprüngliche Nachricht-----
Von: Amos Jeffries [mailto:squid3@xxxxxxxxxxxxx] 
Gesendet: Dienstag, 21. Juli 2009 12:22
An: Zeller, Jan
Cc: squid-users@xxxxxxxxxxxxxxx
Betreff: Re: AW: AW: AW: AW:  Squid 3.1.0.11 beta is available

Zeller, Jan wrote:
> No problem Amos I consulted the man gdb ;) and I also tried "run" in the gdb console but there is still the "No stack" message ...?
> 
> (gdb) run -NXCd9
> .
> .
> .
> 2009/07/21 12:00:43.919| assertion failed: mem.cc:236: "size == StrPoolsAttrs[i].obj_size"
> Program exited with code 01.
> (gdb) bt
> No stack.
> (gdb) quit
> 
> Do you need all the other stuff right from the start ?

There are many ways to run stuff with gdb. The one I gave was simply the 
easiest to instruct. The way you just did was another.

I think the "no stack" is probably the lack of debug symbols in your 
build. You will need to check/fix that before we can continue. I don't 
know how you build Squid so can't help with this bit I'm sorry.

Amos




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux