SIGBUS in low_backtrace()
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3630
Reported by David Gourdelier, vida@caudium.net
Program received signal SIGBUS, Bus error.
0x810dede in low_backtrace (i=0x8228e40)
at /home/david/Pike/7.5/src/builtin.cmod:1547
1547 if (function && (function->identifier_flags &
IDENTIFIER_VARARGS) &&
(gdb) bt
#0 0x810dede in low_backtrace (i=0x8228e40)
at /home/david/Pike/7.5/src/builtin.cmod:1547
#1 0x810dfc9 in f_backtrace (args=0)
at /home/david/Pike/7.5/src/builtin.cmod:1610
#2 0x80ac74a in push_error (
description=0xbfbfdb04 "Wrong type of argument to MIME.decode_base64()\n")
at error.c:175
#3 0x80ac76d in low_error (
buf=0xbfbfdb04 "Wrong type of argument to MIME.decode_base64()\n")
at error.c:190
#4 0x80ac8ed in va_error (
fmt=0x286681a0 "Wrong type of argument to MIME.decode_base64()\n",
args=0xbfbfeb30 "pë¿¿«v\r\b2_f(ÄW2\b\b") at error.c:228
#5 0x80acc99 in Pike_error (
fmt=0x286681a0 "Wrong type of argument to MIME.decode_base64()\n")
at error.c:376
#6 0x28665f71 in f_decode_base64 (args=1) at mime.c:165
#7 0x8070a65 in opcode_F_CALL_BUILTIN1 (arg1=18)
at /home/david/Pike/7.5/src/interpret_functions.h:2178
#8 0x86d1821 in ?? ()
#9 0x8073042 in o_catch (
pc=0x86d17dc
"¡H\216\"\b\213\r@\216\"\b\211\b\203À\004£H\216\"\b\213\035P\216\"\b\213S$\213B\004\211A\004\213\022\211\021f\203ú\aw\002ÿ")
at interpret.c:1936
#10 0x806def0 in jump_opcode_F_CATCH ()
at /home/david/Pike/7.5/src/interpret_functions.h:1240
#11 0x86d17d6 in ?? ()
#12 0x8072f80 in mega_apply (type=APPLY_STACK, args=8, arg1=0x0, arg2=0x0)
at interpret.c:1891
#13 0x80730a8 in f_call_function (args=8) at interpret.c:1962
#14 0x2851a0f8 in container_callback (this=0xc356000, thisobj=0xc71b178,
v=0xbc38630, startc=0x88d77b0, cstartc=1574, endc=0x88d77b0, cendc=15519,
st=0x87507b0, cutstart=0x87507bc, ccutstart=0x87507c0, cutend=0x88d77b0,
ccutend=15532) at html.c:2734
#15 0x2851b560 in do_try_feed (this=0xc356000, thisobj=0xc71b178,
st=0x87507b0,
feed=0x87507bc, finished=1, ignore_tag_cb=0) at html.c:3223
#16 0x2851c6b2 in try_feed (finished=1) at html.c:3736
#17 0x2851ccb6 in html_finish (args=1) at html.c:3931
#18 0x8071e22 in low_mega_apply (type=APPLY_LOW, args=1, arg1=0xc71b178,
arg2=0xc) at apply_low.h:211
#19 0x8070370 in jump_opcode_F_CALL_OTHER (arg1=55)
at /home/david/Pike/7.5/src/interpret_functions.h:1958
#20 0xbb47861 in ?? ()
#21 0x8072f80 in mega_apply (type=APPLY_STACK, args=1, arg1=0x0, arg2=0x0)
at interpret.c:1891
---Type <return> to continue, or q <return> to quit---
#22 0x80730a8 in f_call_function (args=1) at interpret.c:1962
#23 0x809a9ef in backend_do_call_outs (me=0x831a400)
at /home/david/Pike/7.5/src/backend.cmod:1192
#24 0x809bf08 in low_backend_once (me=0x831a400, timeout=0xbfbff188)
at /home/david/Pike/7.5/src/backend.cmod:2514
#25 0x809c095 in f_Backend_cq__backtick_28_29 (args=1)
at /home/david/Pike/7.5/src/backend.cmod:2559
#26 0x8071e22 in low_mega_apply (type=APPLY_SVALUE, args=1, arg1=0x83ebfcc,
arg2=0x0) at apply_low.h:211
#27 0x806ff15 in jump_opcode_F_APPLY_AND_POP (arg1=49)
at /home/david/Pike/7.5/src/interpret_functions.h:1937
#28 0x83dcbae in ?? ()
#29 0x8073042 in o_catch (
pc=0x83dcb28
"\213\rP\216\"\b¸Ø4Â÷÷Ø\211A\034\203A\034\020\213\025H\216\"\b\213\035@\216\"\b\211\032\203Â\004\211\025H\216\"\bÇ\003\t")
at interpret.c:1936
#30 0x806def0 in jump_opcode_F_CATCH ()
at /home/david/Pike/7.5/src/interpret_functions.h:1240
#31 0x83dcb22 in ?? ()
#32 0x8072f80 in mega_apply (type=APPLY_LOW, args=2, arg1=0x8315f14, arg2=0x66)
at interpret.c:1891
#33 0x8073b19 in apply (o=0x8315f14, fun=0x81a76da "_main", args=2)
at interpret.c:2278
#34 0x80d4c24 in main (argc=14, argv=0xbfbff510) at main.c:841
#35 0x8061e56 in _start ()
(gdb) display function->name 6: function->name = (struct pike_string *) Error accessing memory address 0xfe56e852: Bad address. Disabling display 6 to avoid infinite recursion. (gdb) display function->identifier_flags 7: function->identifier_flags = Error accessing memory address 0xfe56e85a: Bad address. Disabling display 7 to avoid infinite recursion.
This is the latest Pike 7.5 CVS running on FreeBSD 4.7.