Hi folks,
for some months I have been trying to produce a usable backtrace of a problem which prohibits the use of the KAD-Network in my system setup. I run amuled on an embedded device, crosscompiled for ppc405 on an i586 host. Some minutes after starting amuled, the application prints repeatingly the message "Terminated after throwing an instance of 'wxString'" on the console. The memory consume rises and than the applicaton dies. The backtrace repeats itself as well, so I just included the first couple of lines... Hopefully this information is enough to track down the problem.
As a temporary workaround I deactivated KAD and use just the ed2k-network.
cu
...
Terminated after throwing an instance of 'wxString'
Terminated after throwing an instance of 'wxString'
Program received signal SIGSEGV, Segmentation fault.
*__GI___errno_location () at ../sysdeps/generic/errno-loc.c:34
34 ../sysdeps/generic/errno-loc.c: No such file or directory.
in ../sysdeps/generic/errno-loc.c
Current language: auto; currently c
(gdb) bt
bt
#0 *__GI___errno_location () at ../sysdeps/generic/errno-loc.c:34
#1 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#2 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#3 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#4 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#5 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#6 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#7 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#8 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
---Type <return> to continue, or q <return> to quit---q
format=0x10402d20 "\nTerminated afQuit
) at vfprintf.c:271
#9 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#10 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#11 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#12 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#13 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
#14 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
...some stuff cut out...
#780 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb) q
The program is running. Exit anyway? (y or n) n
Not confirmed.
(gdb) bt full
#0 *__GI___errno_location () at ../sysdeps/generic/errno-loc.c:34
No locals.
#1 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
thousands_sep = 0x0
grouping = 0x0
done = 266366008
f = (const unsigned char *) 0x2b <Address 0x2b out of bounds>
lead_str_end = (const unsigned char *) 0x7f807018 "\177\200p�\017�(�"
work_buffer = '\0' <repeats 48 times>, "\177\200\000X\000\000\000\000\017� �\177\200*�\177\200\000x\000\000\000\000\000\000\000\000\177\200J�\000\000\000+\020@- \017� �\000\000\000+\177\200\000\230\017�A�\177\200M�\020\204�\210\000\000\000\b\020@-M\017� �\177\200\000\230\177\200&�\017��8", '\0' <repeats 56 times>, "\177\200\000�\000\000\000\000\017� �\177\200+\210\177\200\001\b\000\000\000\000\000\000\000\000\177\200K\210\000\000\000+\020@- \017� �\000\000\000+\177\200\001(\017�A�\177\200N8\020\204�\210\000\000\000\b\020@-M\017� �\177\200\001(\177\200'x\017��8", '\0' <repeats 56 times>...
workstart = 0x0
workend = 0x0
mbstate = {__count = 43, __value = {__wch = 272641312,
__wchb = "\020@- "}}
ap_save = {{gpr = 0 '\0', fpr = 0 '\0', reserved = 0,
---Type <return> to continue, or q <return> to quit---
overflow_arg_area = 0x0, reg_save_area = 0x0}}
nspecs_done = 266346712
save_errno = 272641359
jump_table = {1, 0, 0, 4, 0, 14, 0, 6, 0, 0, 7, 2, 0, 3, 9, 0, 5, 8,
8, 8, 8, 8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 26, 0, 25, 0, 19, 19, 19, 0,
29, 0, 0, 12, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 18, 0, 13, 0, 0, 0, 0, 0, 0,
26, 0, 20, 15, 19, 19, 19, 10, 15, 28, 0, 11, 24, 23, 17, 22, 12, 0, 21, 27,
16, 0, 0, 18, 0, 13}
__PRETTY_FUNCTION__ = "_IO_vfprintf"
#2 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
thousands_sep = 0x0
grouping = 0x0
done = 266366008
f = (const unsigned char *) 0x2b <Address 0x2b out of bounds>
lead_str_end = (const unsigned char *) 0x7f807018 "\177\200p�\017�(�"
work_buffer = '\0' <repeats 48 times>, "\177\200\000X\000\000\000\000\017� �\177\200*�\177\200\000x\000\000\000\000\000\000\000\000\177\200J�\000\000\000+\020@- \017� �\000\000\000+\177\200\000\230\017�A�\177\200M�\020\204�\210\000\000\000\b\020@-M\017� �\177\200\000\230\177\200&�\017��8", '\0' <repeats 56 times>, "\177\200\000�\000\000\000\000\017� �\177\200+\210\177\200\001\b\000\000\000\000\000\000\000\000\177\200K\210\000\000\000+\020@- \017� �\000\000\000+\177\20---Type <return> to continue, or q <return> to quit---
0\001(\017�A�\177\200N8\020\204�\210\000\000\000\b\020@-M\017� �\177\200\001(\177\200'x\017��8", '\0' <repeats 56 times>...
workstart = 0x0
workend = 0x0
mbstate = {__count = 43, __value = {__wch = 272641312,
__wchb = "\020@- "}}
ap_save = {{gpr = 0 '\0', fpr = 0 '\0', reserved = 0,
overflow_arg_area = 0x0, reg_save_area = 0x0}}
nspecs_done = 266346712
save_errno = 272641359
jump_table = {1, 0, 0, 4, 0, 14, 0, 6, 0, 0, 7, 2, 0, 3, 9, 0, 5, 8,
8, 8, 8, 8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 26, 0, 25, 0, 19, 19, 19, 0,
29, 0, 0, 12, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 18, 0, 13, 0, 0, 0, 0, 0, 0,
26, 0, 20, 15, 19, 19, 19, 10, 15, 28, 0, 11, 24, 23, 17, 22, 12, 0, 21, 27,
16, 0, 0, 18, 0, 13}
__PRETTY_FUNCTION__ = "_IO_vfprintf"
#3 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
thousands_sep = 0x0
grouping = 0x0
done = 266366008
f = (const unsigned char *) 0x2b <Address 0x2b out of bounds>
---Type <return> to continue, or q <return> to quit---
lead_str_end = (const unsigned char *) 0x7f807018 "\177\200p�\017�(�"
work_buffer = '\0' <repeats 48 times>, "\177\200\000X\000\000\000\000\017� �\177\200*�\177\200\000x\000\000\000\000\000\000\000\000\177\200J�\000\000\000+\020@- \017� �\000\000\000+\177\200\000\230\017�A�\177\200M�\020\204�\210\000\000\000\b\020@-M\017� �\177\200\000\230\177\200&�\017��8", '\0' <repeats 56 times>, "\177\200\000�\000\000\000\000\017� �\177\200+\210\177\200\001\b\000\000\000\000\000\000\000\000\177\200K\210\000\000\000+\020@- \017� �\000\000\000+\177\200\001(\017�A�\177\200N8\020\204�\210\000\000\000\b\020@-M\017� �\177\200\001(\177\200'x\017��8", '\0' <repeats 56 times>...
workstart = 0x0
workend = 0x0
mbstate = {__count = 43, __value = {__wch = 272641312,
__wchb = "\020@- "}}
ap_save = {{gpr = 0 '\0', fpr = 0 '\0', reserved = 0,
overflow_arg_area = 0x0, reg_save_area = 0x0}}
nspecs_done = 266346712
save_errno = 272641359
jump_table = {1, 0, 0, 4, 0, 14, 0, 6, 0, 0, 7, 2, 0, 3, 9, 0, 5, 8,
8, 8, 8, 8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 26, 0, 25, 0, 19, 19, 19, 0,
29, 0, 0, 12, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 18, 0, 13, 0, 0, 0, 0, 0, 0,
26, 0, 20, 15, 19, 19, 19, 10, 15, 28, 0, 11, 24, 23, 17, 22, 12, 0, 21, 27,
16, 0, 0, 18, 0, 13}
__PRETTY_FUNCTION__ = "_IO_vfprintf"
---Type <return> to continue, or q <return> to quit---
#4 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
thousands_sep = 0x0
grouping = 0x0
done = 266366008
f = (const unsigned char *) 0x2b <Address 0x2b out of bounds>
lead_str_end = (const unsigned char *) 0x7f807018 "\177\200p�\017�(�"
work_buffer = '\0' <repeats 48 times>, "\177\200\000X\000\000\000\000\017� �\177\200*�\177\200\000x\000\000\000\000\000\000\000\000\177\200J�\000\000\000+\020@- \017� �\000\000\000+\177\200\000\230\017�A�\177\200M�\020\204�\210\000\000\000\b\020@-M\017� �\177\200\000\230\177\200&�\017��8", '\0' <repeats 56 times>, "\177\200\000�\000\000\000\000\017� �\177\200+\210\177\200\001\b\000\000\000\000\000\000\000\000\177\200K\210\000\000\000+\020@- \017� �\000\000\000+\177\200\001(\017�A�\177\200N8\020\204�\210\000\000\000\b\020@-M\017� �\177\200\001(\177\200'x\017��8", '\0' <repeats 56 times>...
workstart = 0x0
workend = 0x0
mbstate = {__count = 43, __value = {__wch = 272641312,
__wchb = "\020@- "}}
ap_save = {{gpr = 0 '\0', fpr = 0 '\0', reserved = 0,
overflow_arg_area = 0x0, reg_save_area = 0x0}}
nspecs_done = 266346712
---Type <return> to continue, or q <return> to quit---
save_errno = 272641359
jump_table = {1, 0, 0, 4, 0, 14, 0, 6, 0, 0, 7, 2, 0, 3, 9, 0, 5, 8,
8, 8, 8, 8, 8, 8, 8, 8, 0, 0, 0, 0, 0, 0, 0, 26, 0, 25, 0, 19, 19, 19, 0,
29, 0, 0, 12, 0, 0, 0, 0, 0, 0, 21, 0, 0, 0, 0, 18, 0, 13, 0, 0, 0, 0, 0, 0,
26, 0, 20, 15, 19, 19, 19, 10, 15, 28, 0, 11, 24, 23, 17, 22, 12, 0, 21, 27,
16, 0, 0, 18, 0, 13}
__PRETTY_FUNCTION__ = "_IO_vfprintf"
#5 0x0fd1b5a0 in _IO_vfprintf (s=0x7f804a68,
format=0x10402d20 "\nTerminated after throwing an instance of '%s'\n",
ap=0x7f804d18) at vfprintf.c:271
thousands_sep = 0x0
grouping = 0x0
done = 266366008
f = (const unsigned char *) 0x2b <Address 0x2b out of bounds>
lead_str_end = (const unsigned char *) 0x7f807018 "\177\200p�\017�(�"
work_buffer = '\0' <repeats 48 times>, "\177\200\000X\000\000\000\000\017� �\177\200*�\177\200\000x\000\000\000\000\000\000\000\000\177\200J�\000\000\000+\020@- \017� �\000\000\000+\177\200\000\230\017�A�\177\200M�\020\204�\210\000\000\000\b\020@-M\017� �\177\200\000\230\177\200&�\017��8", '\0' <repeats 56 times>, "\177\200\000�\000\000\000\000\017� �\177\200+\210\177\200\001\b\000\000\000\000\000\000\000\000\177\200K\210\000\000\000+\020@- \017� �\000\000\000+\177\200\001(\017�A�\177\200N8\020\204�\210\000\000\000\b\020@-M\017� �\177\200\001(\177\200'x\017��8", '\0' <repeats 56 times>...
---Type <return> to continue, or q <return> to quit---q
Quit
(gdb)