aMule Forum
English => Backtraces => Topic started by: puppyy on October 02, 2009, 09:08:46 PM
-
Hi All.
These days i'm trying to start aMuled in my system (slackware 13 32bit) without success.
The first time i've installed amule 2.2.6, libupnp, cryptopp 5.6.0, wxwidgets 2.8.10 precompiled packages.
I was updating from a previous version of amule (so i had all the config files already there)
This is the backtrace:
bash-3.1$ amuled
amuled: OnInit - starting timer
Initialising aMuled 2.2.6 using wxGTK2 v2.8.10
Checking if there is an instance already running...
No other instances are running.
--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
http://wiki.amule.org/index.php/Backtraces
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuled 2.2.6 using wxGTK2 v2.8.10
Running on: Linux 2.6.31.1-athlon i686
[2] ?? in amuled [0x8058199]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb7e7f566]
[4] ?? in [0xffffe400]
[5] ?? in amuled [0x8217732]
[6] ?? in amuled [0x820f906]
[7] ?? in amuled [0x821386c]
[8] ?? in amuled [0x8213d4f]
[9] ?? in amuled [0x8213e6f]
[10] ?? in amuled [0x82291a8]
[11] ?? in amuled [0x8229129]
[12] ?? in amuled [0x8216266]
[13] ?? in amuled [0x823aaa8]
[14] ?? in amuled [0x82389fa]
[15] ?? in amuled [0x823616a]
[16] ?? in amuled [0x8077f6b]
[17] ?? in amuled [0x8078593]
[18] ?? in amuled [0x80790ef]
[19] ?? in amuled [0x80627d7]
[20] ?? in amuled [0x805515d]
[21] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7e15980]
[22] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7e15ba7]
[23] ?? in amuled [0x8054d4b]
[24] __libc_start_main in /lib/libc.so.6[0xb7b2f6a5]
[25] ?? in amuled [0x8053ea1]
--------------------------------------------------------------------------------
Aborted
I've noticed that if i use the monolithic aMule, not only the daemon, it crashes with the SAME errors when i try to connect to ed2k server (not kademilia).
With the daemon, that i really need, it crashes immediately.
Here is what i've tried
- reinstall the whole slackware distro after formatting all drives
- reinstall all the missing dependencies (wxwidgets, cryptopp....)
- compile a minimal amule version from sources
- install packages from other repositories.
- delete the whole .aMule folder from previous versions
note: i didn't try different versions of wxwidgets.
But i have always the messages above. :'(
So i'm searching for someone who can help me to debug this issue and to understand something from that backtrace.
THANKS a lot!
-
First delete the file ED2KLinks in you .amule dir if such a file exists.
If that doesn't help please compile aMule with debug enabled so we can get a useful backtrace.
-
How did you install the newest stable version on Slackware - apart from compiling it yourself?
There's no package for your distribution in the current version thread (http://forum.amule.org/index.php?topic=17268.0).
Anyhow, please read sticky thread on backtraces (http://forum.amule.org/index.php?topic=4115.0) and follow the steps posted there.
-
How did you install the newest stable version on Slackware - apart from compiling it yourself?
There's no package for your distribution in the current version thread (http://forum.amule.org/index.php?topic=17268.0).
Anyhow, please read sticky thread on backtraces (http://forum.amule.org/index.php?topic=4115.0) and follow the steps posted there.
I've installed the first time this package
http://repository.slacky.eu/slackware-13.0/network/amule/2.2.6/ (http://repository.slacky.eu/slackware-13.0/network/amule/2.2.6/)
after that i've always compiled amule from source using the SlackBuild from slachy.eu (usually very well written)
First delete the file ED2KLinks in you .amule dir if such a file exists.
Ok. I've deleted the whole .aMule folder.
If that doesn't help please compile aMule with debug enabled so we can get a useful backtrace.
Ok. These are the configure options i have:
./configure --prefix=/usr \
--enable-debug \
--disable-monolithic \
--disable-upnp \
--disable-ed2k \
--disable-optimize \
--enable-embedded-crypto \
--enable-amule-daemon \
--enable-amule-gui \
--enable-geoip \
--program-prefix= \
--program-suffix= \
--build=$CHOST-slackware-linux
I've attached the "Compilation.flags" file from the compilation folder.
OK here what i have now:
-if i start the amuled exec directly i have the same errors of yesterday.
This is the GDB output (after creating the gdbinit file):
bash-3.1$ gdb /usr/bin/amuled
GNU gdb 6.8
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-slackware-linux"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/amuled
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
amuled: OnInit - starting timer
[New Thread 0xb7a446d0 (LWP 25781)]
(no debugging symbols found)
Initialising aMuled 2.2.6 using wxGTK2 v2.8.10
Checking if there is an instance already running...
No other instances are running.
(no debugging symbols found)
ERROR: Info --- This is the first time you run aMule 2.2.6 ---
More information, support and new releases can found at our homepage,
at www.aMule.org, or in our IRC channel #aMule at irc.freenode.net.
Feel free to report any bugs to http://forum.amule.org
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb7a446d0 (LWP 25781)]
0x082c9792 in ?? ()
(gdb)
More details for you maybe are here:
(gdb) bt
#0 0x082c9792 in ?? ()
#1 0xb3c53cb5 in ?? ()
#2 0x344e8569 in ?? ()
#3 0x80000001 in ?? ()
#4 0x00000000 in ?? ()
(gdb) bt full
#0 0x082c9792 in ?? ()
No symbol table info available.
#1 0xb3c53cb5 in ?? ()
No symbol table info available.
#2 0x344e8569 in ?? ()
No symbol table info available.
#3 0x80000001 in ?? ()
No symbol table info available.
#4 0x00000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt
Thread 1 (Thread 0xb7a426d0 (LWP 25806)):
#0 0x082c9792 in ?? ()
#1 0xb3c53cb5 in ?? ()
#2 0x344e8569 in ?? ()
#3 0x80000001 in ?? ()
#4 0x00000000 in ?? ()
(gdb)
question: could this error be caused by my current kernel?
i've always used a current kernel based on distro configuration files and it worked just fine for all programs.
THX for support!
-
Program received signal SIGILL, Illegal instruction.
What CPU do you have? You don't use by chance crypto++ with SSE/ASM on a CPU not having these features?
-
This is the output of CpuInfo
bash-3.1$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 4
model name : AMD Athlon(tm) processor
stepping : 2
cpu MHz : 1101.969
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 2203.93
clflush size : 32
power management:
So "--enable-embedded-crypto \" could be the problem?
I paste also dmesg output because in the first part there are some warnings regarding cpu initialization (maybe irrelevant?)
Linux version 2.6.31.1-athlon (root@amd) (gcc version 4.3.3 (GCC) ) #1 Fri Oct 2 15:51:13 CEST 2009
KERNEL supported cpus:
Intel GenuineIntel
AMD AuthenticAMD
NSC Geode by NSC
Cyrix CyrixInstead
Centaur CentaurHauls
Transmeta GenuineTMx86
Transmeta TransmetaCPU
UMC UMC UMC UMC
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
DMI 2.2 present.
last_pfn = 0x1fff0 max_arch_pfn = 0x100000
MTRR default type: uncachable
MTRR fixed ranges enabled:
00000-9FFFF write-back
A0000-BFFFF uncachable
C0000-CEFFF write-protect
CF000-FFFFF uncachable
MTRR variable ranges enabled:
0 base 000000000 mask FE0000000 write-back
1 disabled
2 disabled
3 disabled
4 disabled
5 base 0D0000000 mask FF8000000 write-combining
6 disabled
7 disabled
initial memory mapped : 0 - 01c00000
init_memory_mapping: 0000000000000000-000000001fff0000
0000000000 - 0000400000 page 4k
0000400000 - 001fc00000 page 2M
001fc00000 - 001fff0000 page 4k
kernel direct mapping tables up to 1fff0000 @ 7000-c000
ACPI: RSDP 000f76c0 00014 (v00 VIA694)
ACPI: RSDT 1fff3000 00028 (v01 VIA694 MSI ACPI 42302E31 AWRD 00000000)
ACPI: FACP 1fff3040 00074 (v01 VIA694 MSI ACPI 42302E31 AWRD 00000000)
ACPI: DSDT 1fff30c0 02C90 (v01 VIA694 AWRDACPI 00001000 MSFT 0100000C)
ACPI: FACS 1fff0000 00040
511MB LOWMEM available.
mapped low ram: 0 - 1fff0000
low ram: 0 - 1fff0000
node 0 low ram: 00000000 - 1fff0000
node 0 bootmap 00001000 - 00005000
(6 early reservations) ==> bootmem [0000000000 - 001fff0000]
#0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - 0000001000]
#1 [0001000000 - 00016fc96c] TEXT DATA BSS ==> [0001000000 - 00016fc96c]
#2 [000009f000 - 0000100000] BIOS reserved ==> [000009f000 - 0000100000]
#3 [00016fd000 - 00017040f2] BRK ==> [00016fd000 - 00017040f2]
#4 [0000007000 - 0000008000] PGTABLE ==> [0000007000 - 0000008000]
#5 [0000001000 - 0000005000] BOOTMAP ==> [0000001000 - 0000005000]
Zone PFN ranges:
DMA 0x00000000 -> 0x00001000
Normal 0x00001000 -> 0x0001fff0
Movable zone start PFN for each node
early_node_map[2] active PFN ranges
0: 0x00000000 -> 0x000000a0
0: 0x00000100 -> 0x0001fff0
On node 0 totalpages: 130960
free_area_init_node: node 0, pgdat c15cdb20, node_mem_map c1705000
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 3968 pages, LIFO batch:0
Normal zone: 992 pages used for memmap
Normal zone: 125968 pages, LIFO batch:31
Using APIC driver default
ACPI: PM-Timer IO Port: 0x4008
Local APIC disabled by BIOS -- you can enable it with "lapic"
APIC: disable apic facility
nr_irqs_gsi: 16
Allocating PCI resources starting at 20000000 (gap: 20000000:dfff0000)
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129936
Kernel command line: auto BOOT_IMAGE=linux ro root=303 vt.default_utf8=0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Enabling fast FPU save and restore... done.
Initializing CPU#0
Memory: 511988k/524224k available (4486k kernel code, 11692k reserved, 1481k data, 372k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfffa4000 - 0xfffff000 ( 364 kB)
vmalloc : 0xe07f0000 - 0xfffa2000 ( 503 MB)
lowmem : 0xc0000000 - 0xdfff0000 ( 511 MB)
.init : 0xc15d5000 - 0xc1632000 ( 372 kB)
.data : 0xc1461bac - 0xc15d4148 (1481 kB)
.text : 0xc1000000 - 0xc1461bac (4486 kB)
Checking if this processor honours the WP bit even in supervisor mode...Ok.
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
NR_IRQS:288
Fast TSC calibration using PIT
Detected 1101.969 MHz processor.
Console: colour dummy device 80x25
console [tty0] enabled
Calibrating delay loop (skipped), value calculated using timer frequency.. 2203.93 BogoMIPS (lpj=1101969)
Security Framework initialized
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
mce: CPU supports 4 MCE banks
Performance Counters: AMD PMU driver.
------------[ cut here ]------------
WARNING: at arch/x86/kernel/apic/apic.c:247 native_apic_write_dummy+0x51/0x70() <----------------------------<<<
Hardware name: 00000000000000000000000
Modules linked in:
Pid: 0, comm: swapper Not tainted 2.6.31.1-athlon #1
Call Trace:
[<c101aac1>] ? native_apic_write_dummy+0x51/0x70
[<c103532e>] ? warn_slowpath_common+0x7e/0xf0
[<c101aac1>] ? native_apic_write_dummy+0x51/0x70
[<c10353c0>] ? warn_slowpath_null+0x20/0x40
[<c101aac1>] ? native_apic_write_dummy+0x51/0x70
[<c100efc7>] ? perf_counters_lapic_init+0x37/0x50
[<c15dbddd>] ? init_hw_perf_counters+0x17d/0x3f0
[<c15dbb7d>] ? check_bugs+0x14/0xf7
[<c15ef8ff>] ? proc_sys_init+0x1a/0x45
[<c15d5905>] ? start_kernel+0x2a5/0x302
[<c15d53f2>] ? unknown_bootoption+0x0/0x202
---[ end trace a7919e7f17c0a725 ]---
... version: 0
... bit width: 48
... generic counters: 4
... value mask: 0000ffffffffffff
... max period: 00007fffffffffff
... fixed-purpose counters: 0
... counter mask: 000000000000000f
CPU: AMD Athlon(tm) processor stepping 02
Checking 'hlt' instruction... OK.
ACPI: Core revision 20090521
ACPI: setting ELCR to 0080 (from 1c80)
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfb250, last bus=1
PCI: Using configuration type 1 for base access
bio: create slab <bio-0> at 0
ACPI: EC: Look up EC in DSDT
ACPI: Interpreter enabled
ACPI: (supports S0 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
I have left "--enable-embedded-crypto \" in config options because that line was there also in amule 2.2.5 SlackBuild script, that worked well.
However i admit i don't know what it exactly does.
-
I have recompiled from source with these flags:
./configure \
--enable-debug \
--disable-monolithic \
--disable-upnp \
--disable-ed2k \
--disable-optimize \
--enable-amule-daemon \
--enable-amule-gui \
--enable-geoip \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--with-wx-config=/usr/bin/wx-config \
--disable-debug \
--build=$ARCH-slackware-linux
Result:
Program received signal SIGILL, Illegal instruction.
Please if i have to make changes to my installed packages (cryptopp and others) say it to me.
THX for supporting.
-
You enabled debug but there are still no debugging symbols. Is that /usr/bin/amuled really the file you compiled yourself?
-
You enabled debug but there are still no debugging symbols. Is that /usr/bin/amuled really the file you compiled yourself?
Yes.
I've removed with the package manager the previous installed amule packages,
i've checked with "find / -name "*amule*" just in case....
and reinstalled the package compiled the last time.
(during compilation it doesn't give me any warnings, and seems to read all the flags properly)
......so debug-mode should be on...
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb7ac56d0 (LWP 16587)]
0x0821d382 in ?? ()
-
good evening.
I'm always stucked with those errors, always the same.
I think it can be an incompatibility issue with some version of libc or wxwidgets...
I've tried so many things and reached a dead end.
If someone can give me some suggestions i'll appreciate.
thx!
-
I have recompiled from source with these flags:
./configure \
--enable-debug \
[...]
--disable-debug \
--build=$ARCH-slackware-linux
You've enabled and then disabled debug -- the last applies, so it stayed disabled.
I have left "--enable-embedded-crypto \" in config options because that line was there also in amule 2.2.5 SlackBuild script, that worked well.
However i admit i don't know what it exactly does.
Nothing. Since aMule 2.2.1 and above doesn't have embedded Crypto++ code it is silently ignored.
If someone can give me some suggestions i'll appreciate.
Now try again with debug really enabled ;)
-
Hi GonoszTopi
Sorry for my incredible mistake in the last package compilation.
Now i have these flags
./configure \
--enable-debug \
--disable-monolithic \
--disable-upnp \
--disable-ed2k \
--disable-optimize \
--enable-amule-daemon \
--enable-amule-gui \
--enable-geoip \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--with-wx-config=/usr/bin/wx-config \
--build=$ARCH-slackware-linux
I've deleted before compiling any bits :) of amule on my filesystem.
However i think the results are very similar:
$amuled
bash-3.1$ amuled
amuled: OnInit - starting timer
Initialising aMuled 2.2.6 using wxGTK2 v2.8.10
Checking if there is an instance already running...
No other instances are running.
--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
http://wiki.amule.org/index.php/Backtraces
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuled 2.2.6 using wxGTK2 v2.8.10
Running on: Linux 2.6.31.1-athlon i686
[2] ?? in amuled [0x8062171]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb7e65566]
[4] ?? in [0xffffe400]
[5] ?? in amuled [0x82f9752]
[6] ?? in amuled [0x82f1926]
[7] ?? in amuled [0x82f588c]
[8] ?? in amuled [0x82f5d6f]
[9] ?? in amuled [0x82f5e8f]
[10] ?? in amuled [0x830b708]
[11] ?? in amuled [0x830b689]
[12] ?? in amuled [0x82f8286]
[13] ?? in amuled [0x831d578]
[14] ?? in amuled [0x831b5ca]
[15] ?? in amuled [0x8318d3a]
[16] ?? in amuled [0x8093851]
[17] ?? in amuled [0x8093cc3]
[18] ?? in amuled [0x809545d]
[19] ?? in amuled [0x80666a7]
[20] ?? in amuled [0x8057fbf]
[21] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7dfb980]
[22] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7dfbba7]
[23] ?? in amuled [0x8059500]
[24] __libc_start_main in /lib/libc.so.6[0xb7b156a5]
[25] ?? in amuled [0x80572f1]
--------------------------------------------------------------------------------
Aborted
GDB:
bash-3.1$ gdb /usr/bin/amuled
GNU gdb 6.8
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-slackware-linux"...
(no debugging symbols found)
(gdb) run
Starting program: /usr/bin/amuled
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
amuled: OnInit - starting timer
[New Thread 0xb7adb6d0 (LWP 15175)]
(no debugging symbols found)
Initialising aMuled 2.2.6 using wxGTK2 v2.8.10
Checking if there is an instance already running...
No other instances are running.
(no debugging symbols found)
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb7adb6d0 (LWP 15175)]
0x082f9752 in ?? ()
(gdb) bt
#0 0x082f9752 in ?? ()
#1 0xd588bf43 in ?? ()
#2 0x39b67735 in ?? ()
#3 0x80000001 in ?? ()
#4 0x00000000 in ?? ()
(gdb) bt full
#0 0x082f9752 in ?? ()
No symbol table info available.
#1 0xd588bf43 in ?? ()
No symbol table info available.
#2 0x39b67735 in ?? ()
No symbol table info available.
#3 0x80000001 in ?? ()
No symbol table info available.
#4 0x00000000 in ?? ()
No symbol table info available.
(gdb) thread apply all bt
Thread 1 (Thread 0xb7adb6d0 (LWP 15175)):
#0 0x082f9752 in ?? ()
#1 0xd588bf43 in ?? ()
#2 0x39b67735 in ?? ()
#3 0x80000001 in ?? ()
#4 0x00000000 in ?? ()
-
this is what it says after configuration:
Prefix where aMule should be installed? /usr
Should aMule be compiled with i18n support? yes
Should aMule be compiled in debug mode? yes
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? no
Should aMule be compiled with UPnP support? no
Should aMule be compiled with IP2country support? yes
Should aMule monolithic application be built? no
Should aMule daemon version be built? yes
Should aMule remote gui be built? (EXPERIMENTAL) yes
Crypto++ library/headers style? installed
**** aMule TextClient ****
Should aMule Command Line Client be built? no
**** aMule WebServer ****
Should aMule WebServer be built? no
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? no
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? no
Should aMuleLinkCreator for console (alcc) be built? no
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? no
Should aMule GUI Statistics (wxCas) be built? no
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.8.10 (gtk2,shared)
crypto++ 5.6.0 (installed, in /usr)
libintl system
libGeoIP system
zlib 1.2.3
-
I guess it gets stripped while installing/building.
Check what `file' reports on amuled.
$ file /usr/bin/amuled
It should tell you if the binary was stripped or not. If it was, then check the original (uninstalled) executable.
-
bash-3.1# file /usr/bin/amuled
/usr/bin/amuled: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
-
I don't know where and how debbugging symbols should be, but they don't shows up. :'(
Also debug mode is surely enabled in this last one and it was i the 2 first compilations, not in the third. ;)
Maybe something keeps turning it off when the application is in runtime and it is started from gdb. ??? ??? ???
I think that with those logs we can not understand what's going on....
Do you need the compiled executables ?
My distro has been installed 2 days ago, so it is fresh and only the kernel is recompiled but it is working well for other applications. :-\
Do you suggest me to downgrade to 2.2.5? or downgrade some other packages?
-
I've extracted the compiled package manualy and i have
bash-3.1# file /home/mulo/pippo/usr/bin/amuled
/home/mulo/pippo/usr/bin/amuled: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped
-
Immediately after the compilation, before creating the package and applying permissions, i have
bash-3.1# file ./aMule-2.2.6/src/amuled
./aMule-2.2.6/src/amuled: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), not stripped
so NOT STRIPPED
-
Bingo!
----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMuled 2.2.6 using wxGTK2 v2.8.10
Running on: Linux 2.6.31.1-athlon i686
[2] CamuleApp::OnFatalException() in amule.cpp:1287
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb7d65566]
[4] ?? in [0xffffe400]
[5] unsigned int CryptoPP::DivideThreeWordsByTwo<unsigned int, CryptoPP::DWord>(unsigned int*, unsigned int, unsigned int, CryptoPP::DWord*) in :0
[6] DivideFourWordsByTwo<unsigned int, CryptoPP::DWord> in integer.cpp:401
[7] ~SecBlock in secblock.h:297
[8] CryptoPP::Integer::Divide(CryptoPP::Integer&, CryptoPP::Integer&, CryptoPP::Integer const&, CryptoPP::Integer const&) in integer.cpp:3748
[9] CryptoPP::Integer::Modulo(CryptoPP::Integer const&) const in integer.cpp:3801
[10] operator% in integer.h:403
[11] CryptoPP::FirstPrime(CryptoPP::Integer&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::Integer const&, CryptoPP::PrimeSelector const*) in nbtheory.cpp:424
[12] CryptoPP::Integer::GenerateRandomNoThrow(CryptoPP::RandomNumberGenerator&, CryptoPP::NameValuePairs const&) in integer.cpp:3346
[13] CryptoPP::Integer::GenerateRandom(CryptoPP::RandomNumberGenerator&, CryptoPP::NameValuePairs const&) in :0
[14] CryptoPP::InvertibleRSAFunction::GenerateRandom(CryptoPP::RandomNumberGenerator&, CryptoPP::NameValuePairs const&) in rsa.cpp:121
[15] ~AlgorithmParameters in algparam.h:334
[16] CClientCreditsList::CreateKeyPair() in ClientCreditsList.cpp:264
[17] CClientCreditsList::InitalizeCrypting() in ClientCreditsList.cpp:316
[18] CClientCreditsList in ClientCreditsList.cpp:54
[19] CamuleApp::OnInit() in amule.cpp:717
[20] CamuleDaemonApp::OnInit() in amuled.cpp:678
[21] wxAppConsole::CallOnInit() in app.h:76
[22] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7cfb980]
[23] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7cfbba7]
[24] main in amuled.cpp:171
[25] __libc_start_main in /lib/libc.so.6[0xb7a156a5]
[26] _start in start.S:122
--------------------------------------------------------------------------------
Aborted
Starting program: /usr/bin/amuled
[Thread debugging using libthread_db enabled]
amuled: OnInit - starting timer
[New Thread 0xb7bb86d0 (LWP 2188)]
Initialising aMuled 2.2.6 using wxGTK2 v2.8.10
Checking if there is an instance already running...
No other instances are running.
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
Program received signal SIGILL, Illegal instruction.
[Switching to Thread 0xb7bb86d0 (LWP 2188)]
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
CryptoPP::DivideThreeWordsByTwo<unsigned int, CryptoPP::DWord> (A=warning: (Internal error: pc 0x83a0d90 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
0xbfbfe2e0, B0=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
1, B1=2147483648, dummy=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
0x0)
at integer.cpp:197
197 integer.cpp: No such file or directory.
in integer.cpp
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
-
backtrace
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
#0 CryptoPP::DivideThreeWordsByTwo<unsigned int, CryptoPP::DWord> (A=0xbfbfe2e0, B0=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
1, B1=2147483648, dummy=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
0x0)
at integer.cpp:197
#1 0x08398fb6 in CryptoPP::Divide (R=0x98f0eb8, Q=0x98f2cd0, T=0x98f2d20, A=0x98f2c80, NA=8, B=0x98f0fe8, NB=2)
at integer.cpp:400
#2 0x0839cf1c in CryptoPP::PositiveDivide (remainder=@0xbfbfe4c0, quotient=@0xbfbfe3e8, a=@0xbfbfe4d4, b=@0xbfbfe6c8)
at integer.cpp:3741
#3 0x0839d3ff in CryptoPP::Integer::Divide (remainder=@0xbfbfe4c0, quotient=@0xbfbfe3e8, dividend=@0xbfbfe4d4,
divisor=@0xbfbfe6c8) at integer.cpp:3746
#4 0x0839d51f in CryptoPP::Integer::Modulo (this=0xbfbfe4d4, b=@0xbfbfe6c8) at integer.cpp:3800
#5 0x083b2d98 in CryptoPP::FirstPrime (p=@0xbfbfefa4, max=@0xbfbfe884, equiv=@0xbfbfe6dc, mod=@0xbfbfe6c8,
pSelector=0xbfbfecc4) at integer.h:403
#6 0x083b2d19 in CryptoPP::FirstPrime (p=@0xbfbfefa4, max=@0xbfbfe884, equiv=@0xbfbfe960, mod=@0xbfbfe938,
pSelector=0xbfbfecc4) at nbtheory.cpp:424
#7 0x0839f916 in CryptoPP::Integer::GenerateRandomNoThrow (this=0xbfbfefa4, i_rng=@0xbfbff00c, params=@0xbfbfee3c)
at integer.cpp:3346
warning: (Internal error: pc 0x83c4c08 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
#8 0x083c4c08 in CryptoPP::Integer::GenerateRandom (this=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83c4be0 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
0xbfbfefa4, rng=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
@0xbfbff00c, params=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
@0xbfbfee3c) at integer.h:250
#9 0x083c2c5a in CryptoPP::InvertibleRSAFunction::GenerateRandom (this=0xbfbfef28, rng=@0xbfbff00c, alg=@0xbfbfeeb8)
at rsa.cpp:120
#10 0x083c03ca in CryptoPP::InvertibleRSAFunction::Initialize (this=0xbfbfef28, rng=@0xbfbff00c, keybits=384, e=@0xbfbff014)
at rsa.cpp:145
#11 0x080a5572 in CClientCreditsList::CreateKeyPair (this=0x98f0698) at ClientCreditsList.cpp:264
#12 0x080a5f9c in CClientCreditsList::InitalizeCrypting (this=0x98f0698) at ClientCreditsList.cpp:316
#13 0x080a8457 in CClientCreditsList (this=0x98f0698) at ClientCreditsList.cpp:54
#14 0x0806dd92 in CamuleApp::OnInit (this=0x9859e90) at amule.cpp:717
#15 0x08058298 in CamuleDaemonApp::OnInit (this=0x9859e90) at amuled.cpp:678
#16 0x0805a47c in wxAppConsole::CallOnInit (this=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
0x9859e90) at /usr/include/wx-2.8/wx/app.h:76
#17 0xb7eba980 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#18 0xb7ebaba7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x0805a20d in main (argc=Cannot access memory at address 0x629e8e54
) at amuled.cpp:171
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
bt full
(gdb) bt full
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
#0 CryptoPP::DivideThreeWordsByTwo<unsigned int, CryptoPP::DWord> (A=0xbfbfe2e0, B0=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
1, B1=2147483648, dummy=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
0x0)
at integer.cpp:197
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
Q = 1654558292
p = <value optimized out>
#1 0x08398fb6 in CryptoPP::Divide (R=0x98f0eb8, Q=0x98f2cd0, T=0x98f2d20, A=0x98f2c80, NA=8, B=0x98f0fe8, NB=2)
at integer.cpp:400
i = 6
TB = (word * const) 0x98f2d40
TP = (word * const) 0x98f2d48
shiftWords = <value optimized out>
shiftBits = 30
#2 0x0839cf1c in CryptoPP::PositiveDivide (remainder=@0xbfbfe4c0, quotient=@0xbfbfe3e8, a=@0xbfbfe4d4, b=@0xbfbfe6c8)
at integer.cpp:3741
aSize = 6
bSize = 2
T = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 18,
m_ptr = 0x98f2d20}
#3 0x0839d3ff in CryptoPP::Integer::Divide (remainder=@0xbfbfe4c0, quotient=@0xbfbfe3e8, dividend=@0xbfbfe4d4,
divisor=@0xbfbfe6c8) at integer.cpp:3746
No locals.
#4 0x0839d51f in CryptoPP::Integer::Modulo (this=0xbfbfe4d4, b=@0xbfbfe6c8) at integer.cpp:3800
remainder = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
_vptr.ASN1Object = 0xbfbfe4c0}, reg = {
m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 138007839,
m_ptr = 0x210286}, sign = 115}
quotient = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
_vptr.ASN1Object = 0x84896e0}, reg = {
m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 8,
m_ptr = 0x98f2cd0}, sign = CryptoPP::Integer::POSITIVE}
#5 0x083b2d98 in CryptoPP::FirstPrime (p=@0xbfbfefa4, max=@0xbfbfe884, equiv=@0xbfbfe6dc, mod=@0xbfbfe6c8,
pSelector=0xbfbfecc4) at integer.h:403
gcd = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 2,
m_ptr = 0x98f0f90}, sign = CryptoPP::Integer::POSITIVE}
primeTableSize = 3511
primeTable = (const word16 *) 0x98f10f0
sieve = {m_first = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
_vptr.ASN1Object = 0xb7d1b140}, reg = {
m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 8,
---Type <return> to continue, or q <return> to quit---
m_ptr = 0x38}, sign = 3083968500},
m_last = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x0}, reg = {
m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 3083972928,
m_ptr = 0x3}, sign = 3083968500},
m_step = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x10}, reg = {
m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 3217024156,
m_ptr = 0xb7c3088e}, sign = 3083972928}, m_delta = 160369624, m_next = 3083972928,
m_sieve = {<std::_Bvector_base<std::allocator<bool> >> = {
_M_impl = {<std::allocator<long unsigned int>> = {<__gnu_cxx::new_allocator<long unsigned int>> = {<No data fields>}, <No data fields>},
_M_start = {<std::_Bit_iterator_base> = {<std::iterator<std::random_access_iterator_tag, bool, int, bool*, bool&>> = {<No data fields>}, _M_p = 0x18, _M_offset = 3083003812}, <No data fields>},
_M_finish = {<std::_Bit_iterator_base> = {<std::iterator<std::random_access_iterator_tag, bool, int, bool*, bool&>> = {<No data fields>}, _M_p = 0x98f0be8, _M_offset = 3083968500}, <No data fields>},
_M_end_of_storage = 0x4}}, <No data fields>}}
#6 0x083b2d19 in CryptoPP::FirstPrime (p=@0xbfbfefa4, max=@0xbfbfe884, equiv=@0xbfbfe960, mod=@0xbfbfe938,
pSelector=0xbfbfecc4) at nbtheory.cpp:424
gcd = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 2,
m_ptr = 0x98f10e0}, sign = CryptoPP::Integer::POSITIVE}
primeTableSize = 3511
primeTable = (const word16 *) 0x98f10f0
sieve = {m_first = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
_vptr.ASN1Object = 0xb7c2e7a4}, reg = {
m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 1, m_ptr = 0x0},
sign = 160370688}, m_last = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
_vptr.ASN1Object = 0xbfbfe710}, reg = {
m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 137501480,
m_ptr = 0xb7cfef32}, sign = 3083864488},
m_step = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0xb7cfd8d3},
reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 1,
m_ptr = 0xb7d1b170}, sign = 160370680}, m_delta = -1210994312, m_next = 3083003812,
m_sieve = {<std::_Bvector_base<std::allocator<bool> >> = {
_M_impl = {<std::allocator<long unsigned int>> = {<__gnu_cxx::new_allocator<long unsigned int>> = {<No data fields>}, <No data fields>},
_M_start = {<std::_Bit_iterator_base> = {<std::iterator<std::random_access_iterator_tag, bool, int, bool*, bool&>> = {<No data fields>}, _M_p = 0xa, _M_offset = 8}, <No data fields>},
_M_finish = {<std::_Bit_iterator_base> = {<std::iterator<std::random_access_iterator_tag, bool, int, bool*, bool&>> = {<No data fields>}, _M_p = 0xb7e04011, _M_offset = 160370816}, <No data fields>},
---Type <return> to continue, or q <return> to quit---
_M_end_of_storage = 0x1}}, <No data fields>}}
#7 0x0839f916 in CryptoPP::Integer::GenerateRandomNoThrow (this=0xbfbfefa4, i_rng=@0xbfbff00c, params=@0xbfbfee3c)
at integer.cpp:3346
pSelector = (const class CryptoPP::PrimeSelector *) 0xbfbfecc4
i = 1
min = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 8,
m_ptr = 0x98f0e90}, sign = CryptoPP::Integer::POSITIVE}
max = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 8,
m_ptr = 0x98f0ee0}, sign = CryptoPP::Integer::POSITIVE}
equiv = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {
_vptr.ASN1Object = 0x84896e0}, reg = {
m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 2,
m_ptr = 0x98f0b58}, sign = CryptoPP::Integer::POSITIVE}
mod = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 2,
m_ptr = 0x98f0f30}, sign = CryptoPP::Integer::POSITIVE}
rnType = <value optimized out>
seed = {m_deepCopy = false, m_data = 0x0, m_size = 0, m_block = {
m_alloc = {<CryptoPP::AllocatorBase<unsigned char>> = {<No data fields>}, <No data fields>}, m_size = 0, m_ptr = 0x0}}
rng = (class CryptoPP::RandomNumberGenerator &) @0xbfbff00c: {<CryptoPP::Algorithm> = {<CryptoPP::Clonable> = {
_vptr.Clonable = 0x840d848}, <No data fields>}, <No data fields>}
warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
#8 0x083c4c08 in CryptoPP::Integer::GenerateRandom (this=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
0xbfbfefa4, rng=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
@0xbfbff00c, params=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
@0xbfbfee3c) at integer.h:250
warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
No locals.
#9 0x083c2c5a in CryptoPP::InvertibleRSAFunction::GenerateRandom (this=0xbfbfef28, rng=@0xbfbff00c, alg=@0xbfbfeeb8)
at rsa.cpp:120
modulusSize = 384
selector = {<CryptoPP::PrimeSelector> = {_vptr.PrimeSelector = 0x848e6b0},
m_e = {<CryptoPP::InitializeInteger> = {<No data fields>}, <CryptoPP::ASN1Object> = {_vptr.ASN1Object = 0x84896e0},
reg = {m_alloc = {<CryptoPP::AllocatorBase<unsigned int>> = {<No data fields>}, <No data fields>}, m_size = 2,
m_ptr = 0x98f0b48}, sign = CryptoPP::Integer::POSITIVE}}
primeParam = {<CryptoPP::NameValuePairs> = {_vptr.NameValuePairs = 0x8462748}, m_next = {m_p = 0x98f0cd8},
m_defaultThrowIfNotUsed = true}
#10 0x083c03ca in CryptoPP::InvertibleRSAFunction::Initialize (this=0xbfbfef28, rng=@0xbfbff00c, keybits=384, e=@0xbfbff014)
at rsa.cpp:145
No locals.
#11 0x080a5572 in CClientCreditsList::CreateKeyPair (this=0x98f0698) at ClientCreditsList.cpp:264
rng = {<CryptoPP::RandomNumberGenerator> = {<CryptoPP::Algorithm> = {<CryptoPP::Clonable> = {
---Type <return> to continue, or q <return> to quit---
_vptr.Clonable = 0x840d848}, <No data fields>}, <No data fields>}, <CryptoPP::NotCopyable> = {<No data fields>},
m_rng = {m_p = 0x98f0910}}
privkeysink = (class CryptoPP::Base64Encoder *) 0x98f080c
privkey = {<CryptoPP::RSAFunction> = {<CryptoPP::TrapdoorFunction> = {<CryptoPP::RandomizedTrapdoorFunction> = {<CryptoPP::TrapdoorFunctionBounds> = {
_vptr.TrapdoorFunctionBounds = 0x848d90c}, <No data fields>}, <No data fields>}, <CryptoPP::X509PublicKey> = {<CryptoPP::ASN1CryptoMaterial<CryptoPP::PublicKey>> = {<CryptoPP::ASN1Object> = {
-
Now i have much more output to work on ;)
thread apply all bt
Thread 1 (Thread 0xb7a9b6d0 (LWP 2234)):
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
#0 CryptoPP::DivideThreeWordsByTwo<unsigned int, CryptoPP::DWord> (A=0xbf9d2bc0, B0=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
1, B1=2147483648, dummy=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
0x0)
at integer.cpp:197
#1 0x08398fb6 in CryptoPP::Divide (R=0x97e2eb8, Q=0x97e4cd0, T=0x97e4d20, A=0x97e4c80, NA=8, B=0x97e2fe8, NB=2)
at integer.cpp:400
#2 0x0839cf1c in CryptoPP::PositiveDivide (remainder=@0xbf9d2da0, quotient=@0xbf9d2cc8, a=@0xbf9d2db4, b=@0xbf9d2fa8)
at integer.cpp:3741
#3 0x0839d3ff in CryptoPP::Integer::Divide (remainder=@0xbf9d2da0, quotient=@0xbf9d2cc8, dividend=@0xbf9d2db4,
divisor=@0xbf9d2fa8) at integer.cpp:3746
#4 0x0839d51f in CryptoPP::Integer::Modulo (this=0xbf9d2db4, b=@0xbf9d2fa8) at integer.cpp:3800
#5 0x083b2d98 in CryptoPP::FirstPrime (p=@0xbf9d3884, max=@0xbf9d3164, equiv=@0xbf9d2fbc, mod=@0xbf9d2fa8,
pSelector=0xbf9d35a4) at integer.h:403
#6 0x083b2d19 in CryptoPP::FirstPrime (p=@0xbf9d3884, max=@0xbf9d3164, equiv=@0xbf9d3240, mod=@0xbf9d3218,
pSelector=0xbf9d35a4) at nbtheory.cpp:424
#7 0x0839f916 in CryptoPP::Integer::GenerateRandomNoThrow (this=0xbf9d3884, i_rng=@0xbf9d38ec, params=@0xbf9d371c)
at integer.cpp:3346
warning: (Internal error: pc 0x83c4c08 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
#8 0x083c4c08 in CryptoPP::Integer::GenerateRandom (this=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83c4be0 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
0xbf9d3884, rng=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
@0xbf9d38ec, params=warning: (Internal error: pc 0x83c4c07 in read in psymtab, but not in symtab.)
@0xbf9d371c) at integer.h:250
#9 0x083c2c5a in CryptoPP::InvertibleRSAFunction::GenerateRandom (this=0xbf9d3808, rng=@0xbf9d38ec, alg=@0xbf9d3798)
at rsa.cpp:120
#10 0x083c03ca in CryptoPP::InvertibleRSAFunction::Initialize (this=0xbf9d3808, rng=@0xbf9d38ec, keybits=384, e=@0xbf9d38f4)
at rsa.cpp:145
#11 0x080a5572 in CClientCreditsList::CreateKeyPair (this=0x97e2698) at ClientCreditsList.cpp:264
#12 0x080a5f9c in CClientCreditsList::InitalizeCrypting (this=0x97e2698) at ClientCreditsList.cpp:316
#13 0x080a8457 in CClientCreditsList (this=0x97e2698) at ClientCreditsList.cpp:54
#14 0x0806dd92 in CamuleApp::OnInit (this=0x974be90) at amule.cpp:717
#15 0x08058298 in CamuleDaemonApp::OnInit (this=0x974be90) at amuled.cpp:678
#16 0x0805a47c in wxAppConsole::CallOnInit (this=warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
0x974be90) at /usr/include/wx-2.8/wx/app.h:76
#17 0xb7d9d980 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#18 0xb7d9dba7 in wxEntry () from /usr/lib/libwx_baseu-2.8.so.0
#19 0x0805a20d in main (argc=Cannot access memory at address 0x77bf2e97
) at amuled.cpp:171
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
warning: (Internal error: pc 0x83a0de2 in read in psymtab, but not in symtab.)
-
Nice, finally you got it. I think you should recompile Crypto++ with -DCRYPTOPP_DISABLE_ASM added to CXXFLAGS in GNUmakefile. (And then rebuild aMule of course.)
EDIT: After Crypto++ compilation finished, run "cryptest.exe v" in the cryptopp source directory to see if it reports "All tests passed."
-
yes.
crypto++ as you said is the problem.
This evening i'll recompile all the stuff and add that option.
thank you very much!
-
Thank you again GonoszTopi.
I've recompiled many times cryptopp adding to CXXFLAGS -DCRYPTOPP_DISABLE_ASM
All the times the cryptest.exe output was
bash-3.1$ cryptest.exe
CryptoPP::Exception caught: FileStore: error opening file for reading: TestData/usage.dat
However i've recompiled aMule not caring about the failed test and using the cryptopp new compiled packages and all works perfectly!
Now i'm back to share with amule. :D
-
Ahhh good to know.
I've searched a lot in cryptopp documentation but nothing about changing dir before the test.
May i know what -DCRYPTOPP_DISABLE_ASM does?
Does it disable something not compatible with my cpu architecture/model?
-
CryptoPP has some over-optimized machine code which can cause crashes or even worse behavior on some platforms.