[Pkg-amule-devel] Bug#850768: Bug#850768: amule-daemon fails on startup (same as #840496)

David Garabana dgb97 at yahoo.com
Wed Jan 11 01:56:02 UTC 2017


This is the output:
$ gdb /usr/bin/amuled
GNU gdb (Debian 7.12-4) 7.12
Copyright (C) 2016 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/amuled...Reading symbols from /usr/lib/debug/.build-id/89/0cb07d296d003ad4318cc328d3de5c4b0034c7.debug...done.
done.
(gdb) run
Starting program: /usr/bin/amuled 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
02:45:51: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).
 2017-01-11 02:45:51: Initialising aMuleD 2.3.2 compiled with wxBase(GTK2) v3.0.2 and Boost 1.62
 2017-01-11 02:45:51: Checking if there is an instance already running...
 2017-01-11 02:45:52: No other instances are running.
Assertion failed: ../../../../src/libs/common/Path.cpp:CPath:258: Assertion 'm_printable.Length()' failed. 
Backtrace follows:
[3] wxOnAssert(char const*, int, char const*, char const*, char const*) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff654acda]
[4] ?? in /usr/bin/amuled[0x5555556e75f2]
[5] ?? in /usr/bin/amuled[0x5555556920b7]
[6] ?? in /usr/bin/amuled[0x55555569ca4e]
[7] ?? in /usr/bin/amuled[0x55555559b825]
[8] ?? in /usr/bin/amuled[0x55555558feaf]
[9] wxEntry(int&, wchar_t**) in /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0[0x7ffff65dd332]
[10] ?? in /usr/bin/amuled[0x555555588352]
[11] __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6[0x7ffff58c32b1]
[12] ?? in /usr/bin/amuled[0x55555558e7ba]


Program received signal SIGABRT, Aborted.
raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:58
58      ../sysdeps/unix/sysv/linux/raise.c: No existe el fichero o el directorio.
(gdb) bt
#0  raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1  0x000055555559da79 in CamuleApp::OnAssertFailure (this=0x555555a03250, file=0x555555a0dba0 L"../../../../src/libs/common/Path.cpp", line=258, 
    func=0x555555a27da0 L"CPath", cond=0x555555a2dc90 L"m_printable.Length()", msg=0x7fffffffda40 L"") at ../../src/amule.cpp:1103
#2  0x00007ffff6551522 in ?? () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#3  0x00007ffff654acda in wxOnAssert(char const*, int, char const*, char const*, char const*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#4  0x00005555556e75f2 in CPath::CPath (this=0x7fffffffde80, filename=...) at ../../../../src/libs/common/Path.cpp:258
#5  0x00005555556920b7 in CPreferences::ReloadSharedFolders (this=this at entry=0x555555a07a50) at ../../src/Preferences.cpp:1787
#6  0x000055555569ca4e in CPreferences::CPreferences (this=0x555555a07a50) at ../../src/Preferences.cpp:958
#7  0x000055555559b825 in CamuleApp::OnInit (this=0x555555a03250) at ../../src/amule.cpp:403
#8  0x000055555558feaf in CamuleDaemonApp::OnInit (this=0x555555a03250) at ../../src/amuled.cpp:649
#9  0x00007ffff65dd332 in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x0000555555588352 in main (argc=<optimized out>, argv=<optimized out>) at ../../src/amuled.cpp:125
(gdb)  bt full
#0  raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:58
        set = {__val = {0, 6560158273900786531, 7575124113595642417, 7074999379835166830, 7308345407957855849, 3834029161541819236, 8028075845441778497, 7234307576302018670, 
            3834029160418063736, 723493362987394360, 3417785037644526453, 3484489123475320161, 6715484261448495458, 3395835516828991264, 140733193388033, 0}}
        pid = <optimized out>
        tid = <optimized out>
#1  0x000055555559da79 in CamuleApp::OnAssertFailure (this=0x555555a03250, file=0x555555a0dba0 L"../../../../src/libs/common/Path.cpp", line=258, 
    func=0x555555a27da0 L"CPath", cond=0x555555a2dc90 L"m_printable.Length()", msg=0x7fffffffda40 L"") at ../../src/amule.cpp:1103
        errmsg = {static npos = 18446744073709551615, 
          m_impl = L"Assertion failed: ../../../../src/libs/common/Path.cpp:CPath:258: Assertion 'm_printable.Length()' failed. \nBacktrace follows:\n[3] wxOnAssert(char const*, int, char const*, char const*, char const*) i"..., m_convertedToChar = {m_str = 0x0, m_len = 140737351944660}}
#2  0x00007ffff6551522 in ?? () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
No symbol table info available.
#3  0x00007ffff654acda in wxOnAssert(char const*, int, char const*, char const*, char const*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
No symbol table info available.
#4  0x00005555556e75f2 in CPath::CPath (this=0x7fffffffde80, filename=...) at ../../../../src/libs/common/Path.cpp:258
        fn = {<wxCharTypeBuffer<char>> = {<wxScopedCharTypeBuffer<char>> = {m_data = 0x555555a26a10}, <No data fields>}, <No data fields>}
#5  0x00005555556920b7 in CPreferences::ReloadSharedFolders (this=this at entry=0x555555a07a50) at ../../src/Preferences.cpp:1787
        path = {m_printable = {static npos = 18446744073709551615, m_impl = L"", m_convertedToChar = {m_str = 0x0, m_len = 35}}, m_filesystem = {
            static npos = 18446744073709551615, m_impl = L"/srv/Media/Rápido", m_convertedToChar = {m_str = 0x0, m_len = 16487151685194834688}}}
        i = 0
        lines = {m_nSize = 16, m_nCount = 1, m_pItems = 0x555555a069b8, m_autoSort = false}
        file = {m_file = {m_fp = 0x555555a07ab0, m_name = {static npos = 18446744073709551615, m_impl = L"/srv/Descargas/.aMule/shareddir.dat", m_convertedToChar = {
                m_str = 0x0, m_len = 37}}}, m_mode = CTextFile::read}
#6  0x000055555569ca4e in CPreferences::CPreferences (this=0x555555a07a50) at ../../src/Preferences.cpp:958
        fullpath = {static npos = 18446744073709551615, m_impl = L"/srv/Descargas/.aMule/preferences.dat", m_convertedToChar = {
            m_str = 0x555555a08130 "/srv/Descargas/.aMule/preferences.dat", m_len = 37}}
        preffile = {<CFileDataIO> = {_vptr.CFileDataIO = 0x5555559bf350 <vtable for CFile+16>}, m_fd = 3, m_filePath = {m_printable = {static npos = 18446744073709551615, 
              m_impl = L"/srv/Descargas/.aMule/preferences.dat", m_convertedToChar = {m_str = 0x0, m_len = 93824993941423}}, m_filesystem = {
              static npos = 18446744073709551615, m_impl = L"/srv/Descargas/.aMule/preferences.dat", m_convertedToChar = {m_str = 0x0, m_len = 93824997150512}}}, 
          m_safeWrite = false}
        slistfile = {m_file = {m_fp = 0x555555a0dbc0, m_name = {static npos = 18446744073709551615, m_impl = <error: Cannot access memory at address 0x1d>, 
              m_convertedToChar = {m_str = 0xffffffffffffff00 <error: Cannot access memory at address 0xffffffffffffff00>, m_len = 93824997172848}}}, 
          m_mode = (CTextFile::write | unknown: 28)}
#7  0x000055555559b825 in CamuleApp::OnInit (this=0x555555a03250) at ../../src/amule.cpp:403
        outDir = {m_printable = {static npos = 18446744073709551615, 
            m_impl = L"\017\000sr\000\000㡥\000\001\000\xe2056300\xe4ce211a\xffffebbc翿\xe2056300\xe4ce211a\001\000\xe2056300\xe4ce211a\xffffece0翿\000\000\x5558e790啕\xffffece0翿\000\000\000\000\x559c4c80啕\xf65dd332翿\000\000\000\000\x557331b0啕\x55588352啕\xffffece0翿\000\001\000\000\xf58c32b1翿\024\000\xffffece8翿\xf79a2078\001\x55588340啕\000\000\x7be392bb\xab55f5b8\x5558e790啕\xffffece0翿\000\000\000\000\xc0a392bb\xfe00a0a1\x7c5192bb\xfe00b446\000\000\000\000\000\000\xffffecf8翿\xf7ffe168翿\xf7de96eb翿\000\000\000\000\x5558e790啕\xffffece0翿\000\000\x5558e7ba啕\xffffecd8翿\034\000\001\000\xffffeece翿\000\000\xffffeede翿\xffffeeed翿\xffffeefe翿\xffffef14翿\xffffef20翿\xffffef39翿\xffffef42翿\xffffef56翿\xffffef62翿\xffffef78翿\xffffef83翿\xffffef93翿\xffffef9b翿\xffffefaa翿\000\000!\000\xf7ffa000翿\020\000\x178bfbff\000\006\000က\000\021\000d\000\003\000\x55554040啕\004\000\070\000\005\000\n\000\a\000\xf7dda000翿\b\000\000\000\t\000\x5558e790啕\v\000ߐ\000\f\000ߐ\000\r\000ߐ\000\016\000ߐ\000\027\000\000\000"..., m_convertedToChar = {m_str = 0x7fffffffeba0 "\220\347XUUU", m_len = 140737351944660}}, m_filesystem = {static npos = 18446744073709551615, 
            m_impl = L"", m_convertedToChar = {m_str = 0x7fffffffeaf0 "\240\353\377\377\377\177", m_len = 140737351975023}}}
        old_localedef = <optimized out>
        langId = {static npos = 18446744073709551615, m_impl = L"", m_convertedToChar = {m_str = 0x7ffff7fe9870 "h\341\377\367\377\177", m_len = 17}}
        vfile = <incomplete type>
        newMule = {static npos = 18446744073709551615, m_impl = L"", m_convertedToChar = {m_str = 0x7ffff7feaf18 "", m_len = 140737488348776}}
        msg = {static npos = 18446744073709551615, m_impl = L"", m_convertedToChar = {m_str = 0x7fffffffe664 "", m_len = 140737488348976}}
#8  0x000055555558feaf in CamuleDaemonApp::OnInit (this=0x555555a03250) at ../../src/amuled.cpp:649
No locals.
#9  0x00007ffff65dd332 in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
No symbol table info available.
#10 0x0000555555588352 in main (argc=<optimized out>, argv=<optimized out>) at ../../src/amuled.cpp:125
No locals.
(gdb) thread apply all bt

Thread 1 (Thread 0x7ffff7fe3740 (LWP 14437)):
#0  raise (sig=6) at ../sysdeps/unix/sysv/linux/raise.c:58
#1  0x000055555559da79 in CamuleApp::OnAssertFailure (this=0x555555a03250, file=0x555555a0dba0 L"../../../../src/libs/common/Path.cpp", line=258, 
    func=0x555555a27da0 L"CPath", cond=0x555555a2dc90 L"m_printable.Length()", msg=0x7fffffffda40 L"") at ../../src/amule.cpp:1103
#2  0x00007ffff6551522 in ?? () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#3  0x00007ffff654acda in wxOnAssert(char const*, int, char const*, char const*, char const*) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#4  0x00005555556e75f2 in CPath::CPath (this=0x7fffffffde80, filename=...) at ../../../../src/libs/common/Path.cpp:258
#5  0x00005555556920b7 in CPreferences::ReloadSharedFolders (this=this at entry=0x555555a07a50) at ../../src/Preferences.cpp:1787
#6  0x000055555569ca4e in CPreferences::CPreferences (this=0x555555a07a50) at ../../src/Preferences.cpp:958
#7  0x000055555559b825 in CamuleApp::OnInit (this=0x555555a03250) at ../../src/amule.cpp:403
#8  0x000055555558feaf in CamuleDaemonApp::OnInit (this=0x555555a03250) at ../../src/amuled.cpp:649
#9  0x00007ffff65dd332 in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x0000555555588352 in main (argc=<optimized out>, argv=<optimized out>) at ../../src/amuled.cpp:125
(gdb) 

 

    El Martes 10 de enero de 2017 3:45, Sandro Tosi <morph at debian.org> escribió:
 

 On Mon, Jan 9, 2017 at 7:22 PM, David Garabana Barro <dgb97 at yahoo.com> wrote:
>        Unsharing directories with non english characters made it start again. Once you share a single non english name, it crash again on start.

could you install amule-dbg and run amule thru gdb and once it crashes
run "bt ; bt full ; thread apply all bt" in gdb prompt? thanks

-- 
Sandro "morph" Tosi
My website: http://sandrotosi.me/
Me at Debian: http://wiki.debian.org/SandroTosi
G+: https://plus.google.com/u/0/+SandroTosi


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-amule-devel/attachments/20170111/750adeb9/attachment-0001.html>


More information about the Pkg-amule-devel mailing list