View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001565aMuleMessagespublic2009-11-30 19:572009-12-02 20:57
Reporterdisconnect 
Assigned Tosturedman 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionno change required 
PlatformOSOS Version
Product Version2.2.6 
Target VersionFixed in Version 
Summary0001565: aMule crashes on startup (Gentoo Linux amd64 glibc 2.11 gcc 4.4)
DescriptionHello. aMule 2.2.6 crashes on startup on my 100% ~amd64 Gentoo LInux. aMule was taken from portage.
Whole system were compiled with gcc 4.4.2 / glibc 2.11

Here are my compiler settings:
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"

I compile aMule with the following command:
CFLAGS="${CFLAGS} -ggdb" FEATURES="nostrip" USE="debug" emerge -1 amule

I created .gdbinit file as I was told there: http://wiki.amule.org/index.php/Backtraces [^] [^] and create the backtrace. It is provided at "Additional Information" section

List of direct aMule dependencies:
disconnect disc # equery g --depth=1 net-p2p/amule-2.2.6
 * Searching for amule in net-p2p ...
 * dependency graph for net-p2p/amule-2.2.6:
`-- net-p2p/amule-2.2.6
 `-- x11-libs/wxGTK-2.8.10.1-r3
 `-- dev-libs/crypto++-5.5.2-r1
 `-- sys-libs/zlib-1.2.3-r1
 `-- media-libs/gd-2.0.35-r1 [stats]
 `-- dev-libs/geoip-1.4.6 [geoip]
 `-- net-libs/libupnp-1.6.6-r1 [upnp]
 `-- media-libs/libpng-1.2.40 [remote]
[ net-p2p/amule-2.2.6 stats: packages (8), max depth (1) ]

I tried to recompile wxGTK, crypto++ and all other direct dependencies, but it still crashes. Recompilation of aMule itself didnt help too.
Additional Informationdisc@disconnect ~ $ gdb `which amule`
GNU gdb (Gentoo 7.0 p1) 7.0
Copyright (C) 2009 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-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>... [^]
Reading symbols from /usr/bin/amule...done.
(gdb) run
Starting program: /usr/bin/amule
[Thread debugging using libthread_db enabled]
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.2-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace
Xlib: extension "RANDR" missing on display ":0.0".
Initialising aMule 2.2.6 using wxGTK2 v2.8.10
Checking if there is an instance already running...
No other instances are running.

Program received signal SIGSEGV, Segmentation fault.
0x000000000073676c in CryptoPP::Rijndael::Enc::ProcessAndXorBlock(unsigned char const*, unsigned char const*, unsigned char*) const ()
(gdb) bt
#0 0x000000000073676c in CryptoPP::Rijndael::Enc::ProcessAndXorBlock(unsigned char const*, unsigned char const*, unsigned char*) const ()
0000001 0x00000000007360e9 in CryptoPP::RandomPool::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::string const&, unsigned long long) ()
0000002 0x00000000006ad107 in CryptoPP::RandomNumberGenerator::GenerateBlock(unsigned char*, unsigned long) ()
0000003 0x00000000006ab111 in CryptoPP::RandomNumberGenerator::GenerateWord32(unsigned int, unsigned int) ()
0000004 0x000000000064fccd in CPreferences::BuildItemList (appdir=<value optimized out>) at Preferences.cpp:1166
0000005 0x0000000000435aab in CamuleApp::OnInit (this=0xf16be0) at amule.cpp:608
0000006 0x00000000005c3e97 in CamuleGuiApp::OnInit (this=0x100) at amule-gui.cpp:263
0000007 0x0000003378c93cc2 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
0000008 0x00000000005c4812 in main (argc=1, argv=0xfdbb60) at amule-gui.cpp:95
(gdb) bt full
#0 0x000000000073676c in CryptoPP::Rijndael::Enc::ProcessAndXorBlock(unsigned char const*, unsigned char const*, unsigned char*) const ()
No symbol table info available.
0000001 0x00000000007360e9 in CryptoPP::RandomPool::GenerateIntoBufferedTransformation(CryptoPP::BufferedTransformation&, std::string const&, unsigned long long) ()
No symbol table info available.
0000002 0x00000000006ad107 in CryptoPP::RandomNumberGenerator::GenerateBlock(unsigned char*, unsigned long) ()
No symbol table info available.
0000003 0x00000000006ab111 in CryptoPP::RandomNumberGenerator::GenerateWord32(unsigned int, unsigned int) ()
No symbol table info available.
0000004 0x000000000064fccd in CPreferences::BuildItemList (appdir=<value optimized out>) at Preferences.cpp:1166
        customBrowser = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x3378d10518 L""}, <No data fields>}
        incpath = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0xfd54b8 L"/home/disc/.aMule/Incoming"}, <No data fields>}
0000005 0x0000000000435aab in CamuleApp::OnInit (this=0xf16be0) at amule.cpp:608
        geometry_enabled = <value optimized out>
        newMule = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0xfafd48 L"SuperA/SuperA/A4 227 x 356 mm"}, <No data fields>}
        cmdline = {m_data = 0xfa7d50}
        reset_config = false
        geom_string = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0x3378d10518 L""}, <No data fields>}
        logfileName = {<CPrintable> = {_vptr.CPrintable = 0x8b60f0}, m_printable = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData =
    0xfc1658 L"/home/disc/.aMule/logfile"}, <No data fields>}, m_filesystem = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData =
    0xfc15a8 L"/home/disc/.aMule/logfile"}, <No data fields>}}
        msg = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0xfb0648 L"A5 Extra 174 x 235 mm"}, <No data fields>}
        FullMuleVersion = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData =
    0xfa72b8 L"aMule 2.2.6 using wxGTK2 v2.8.10"}, <No data fields>}
        OSDescription = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0xfa1f48 L"Linux 2.6.31-gentoo-r6 x86_64"}, <No data fields>}
        checkResult = {first = 136, second = {<CPrintable> = {_vptr.CPrintable = 0xfa9b50}, m_printable = {<wxStringBase> = {static npos =
    18446744073709551615, m_pchData = 0xfb3248 L"PRC Envelope 0000003 125 x 176 mm"}, <No data fields>}, m_filesystem = {<wxStringBase> = {static npos =
    18446744073709551615, m_pchData = 0x40af38 L"?\xc0022\x42e320"}, <No data fields>}}}
        vfile = <incomplete type>
        langId = {<wxStringBase> = {static npos = 18446744073709551615, m_pchData = 0xfb0108 L"A4 Plus 210 x 330 mm"}, <No data fields>}
0000006 0x00000000005c3e97 in CamuleGuiApp::OnInit (this=0x100) at amule-gui.cpp:263
No locals.
0000007 0x0000003378c93cc2 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
No symbol table info available.
0000008 0x00000000005c4812 in main (argc=1, argv=0xfdbb60) at amule-gui.cpp:95
No locals.

TagsNo tags attached.
Fixed in Revision
Operating SystemAny
Attached Files

- Relationships
has duplicate 0001546closedsturedman aMule crashes on startup (Gentoo Linux amd64 glibc 2.10 gcc 4.4) 

-  Notes
(0003328)
disconnect (reporter)
2009-11-30 19:58

this bug is related to bug 0001546
(0003329)
disconnect (reporter)
2009-11-30 20:22

got same backtrace with crypto++ 5.5
so the solution from bug 0001546 dont helps here

P.S. Sorry for my bad english :)
(0003330)
sturedman (developer)
2009-11-30 23:37

Broken CryptoPP.
Try to compile CryptoPP without assembler code, and run cryptest afterwards.
(0003332)
disconnect (reporter)
2009-12-01 11:48

Right. CryptoPP was broken and fails on cryptest
Compiled it with -DCRYPTOPP_DISABLE_ASM and it passes cryptest.
aMule also stops crashing after it.
This bug and bug 0001546 should be closed. It wasnt aMule bugs - it was crypto++ or portage bugs.

- Issue History
Date Modified Username Field Change
2009-11-30 19:57 disconnect New Issue
2009-11-30 19:57 disconnect Operating System => Any
2009-11-30 19:58 disconnect Note Added: 0003328
2009-11-30 20:22 disconnect Note Added: 0003329
2009-11-30 23:37 sturedman Note Added: 0003330
2009-12-01 11:48 disconnect Note Added: 0003332
2009-12-02 20:56 sturedman Relationship added has duplicate 0001546
2009-12-02 20:57 sturedman Assigned To => sturedman
2009-12-02 20:57 sturedman Status new => closed
2009-12-02 20:57 sturedman Resolution open => no change required


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker