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
>
> -----Ursprüngliche Nachricht-----
> Von: Amos Jeffries [mailto:squid3_at_treenet.co.nz]
> Gesendet: Dienstag, 21. Juli 2009 11:57
> An: Zeller, Jan
> Cc: squid-users_at_squid-cache.org
> Betreff: Re: AW: AW: AW: [squid-users] Squid 3.1.0.11 beta is available
>
> Zeller, Jan wrote:
>> Hi Amos,
>>
>> I entered this :
>>
>> # gdb --args ./squid -NCXd9
>>
>> and got this :
>>
>> 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.
>>
>> hmmm...am I doing something wrong ?
>
> Sorry my fault.
>
> gdb --args squid -NCXd9
> .....
> (gdb) run
>
> "bt" is after the crash to display.
>
>
>
-- Please be using Current Stable Squid 2.7.STABLE6 or 3.0.STABLE16 Current Beta Squid 3.1.0.10 or 3.1.0.11Received on Tue Jul 21 2009 - 10:21:57 MDT
This archive was generated by hypermail 2.2.0 : Tue Jul 21 2009 - 12:00:03 MDT