Um 16:41 Uhr am 24.04.09 schrieb Sven Hartge:

> I modified the amule-sources to include an amule-dbg package and managed
> to grab the following backtrace. It is not perfect, libcrypto8++ misses a
> debug package as well.

Now I've added a debug package to libcrypto as well and got an even better 
backtrace:

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 "i486-linux-gnu"...
(gdb) run
Starting program: /usr/bin/amule 
[Thread debugging using libthread_db enabled]
[New Thread 0xf67a8970 (LWP 32527)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xf67a8970 (LWP 32527)]
0x0f9cce2f in ?? ()
(gdb) bt full
#0  0x0f9cce2f in ?? ()
No symbol table info available.
#1  0xfc5eb04d in ?? ()
No symbol table info available.
#2  0x00001220 in ?? ()
No symbol table info available.
#3  0xf7ded836 in CryptoPP::IteratedHashBase<unsigned int, 
CryptoPP::HashTransformation>::TruncatedFinal (this=0xfff9a948, 
    digest=0x861b108 "", size=32) at iterhash.cpp:127
        dataBuf = (unsigned int *) 0xfff9aa08
        stateBuf = (unsigned int *) 0xf7f92980
        blockSize = <value optimized out>
        order = 4158576667
#4  0xf7e1cc88 in CryptoPP::RandomPool::IncorporateEntropy (this=0x861b100, 
input=0x8bac1f0 "\"âG\003=", length=32)
    at cryptlib.h:556
        hash = {<CryptoPP::IteratedHashWithStaticTransform<unsigned int, 
CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, 32u, CryptoPP::SHA256, 32u, 
true>> = {<CryptoPP::ClonableImpl<CryptoPP::SHA256, 
CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, 
CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, 
CryptoPP::HashTransformation>, CryptoPP::SHA256> >> = 
{<CryptoPP::AlgorithmImpl<CryptoPP::IteratedHash<unsigned int, 
CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, 
CryptoPP::HashTransformation>, CryptoPP::SHA256>> = 
{<CryptoPP::IteratedHash<unsigned int, 
CryptoPP::EnumToType<CryptoPP::ByteOrder, 1>, 64u, 
CryptoPP::HashTransformation>> = {<CryptoPP::IteratedHashBase<unsigned int, 
CryptoPP::HashTransformation>> = {<CryptoPP::HashTransformation> = 
{<CryptoPP::Algorithm> = {<CryptoPP::Clonable> = {
                  _vptr.Clonable = 0x842ca28}, <No data fields>}, <No data 
fields>}, m_countLo = 64, m_countHi = 0}, 
          static BLOCKSIZE = <optimized out>, static cryptopp_assert_63 = 
<optimized out>, 
          m_data = {<CryptoPP::SecBlock<unsigned int, 
CryptoPP::FixedSizeAllocatorWithCleanup<unsigned int, 16u, 
CryptoPP::NullAllocator<unsigned int>, false> >> = {m_alloc = 
{<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, m_array = {
                  0, 0, 0, 0, 0, 0, 0, 0, 585254659, 1023442137, 3470578087, 
2457549288, 1494164292, 3176221056, 
                  3133873890, 181073552}, 
                m_fallbackAllocator = {<CryptoPP::AllocatorBase<unsigned int>> 
= {<No data fields>}, <No data fields>}, 
                m_allocated = true}, m_size = 16, 
              m_ptr = 0xfff9a958}, <No data fields>}}, <No data fields>}, <No 
data fields>}, 
    static DIGESTSIZE = <optimized out>, 
    m_state = {<CryptoPP::FixedSizeSecBlock<unsigned int, 16u, 
CryptoPP::FixedSizeAllocatorWithCleanup<unsigned int, 16u, 
CryptoPP::NullAllocator<unsigned int>, true> >> = {<CryptoPP::SecBlock<unsigned 
int, CryptoPP::FixedSizeAllocatorWithCleanup<unsigned int, 16u, 
CryptoPP::NullAllocator<unsigned int>, true> >> = {
          m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data 
fields>}, m_array = {1779033703, 3144134277, 
              1013904242, 2773480762, 1359893119, 2600822924, 528734635, 
1541459225, 0, 134625518, 2041, 0, 138393368, 1, 
              4156006940, 4159836268}, 
            m_fallbackAllocator = {<CryptoPP::AllocatorBase<unsigned int>> = 
{<No data fields>}, <No data fields>}, 
            m_allocated = true}, m_size = 16, m_ptr = 0xfff9a9a8}, <No data 
fields>}, <No data fields>}}, <No data fields>}
#5  0xf7e104ba in CryptoPP::AutoSeededRandomPool::Reseed (this=0x861b100, 
blocking=<value optimized out>, seedSize=32)
    at osrng.cpp:164
        seed = {m_alloc = {<CryptoPP::AllocatorBase<unsigned char>> = {<No data 
fields>}, <No data fields>}, m_size = 32, 
  m_ptr = 0x8bac1f0 "\"âG\003="}
#6  0x0823645c in global constructors keyed to _Z13GetRandomPoolv () at 
/usr/include/cryptopp/osrng.h:89
No locals.
#7  0x082c1f1d in __do_global_ctors_aux ()
No locals.
#8  0x0807e5c0 in _init ()
No locals.
#9  0x082c1eb9 in __libc_csu_init ()
No locals.
#10 0xf72d270c in __libc_start_main (main=0x815d840 <main>, argc=1, 
ubp_av=0xfff9ab34, init=0x82c1ea0 <__libc_csu_init>, 
    fini=0x82c1e90 <__libc_csu_fini>, rtld_fini=0xf7f8d840 <_dl_fini>, 
stack_end=0xfff9ab2c) at libc-start.c:181
        result = <value optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {23, 0, 138388512, 1, 
-148077568, -134627340}, mask_was_saved = 1}}, 
  priv = {pad = {0x8083d00, 0x0, 0xf7f92980, 0xf72d269d}, data = {prev = 
0x8083d00, cleanup = 0x0, 
      canceltype = -134665856}}}
        not_first_call = <value optimized out>
#11 0x08083d21 in _start () at ../sysdeps/i386/elf/start.S:119
No locals.
(gdb) q
The program is running.  Exit anyway? (y or n)


Grüße,
Sven.
 



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to