aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: cvs r10330 proper bactrace  (Read 3069 times)

Attila

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 77
    • Ljubljana Phonology
cvs r10330 proper bactrace
« on: October 28, 2010, 08:49:43 PM »

Debian Squeeze 2.6.32-5-amd64
compiled cvs  r10330 with no problems
Crashes immediately on start up
Backtrace:
Code: [Select]
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /tmp/aMule-SVN-r10330/src/amule...done.
(gdb) run
Starting program: /tmp/aMule-SVN-r10330/src/amule
[Thread debugging using libthread_db enabled]
Assertion failed: ./include/wx/strvararg.h:wxArgNormalizer:449: Assertion '(argtype & (wxFormatStringSpecifier<T>::value)) == argtype' failed. format specifier doesn't match argument type

Backtrace follows:

Program received signal SIGSEGV, Segmentation fault.
__wcslen (s=0x0) at wcslen.c:30
30      wcslen.c: No such file or directory.
        in wcslen.c
Current language:  auto
The current source language is "auto; currently c".
(gdb) bt
#0  __wcslen (s=0x0) at wcslen.c:30
#1  0x00007ffff582bbe1 in operator+(wchar_t const*, wxString const&) ()
   from /usr/local/lib/libwx_baseu-2.9.so.1
#2  0x00000000007eb84a in operator+ (buf=..., string=...)
    at /usr/local/include/wx-2.9/wx/string.h:4022
#3  0x00000000007eaedc in get_backtrace (n=3) at MuleDebug.cpp:405
#4  0x00000000007eb6da in print_backtrace (n=3) at MuleDebug.cpp:476
#5  0x0000000000459985 in CamuleApp::OnAssertFailure (this=0xda8a40,
    file=0xe3af70 L"./include/wx/strvararg.h", line=449,
    func=0xe3af20 L"wxArgNormalizer",
    cond=0xe3ae20 L"(argtype & (wxFormatStringSpecifier<T>::value)) == argtype",
    msg=0xe3a8d0 L"format specifier doesn't match argument type") at amule.cpp:1086
#6  0x00007ffff57419d6 in ?? () from /usr/local/lib/libwx_baseu-2.9.so.1
#7  0x00007ffff573e406 in wxOnAssert(char const*, int, char const*, char const*, char const*) () from /usr/local/lib/libwx_baseu-2.9.so.1
#8  0x00007ffff5bc6b29 in wxIPV4address::IPAddress() const ()
   from /usr/local/lib/libwx_baseu_net-2.9.so.1
#9  0x00000000007c3fe8 in StringHosttoUint32 (Host=...) at NetworkFunctions.cpp:83
#10 0x00000000004534dc in CamuleApp::OnInit (this=0xda8a40) at amule.cpp:380
#11 0x0000000000672e94 in CamuleGuiApp::OnInit (this=0xda8a40) at amule-gui.cpp:276
#12 0x0000000000460f7f in wxAppConsoleBase::CallOnInit (this=0xda8a40)
    at /usr/local/include/wx-2.9/wx/app.h:92
#13 0x00007ffff57e0e34 in wxEntry(int&, wchar_t**) ()
   from /usr/local/lib/libwx_baseu-2.9.so.1
#14 0x0000000000671eaf in main (argc=1, argv=0x7fffffffe2c8) at amule-gui.cpp:94
---------------------------------------------------------------------------------
(gdb) bt full
#0  __wcslen (s=0x0) at wcslen.c:30
        len = <value optimized out>
#1  0x00007ffff582bbe1 in operator+(wchar_t const*, wxString const&) ()
   from /usr/local/lib/libwx_baseu-2.9.so.1
No symbol table info available.
#2  0x00000000007eb84a in operator+ (buf=..., string=...)
    at /usr/local/include/wx-2.9/wx/string.h:4022
No locals.
#3  0x00000000007eaedc in get_backtrace (n=3) at MuleDebug.cpp:405
        function = {static npos = 18446744073709551615,
          static ms_cache = <error reading variable>
        demangled = {static npos = 18446744073709551615,
          static ms_cache = <error reading variable>
        addr = 4498937
        i = 13
        libname = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
              _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxString>> = {<No data fields>}, <No data fields>}, _M_start = 0xe46610,
                _M_finish = 0xe468b0,
                _M_end_of_storage = 0xe468b0}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu_deb---Type <return> to continue, or q <return> to quit---
ug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
              _M_version = 1}, <No data fields>}, _M_guaranteed_capacity = 14}
        funcname = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
              _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxString>> = {<No data fields>}, <No data fields>}, _M_start = 0xe468c0,
                _M_finish = 0xe46b60,
                _M_end_of_storage = 0xe46b60}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu_debug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
              _M_version = 1}, <No data fields>}, _M_guaranteed_capacity = 14}
        out = {m_nSize = 36, m_nCount = 27, m_pItems = 0x16e2838,
          m_autoSort = false}
        __FUNCTION__ = "get_backtrace"
        bt_array = {0x7ea449, 0x7eb6da, 0x459985, 0x7ffff57419d6, 0x7ffff573e406,
          0x7ffff5bc6b29, 0x7c3fe8, 0x4534dc, 0x672e94, 0x460f7f, 0x7ffff57e0e34,
          0x671eaf, 0x7ffff4bdec4d, 0x44a5f9, 0x1, 0x0, 0x1, 0x7ffff7fd19f8, 0x0,
          0x0, 0x0, 0x0, 0x0, 0x7ffff7fd1d50, 0x7fffffffc5a0, 0x7fffffffc5b8,
          0x100000000, 0x7ffff56f9fd0, 0xe42d78, 0x0, 0x0, 0x30, 0x0,
          0x7ffff7de7dda, 0xe42c48, 0x1e, 0x0, 0x7ffff4f1ce50, 0x7ffff7fbf848,
          0x7fffffffc620, 0x7ffff7fbf848, 0x0, 0x7ffffbad8004, 0x1e,
          0x7fffffffca20, 0x7ffff7de7dda, 0x7fffffffa5c0, 0x7fffffffa67c,
          0x7fffffffc5c0, 0x7fffffffc670, 0x7ffff7fbf868, 0x7ffff7de7e14,
          0xd827590, 0x7fffffffc6a0, 0x0, 0x7fffffffc6a0, 0xf7fbf7f0, 0x3d,
          0x661b4bde, 0x0, 0x0, 0x1e, 0x1986d2f, 0x40797c, 0x7fffffffc800,
          0x4083a0, 0xffffffff, 0x7ffff7fcf000, 0x7ffff663b1fa, 0x7ffff4f19bc0,
          0x7ffff4f1b860, 0x0, 0x7ffff7fbe4f8, 0x7ffff7ffe128, 0x7ffff7bd1f10,
          0x7ffff4f1b860, 0x7fff00000000, 0x0, 0x100000852, 0x7ffff4f1b860,
          0x7fffffffcda0, 0xfbad2086, 0x7fffffffcdb0, 0x7ffff4c01e2e,
          0x7fffffffc878, 0x7ffff7fd19f8, 0x661b4bde, 0x7ffff7de8872, 0x0,
          0x7ffff7fbe4f8, 0x7fff00000001, 0x0, 0x1, 0x7ffff7fd19f8, 0x7fffffffc7d0,
          0x7fffffffc7e8, 0x1f7fbf848, 0x7ffff663b1fa, 0x0, 0x7ffff7fd1d50}
        num_entries = 14
        hasLineNumberInfo = false
        trace = {static npos = 18446744073709551615,
          static ms_cache = <error reading variable>
        bt_strings = 0xe46120
        address = {<std::__norm::vector<wxString, std::allocator<wxString> >> = {<std::__norm::_Vector_base<wxString, std::allocator<wxString> >> = {
              _M_impl = {<std::allocator<wxString>> = {<__gnu_cxx::new_allocator<wxString>> = {<No data fields>}, <No data fields>}, _M_start = 0xe46b70,
                _M_finish = 0xe46e10,
                _M_end_of_storage = 0xe46e10}}, <No data fields>}, <__gnu_debug::_Safe_sequence<std::__debug::vector<wxString, std::allocator<wxString> > >> = {<__gnu_deb---Type <return> to continue, or q <return> to quit---
ug::_Safe_sequence_base> = {_M_iterators = 0x0, _M_const_iterators = 0x0,
              _M_version = 1}, <No data fields>}, _M_guaranteed_capacity = 14}
        AllAddresses = {static npos = 18446744073709551615,
          static ms_cache = <error reading variable>
#4  0x00000000007eb6da in print_backtrace (n=3) at MuleDebug.cpp:476
        trace = {static npos = 18446744073709551615,
          static ms_cache = <error reading variable>
#5  0x0000000000459985 in CamuleApp::OnAssertFailure (this=0xda8a40,
    file=0xe3af70 L"./include/wx/strvararg.h", line=449,
    func=0xe3af20 L"wxArgNormalizer",
    cond=0xe3ae20 L"(argtype & (wxFormatStringSpecifier<T>::value)) == argtype",
    msg=0xe3a8d0 L"format specifier doesn't match argument type") at amule.cpp:1086
        errmsg = {static npos = 18446744073709551615,
          static ms_cache = <error reading variable>
#6  0x00007ffff57419d6 in ?? () from /usr/local/lib/libwx_baseu-2.9.so.1
No symbol table info available.
#7  0x00007ffff573e406 in wxOnAssert(char const*, int, char const*, char const*, char const*) () from /usr/local/lib/libwx_baseu-2.9.so.1
No symbol table info available.
#8  0x00007ffff5bc6b29 in wxIPV4address::IPAddress() const ()
   from /usr/local/lib/libwx_baseu_net-2.9.so.1
No symbol table info available.
#9  0x00000000007c3fe8 in StringHosttoUint32 (Host=...) at NetworkFunctions.cpp:83
        solver = <incomplete type>
        result = 0
#10 0x00000000004534dc in CamuleApp::OnInit (this=0xda8a40) at amule.cpp:380
        newMule = {static npos = 18446744073709551615,
          static ms_cache = <error reading variable>
        msg = {static npos = 18446744073709551615,
          static ms_cache = <error reading variable>
        outDir = {<CPrintable> = {_vptr.CPrintable = 0x7ffff591c350},
          m_printable = {static npos = 18446744073709551615,
            static ms_cache = <error reading variable>, m_filesystem = {
            static npos = 18446744073709551615,
            static ms_cache = <error reading variable>}
        vfile = <incomplete type>
        langId = {static npos = 18446744073709551615,
          static ms_cache = <error reading variable>
#11 0x0000000000672e94 in CamuleGuiApp::OnInit (this=0xda8a40) at amule-gui.cpp:276
No locals.
#12 0x0000000000460f7f in wxAppConsoleBase::CallOnInit (this=0xda8a40)
    at /usr/local/include/wx-2.9/wx/app.h:92
No locals.
#13 0x00007ffff57e0e34 in wxEntry(int&, wchar_t**) ()
   from /usr/local/lib/libwx_baseu-2.9.so.1
No symbol table info available.
#14 0x0000000000671eaf in main (argc=1, argv=0x7fffffffe2c8) at amule-gui.cpp:94
No locals.
-----------------------------------------------------------------------------

(gdb) thread apply all bt
Thread 1 (Thread 0x7ffff7fba920 (LWP 9756)):
#0  __wcslen (s=0x0) at wcslen.c:30
#1  0x00007ffff582bbe1 in operator+(wchar_t const*, wxString const&) ()
   from /usr/local/lib/libwx_baseu-2.9.so.1
#2  0x00000000007eb84a in operator+ (buf=..., string=...)
    at /usr/local/include/wx-2.9/wx/string.h:4022
#3  0x00000000007eaedc in get_backtrace (n=3) at MuleDebug.cpp:405
#4  0x00000000007eb6da in print_backtrace (n=3) #12 0x0000000000460f7f in wxAppConsoleBase::CallOnInit (this=0xda8a40)
    at /usr/local/include/wx-2.9/wx/app.h:92
#13 0x00007ffff57e0e34 in wxEntry(int&, wchar_t**) ()
   from /usr/local/lib/libwx_baseu-2.9.so.1
#14 0x0000000000671eaf in main (argc=1, argv=0x7fffffffe2c8) at amule-gui.cpp:94
at MuleDebug.cpp:476
#5  0x0000000000459985 in CamuleApp::OnAssertFailure (this=0xda8a40,
    file=0xe3af70 L"./include/wx/strvararg.h", line=449,
    func=0xe3af20 L"wxArgNormalizer",
    cond=0xe3ae20 L"(argtype & (wxFormatStringSpecifier<T>::value)) == argtype",
    msg=0xe3a8d0 L"format specifier doesn't match argument type") at amule.cpp:1086
#6  0x00007ffff57419d6 in ?? () from /usr/local/lib/libwx_baseu-2.9.so.1
#7  0x00007ffff573e406 in wxOnAssert(char const*, int, char const*, char const*, char const*) () from /usr/local/lib/libwx_baseu-2.9.so.1
#8  0x00007ffff5bc6b29 in wxIPV4address::IPAddress() const ()
   from /usr/local/lib/libwx_baseu_net-2.9.so.1
#9  0x00000000007c3fe8 in StringHosttoUint32 (Host=...) at NetworkFunctions.cpp:83
#10 0x00000000004534dc in CamuleApp::OnInit (this=0xda8a40) at amule.cpp:380
#11 0x0000000000672e94 in CamuleGuiApp::OnInit (this=0xda8a40) at amule-gui.cpp:276
This thread should replace the one found in Amule Crashes posted under my name (Attila) earlier today.  Sorry about the mix up.
cheers,
Attila
Logged