unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Andreas Rottmann <a.rottmann@gmx.at>
To: Guile Bugs <bug-guile@gnu.org>
Subject: Guile bailing out with "uncaught throw to wrong-type-arg" on amd64 Linux
Date: Sun, 12 Sep 2010 13:11:38 +0200	[thread overview]
Message-ID: <87fwxf6wt1.fsf@delenn.lan> (raw)


This is the GDB and Scheme backtrace, as requested by Andy Wingo on IRC:

% GUILE_AUTO_COMPILE=0 ./meta/gdb-uninstalled-guile -q
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 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".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/rotty/src/guile/_build/libguile/.libs/lt-guile...done.
(gdb) br scm_ithrow
Function "scm_ithrow" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (scm_ithrow) pending.
(gdb) r
Starting program: /home/rotty/src/guile/_build/libguile/.libs/lt-guile -q
[Thread debugging using libthread_db enabled]

Breakpoint 1, scm_ithrow (key=0x65e700, args=0x3b49be0, noreturn=1) at ../../libguile/throw.c:452
452       return scm_throw (key, args);
(gdb) bt
#0  scm_ithrow (key=0x65e700, args=0x3b49be0, noreturn=1) at ../../libguile/throw.c:452
#1  0x00007ffff7acf505 in scm_error_scm (key=0x65e700, subr=<value optimized out>, message=<value optimized out>, args=<value optimized out>, data=<value optimized out>) at ../../libguile/error.c:94
#2  0x00007ffff7acf635 in scm_error (key=0x65e700, subr=0x7ffff7b80f2f "dynamic-link", message=<value optimized out>, args=0x3b49c20, rest=0x4) at ../../libguile/error.c:60
#3  0x00007ffff7acf662 in scm_misc_error (subr=<value optimized out>, message=<value optimized out>, args=<value optimized out>) at ../../libguile/error.c:283
#4  0x00007ffff7b516a1 in sysdep_dynl_link (filename=<value optimized out>) at ../../libguile/dynl.c:93
#5  scm_dynamic_link (filename=<value optimized out>) at ../../libguile/dynl.c:194
#6  0x00007ffff7ad5abd in load_extension (lib=0x3b25440, init=0x3b25400) at ../../libguile/extensions.c:114
#7  0x00007ffff7ad5af9 in scm_load_extension (lib=0x65e700, init=0x3b49be0) at ../../libguile/extensions.c:161
#8  0x00007ffff7b4ca12 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e588, argv=<value optimized out>, nargs=7067712) at ../../libguile/vm-i-system.c:863
#9  0x00007ffff7ad0994 in eval (x=0x3b49cb0, env=0x304) at ../../libguile/eval.c:312
#10 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e4c8, argv=<value optimized out>, nargs=7067640) at ../../libguile/vm-i-system.c:860
#11 0x00007ffff7ad14c3 in scm_primitive_eval (exp=0x3b46c50) at ../../libguile/eval.c:844
#12 0x00007ffff7af0183 in scm_primitive_load (filename=<value optimized out>) at ../../libguile/load.c:126
#13 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e548, argv=<value optimized out>, nargs=7065392) at ../../libguile/vm-i-system.c:860
#14 0x00007ffff7ad0994 in eval (x=0x1d356d0, env=0x3aaf250) at ../../libguile/eval.c:312
#15 0x00007ffff7acfe1c in eval (x=0x1d35670, env=0x3aaf250) at ../../libguile/eval.c:207
#16 0x00007ffff7ad0100 in eval (x=0x76b860, env=0x3aaf130) at ../../libguile/eval.c:247
#17 0x00007ffff7ad0244 in eval (x=0x1d35590, env=0x3aaf250) at ../../libguile/eval.c:268
#18 0x00007ffff7ad0100 in eval (x=0x76b860, env=0x3aaf220) at ../../libguile/eval.c:247
#19 0x00007ffff7acfe1c in eval (x=0x1d35400, env=0x3aaf250) at ../../libguile/eval.c:207
#20 0x00007ffff7acfe1c in eval (x=0x1579ae0, env=0x3aaf590) at ../../libguile/eval.c:207
#21 0x00007ffff7ad063f in eval (x=0x10ea9e0, env=0x3aaf780) at ../../libguile/eval.c:223
#22 0x00007ffff7ad063f in eval (x=0xa91f50, env=0x3aaf820) at ../../libguile/eval.c:223
#23 0x00007ffff7acfe1c in eval (x=0xa92040, env=0x3aac030) at ../../libguile/eval.c:207
#24 0x00007ffff7ad063f in eval (x=0x3aab110, env=0x304) at ../../libguile/eval.c:223
#25 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e4c8, argv=<value optimized out>, nargs=7067496) at ../../libguile/vm-i-system.c:860
#26 0x00007ffff7ad0994 in eval (x=0x9f0850, env=0x3aab530) at ../../libguile/eval.c:312
#27 0x00007ffff7acfe1c in eval (x=0x82e240, env=0x3aab550) at ../../libguile/eval.c:207
#28 0x00007ffff7ad0967 in eval (x=0x824940, env=0x3a7eb60) at ../../libguile/eval.c:310
#29 0x00007ffff7ad03f7 in prepare_boot_closure_env_for_eval (x=0x8248f0, env=0x3a7eb60) at ../../libguile/eval.c:1076
#30 eval (x=0x8248f0, env=0x3a7eb60) at ../../libguile/eval.c:300
#31 0x00007ffff7ad03f7 in prepare_boot_closure_env_for_eval (x=0x824600, env=0x3a7ebf0) at ../../libguile/eval.c:1076
#32 eval (x=0x824600, env=0x3a7ebf0) at ../../libguile/eval.c:300
#33 0x00007ffff7ad129f in boot_closure_apply (closure=<value optimized out>, args=<value optimized out>) at ../../libguile/eval.c:1113
#34 0x00007ffff7b4c7fc in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b7a868, argv=<value optimized out>, nargs=<value optimized out>) at ../../libguile/vm-i-system.c:928
#35 0x00007ffff7acfd57 in scm_call_1 (proc=0x79e300, arg1=0x3a5f2c0) at ../../libguile/eval.c:561
#36 0x00007ffff7ad0a49 in scm_c_primitive_eval (exp=0x3a5f2c0) at ../../libguile/eval.c:836
#37 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e4c8, argv=<value optimized out>, nargs=7067352) at ../../libguile/vm-i-system.c:860
#38 0x00007ffff7ad14c3 in scm_primitive_eval (exp=0x3a5f2c0) at ../../libguile/eval.c:844
#39 0x00007ffff7af0183 in scm_primitive_load (filename=<value optimized out>) at ../../libguile/load.c:126
#40 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e548, argv=<value optimized out>, nargs=7065392) at ../../libguile/vm-i-system.c:860
#41 0x00007ffff7ad0994 in eval (x=0x1d356d0, env=0x3a5b400) at ../../libguile/eval.c:312
#42 0x00007ffff7acfe1c in eval (x=0x1d35670, env=0x3a5b400) at ../../libguile/eval.c:207
#43 0x00007ffff7ad0100 in eval (x=0x76b860, env=0x3a5b2e0) at ../../libguile/eval.c:247
#44 0x00007ffff7ad0244 in eval (x=0x1d35590, env=0x3a5b400) at ../../libguile/eval.c:268
#45 0x00007ffff7ad0100 in eval (x=0x76b860, env=0x3a5b3d0) at ../../libguile/eval.c:247
#46 0x00007ffff7acfe1c in eval (x=0x1d35400, env=0x3a5b400) at ../../libguile/eval.c:207
#47 0x00007ffff7acfe1c in eval (x=0x1579ae0, env=0x3a5b830) at ../../libguile/eval.c:207
#48 0x00007ffff7ad063f in eval (x=0x10ea9e0, env=0x3a5ba90) at ../../libguile/eval.c:223
#49 0x00007ffff7ad063f in eval (x=0xa91f50, env=0x3a5bb30) at ../../libguile/eval.c:223
#50 0x00007ffff7acfe1c in eval (x=0xa92040, env=0x374dba0) at ../../libguile/eval.c:207
#51 0x00007ffff7ad063f in eval (x=0x374ae00, env=0x304) at ../../libguile/eval.c:223
#52 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e4c8, argv=<value optimized out>, nargs=7067208) at ../../libguile/vm-i-system.c:860
#53 0x00007ffff7ad0994 in eval (x=0x9f0850, env=0x37493a0) at ../../libguile/eval.c:312
#54 0x00007ffff7acfe1c in eval (x=0x82e240, env=0x37493c0) at ../../libguile/eval.c:207
#55 0x00007ffff7ad0967 in eval (x=0x824940, env=0x370b510) at ../../libguile/eval.c:310
#56 0x00007ffff7ad03f7 in prepare_boot_closure_env_for_eval (x=0x8248f0, env=0x370b510) at ../../libguile/eval.c:1076
#57 eval (x=0x8248f0, env=0x370b510) at ../../libguile/eval.c:300
#58 0x00007ffff7ad03f7 in prepare_boot_closure_env_for_eval (x=0x824600, env=0x370b5a0) at ../../libguile/eval.c:1076
#59 eval (x=0x824600, env=0x370b5a0) at ../../libguile/eval.c:300
#60 0x00007ffff7ad129f in boot_closure_apply (closure=<value optimized out>, args=<value optimized out>) at ../../libguile/eval.c:1113
#61 0x00007ffff7b4c7fc in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b7a868, argv=<value optimized out>, nargs=<value optimized out>) at ../../libguile/vm-i-system.c:928
#62 0x00007ffff7acfd57 in scm_call_1 (proc=0x79e300, arg1=0x36da060) at ../../libguile/eval.c:561
#63 0x00007ffff7ad0a49 in scm_c_primitive_eval (exp=0x36da060) at ../../libguile/eval.c:836
#64 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e4c8, argv=<value optimized out>, nargs=7067064) at ../../libguile/vm-i-system.c:860
#65 0x00007ffff7ad14c3 in scm_primitive_eval (exp=0x36da060) at ../../libguile/eval.c:844
#66 0x00007ffff7af0183 in scm_primitive_load (filename=<value optimized out>) at ../../libguile/load.c:126
#67 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e548, argv=<value optimized out>, nargs=7065392) at ../../libguile/vm-i-system.c:860
#68 0x00007ffff7ad0994 in eval (x=0x1d356d0, env=0x36d91a0) at ../../libguile/eval.c:312
#69 0x00007ffff7acfe1c in eval (x=0x1d35670, env=0x36d91a0) at ../../libguile/eval.c:207
#70 0x00007ffff7ad0100 in eval (x=0x76b860, env=0x36d9080) at ../../libguile/eval.c:247
#71 0x00007ffff7ad0244 in eval (x=0x1d35590, env=0x36d91a0) at ../../libguile/eval.c:268
#72 0x00007ffff7ad0100 in eval (x=0x76b860, env=0x36d9170) at ../../libguile/eval.c:247
#73 0x00007ffff7acfe1c in eval (x=0x1d35400, env=0x36d91a0) at ../../libguile/eval.c:207
#74 0x00007ffff7acfe1c in eval (x=0x1579ae0, env=0x36d95d0) at ../../libguile/eval.c:207
#75 0x00007ffff7ad063f in eval (x=0x10ea9e0, env=0x36d9830) at ../../libguile/eval.c:223
#76 0x00007ffff7ad063f in eval (x=0xa91f50, env=0x36d98d0) at ../../libguile/eval.c:223
#77 0x00007ffff7acfe1c in eval (x=0xa92040, env=0x2907e20) at ../../libguile/eval.c:207
#78 0x00007ffff7ad063f in eval (x=0x2905640, env=0x304) at ../../libguile/eval.c:223
---Type <return> to continue, or q <return> to quit---
#79 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e4c8, argv=<value optimized out>, nargs=7066920) at ../../libguile/vm-i-system.c:860
#80 0x00007ffff7ad0994 in eval (x=0x9f0850, env=0x2905c90) at ../../libguile/eval.c:312
#81 0x00007ffff7acfe1c in eval (x=0x82e240, env=0x2905cb0) at ../../libguile/eval.c:207
#82 0x00007ffff7ad0967 in eval (x=0x824940, env=0x2890da0) at ../../libguile/eval.c:310
#83 0x00007ffff7ad03f7 in prepare_boot_closure_env_for_eval (x=0x8248f0, env=0x2890da0) at ../../libguile/eval.c:1076
#84 eval (x=0x8248f0, env=0x2890da0) at ../../libguile/eval.c:300
#85 0x00007ffff7ad03f7 in prepare_boot_closure_env_for_eval (x=0x824600, env=0x2890e30) at ../../libguile/eval.c:1076
#86 eval (x=0x824600, env=0x2890e30) at ../../libguile/eval.c:300
#87 0x00007ffff7ad129f in boot_closure_apply (closure=<value optimized out>, args=<value optimized out>) at ../../libguile/eval.c:1113
#88 0x00007ffff7b4c7fc in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b7a868, argv=<value optimized out>, nargs=<value optimized out>) at ../../libguile/vm-i-system.c:928
#89 0x00007ffff7acfd57 in scm_call_1 (proc=0x79e300, arg1=0x2843400) at ../../libguile/eval.c:561
#90 0x00007ffff7ad0a49 in scm_c_primitive_eval (exp=0x2843400) at ../../libguile/eval.c:836
#91 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e4c8, argv=<value optimized out>, nargs=7066776) at ../../libguile/vm-i-system.c:860
#92 0x00007ffff7ad14c3 in scm_primitive_eval (exp=0x2843400) at ../../libguile/eval.c:844
#93 0x00007ffff7af0183 in scm_primitive_load (filename=<value optimized out>) at ../../libguile/load.c:126
#94 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e548, argv=<value optimized out>, nargs=7065392) at ../../libguile/vm-i-system.c:860
#95 0x00007ffff7ad0994 in eval (x=0x1d356d0, env=0x2842bd0) at ../../libguile/eval.c:312
#96 0x00007ffff7acfe1c in eval (x=0x1d35670, env=0x2842bd0) at ../../libguile/eval.c:207
#97 0x00007ffff7ad0100 in eval (x=0x76b860, env=0x2842a70) at ../../libguile/eval.c:247
#98 0x00007ffff7ad0244 in eval (x=0x1d35590, env=0x2842bd0) at ../../libguile/eval.c:268
#99 0x00007ffff7ad0100 in eval (x=0x76b860, env=0x2842ba0) at ../../libguile/eval.c:247
#100 0x00007ffff7acfe1c in eval (x=0x1d35400, env=0x2842bd0) at ../../libguile/eval.c:207
#101 0x00007ffff7acfe1c in eval (x=0x1579ae0, env=0x28401f0) at ../../libguile/eval.c:207
#102 0x00007ffff7ad063f in eval (x=0x10ea9e0, env=0x2840380) at ../../libguile/eval.c:223
#103 0x00007ffff7ad063f in eval (x=0xa91f50, env=0x2840450) at ../../libguile/eval.c:223
#104 0x00007ffff7acfe1c in eval (x=0xa92040, env=0x283e3a0) at ../../libguile/eval.c:207
#105 0x00007ffff7ad063f in eval (x=0x283cb40, env=0x304) at ../../libguile/eval.c:223
#106 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e4c8, argv=<value optimized out>, nargs=7066632) at ../../libguile/vm-i-system.c:860
#107 0x00007ffff7ad0994 in eval (x=0x9f0850, env=0x283a130) at ../../libguile/eval.c:312
#108 0x00007ffff7acfe1c in eval (x=0x82e240, env=0x283a150) at ../../libguile/eval.c:207
#109 0x00007ffff7ad0967 in eval (x=0x824940, env=0x2ff3340) at ../../libguile/eval.c:310
#110 0x00007ffff7ad03f7 in prepare_boot_closure_env_for_eval (x=0x8248f0, env=0x2ff3340) at ../../libguile/eval.c:1076
#111 eval (x=0x8248f0, env=0x2ff3340) at ../../libguile/eval.c:300
#112 0x00007ffff7ad03f7 in prepare_boot_closure_env_for_eval (x=0x824600, env=0x2ff33d0) at ../../libguile/eval.c:1076
#113 eval (x=0x824600, env=0x2ff33d0) at ../../libguile/eval.c:300
#114 0x00007ffff7ad129f in boot_closure_apply (closure=<value optimized out>, args=<value optimized out>) at ../../libguile/eval.c:1113
#115 0x00007ffff7b4c7fc in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b7a868, argv=<value optimized out>, nargs=<value optimized out>) at ../../libguile/vm-i-system.c:928
#116 0x00007ffff7acfd57 in scm_call_1 (proc=0x79e300, arg1=0x2fcaff0) at ../../libguile/eval.c:561
#117 0x00007ffff7ad0a49 in scm_c_primitive_eval (exp=0x2fcaff0) at ../../libguile/eval.c:836
#118 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e4c8, argv=<value optimized out>, nargs=7066488) at ../../libguile/vm-i-system.c:860
#119 0x00007ffff7ad14c3 in scm_primitive_eval (exp=0x2fcaff0) at ../../libguile/eval.c:844
#120 0x00007ffff7af0183 in scm_primitive_load (filename=<value optimized out>) at ../../libguile/load.c:126
#121 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e548, argv=<value optimized out>, nargs=7065392) at ../../libguile/vm-i-system.c:860
#122 0x00007ffff7ad0994 in eval (x=0x1d356d0, env=0x2fc8270) at ../../libguile/eval.c:312
#123 0x00007ffff7acfe1c in eval (x=0x1d35670, env=0x2fc8270) at ../../libguile/eval.c:207
#124 0x00007ffff7ad0100 in eval (x=0x76b860, env=0x2fc8150) at ../../libguile/eval.c:247
#125 0x00007ffff7ad0244 in eval (x=0x1d35590, env=0x2fc8270) at ../../libguile/eval.c:268
#126 0x00007ffff7ad0100 in eval (x=0x76b860, env=0x2fc8240) at ../../libguile/eval.c:247
#127 0x00007ffff7acfe1c in eval (x=0x1d35400, env=0x2fc8270) at ../../libguile/eval.c:207
#128 0x00007ffff7acfe1c in eval (x=0x1579ae0, env=0x2fc8620) at ../../libguile/eval.c:207
#129 0x00007ffff7ad0967 in eval (x=0x9f01a0, env=0x2fc8880) at ../../libguile/eval.c:310
#130 0x00007ffff7ad063f in eval (x=0x7a4d80, env=0x2fc8880) at ../../libguile/eval.c:223
#131 0x00007ffff7ad063f in eval (x=0x7be330, env=0x2fc88a0) at ../../libguile/eval.c:223
#132 0x00007ffff7ad063f in eval (x=0x82e890, env=0x2fc88e0) at ../../libguile/eval.c:223
#133 0x00007ffff7ad129f in boot_closure_apply (closure=<value optimized out>, args=<value optimized out>) at ../../libguile/eval.c:1113
#134 0x00007ffff7b4c7fc in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b7a868, argv=<value optimized out>, nargs=<value optimized out>) at ../../libguile/vm-i-system.c:928
#135 0x00007ffff7b3a1ff in scm_vm_apply (vm=0x6bb370, program=0x2d9e5e0, args=0x304) at ../../libguile/vm.c:583
#136 0x00007ffff7ad0304 in eval (x=0x76bdb0, env=0x2fc6fd0) at ../../libguile/eval.c:325
#137 0x00007ffff7ad129f in boot_closure_apply (closure=<value optimized out>, args=<value optimized out>) at ../../libguile/eval.c:1113
#138 0x00007ffff7b4c7fc in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b7a868, argv=<value optimized out>, nargs=<value optimized out>) at ../../libguile/vm-i-system.c:928
#139 0x00007ffff7b3a1ff in scm_vm_apply (vm=0x6bb370, program=0x2d9e700, args=0x304) at ../../libguile/vm.c:583
#140 0x00007ffff7ad0304 in eval (x=0x76bdb0, env=0x2fc5250) at ../../libguile/eval.c:325
#141 0x00007ffff7ad129f in boot_closure_apply (closure=<value optimized out>, args=<value optimized out>) at ../../libguile/eval.c:1113
#142 0x00007ffff7b4c7fc in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b7a868, argv=<value optimized out>, nargs=<value optimized out>) at ../../libguile/vm-i-system.c:928
#143 0x00007ffff7acfd57 in scm_call_1 (proc=0x2d9d080, arg1=0x2fc35e0) at ../../libguile/eval.c:561
#144 0x00007ffff7ad1d33 in scm_map (proc=0x2d9d080, arg1=0x2fc35c0, args=0x304) at ../../libguile/eval.c:726
#145 0x00007ffff7b4c9fa in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e7c8, argv=<value optimized out>, nargs=7066112) at ../../libguile/vm-i-system.c:866
#146 0x00007ffff7ad0994 in eval (x=0x8fa940, env=0x2fc4960) at ../../libguile/eval.c:312
#147 0x00007ffff7ad03f7 in prepare_boot_closure_env_for_eval (x=0x8fa8f0, env=0x2fc4960) at ../../libguile/eval.c:1076
#148 eval (x=0x8fa8f0, env=0x2fc4960) at ../../libguile/eval.c:300
#149 0x00007ffff7ad03f7 in prepare_boot_closure_env_for_eval (x=0x9037c0, env=0x2fc0d10) at ../../libguile/eval.c:1076
#150 eval (x=0x9037c0, env=0x2fc0d10) at ../../libguile/eval.c:300
#151 0x00007ffff7ad129f in boot_closure_apply (closure=<value optimized out>, args=<value optimized out>) at ../../libguile/eval.c:1113
#152 0x00007ffff7b4c7fc in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b7a868, argv=<value optimized out>, nargs=<value optimized out>) at ../../libguile/vm-i-system.c:928
#153 0x00007ffff7acfd57 in scm_call_1 (proc=0x2d9b000, arg1=0x2fbae10) at ../../libguile/eval.c:561
#154 0x00007ffff7ad1d33 in scm_map (proc=0x2d9b000, arg1=0x2fbb370, args=0x304) at ../../libguile/eval.c:726
#155 0x00007ffff7b4c9fa in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e7c8, argv=<value optimized out>, nargs=7065952) at ../../libguile/vm-i-system.c:866
#156 0x00007ffff7ad0994 in eval (x=0x8b4a10, env=0x2fbb270) at ../../libguile/eval.c:312
#157 0x00007ffff7ad03f7 in prepare_boot_closure_env_for_eval (x=0x8b49c0, env=0x2fbb270) at ../../libguile/eval.c:1076
---Type <return> to continue, or q <return> to quit---
#158 eval (x=0x8b49c0, env=0x2fbb270) at ../../libguile/eval.c:300
#159 0x00007ffff7ad063f in eval (x=0x82e220, env=0x2fbbd50) at ../../libguile/eval.c:223
#160 0x00007ffff7ad129f in boot_closure_apply (closure=<value optimized out>, args=<value optimized out>) at ../../libguile/eval.c:1113
#161 0x00007ffff7b4c7fc in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b7a868, argv=<value optimized out>, nargs=<value optimized out>) at ../../libguile/vm-i-system.c:928
#162 0x00007ffff7acfd57 in scm_call_1 (proc=0x79e300, arg1=0x2ea8930) at ../../libguile/eval.c:561
#163 0x00007ffff7ad0a49 in scm_c_primitive_eval (exp=0x2ea8930) at ../../libguile/eval.c:836
#164 0x00007ffff7b4ca27 in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b6e4c8, argv=<value optimized out>, nargs=7065808) at ../../libguile/vm-i-system.c:860
#165 0x00007ffff7ad14c3 in scm_primitive_eval (exp=0x2ea8930) at ../../libguile/eval.c:844
#166 0x00007ffff7ad1523 in scm_eval (exp=0x2ea8930, module_or_state=0x2870990) at ../../libguile/eval.c:878
#167 0x00007ffff7b1593f in scm_shell (argc=2, argv=0x7fffffffda68) at ../../libguile/script.c:760
#168 0x00007ffff7ae9bcf in invoke_main_func (body_data=0x7fffffffd950) at ../../libguile/init.c:381
#169 0x00007ffff7ac88ba in c_body (d=0x7fffffffd880) at ../../libguile/continuations.c:473
#170 0x00007ffff7b4c7fc in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b7a868, argv=<value optimized out>, nargs=<value optimized out>) at ../../libguile/vm-i-system.c:928
#171 0x00007ffff7ad0994 in eval (x=0x7669b0, env=0x2ea8b90) at ../../libguile/eval.c:312
#172 0x00007ffff7ad0244 in eval (x=0x7667f0, env=0x2ea8b90) at ../../libguile/eval.c:268
#173 0x00007ffff7ad09af in eval (x=0x754b30, env=0x2ea8b60) at ../../libguile/eval.c:428
#174 0x00007ffff7ad129f in boot_closure_apply (closure=<value optimized out>, args=<value optimized out>) at ../../libguile/eval.c:1113
#175 0x00007ffff7b4c7fc in vm_debug_engine (vm=<value optimized out>, program=0x7ffff7b7a868, argv=<value optimized out>, nargs=<value optimized out>) at ../../libguile/vm-i-system.c:928
#176 0x00007ffff7acfcb3 in scm_call_4 (proc=0x764c20, arg1=<value optimized out>, arg2=<value optimized out>, arg3=<value optimized out>, arg4=<value optimized out>) at ../../libguile/eval.c:582
#177 0x00007ffff7ac8b03 in scm_i_with_continuation_barrier (body=<value optimized out>, body_data=0x7fffffffd880, handler=0x7ffff7ac88d0 <c_handler>, handler_data=0x7fffffffd880, pre_unwind_handler=<value optimized out>, 
    pre_unwind_handler_data=<value optimized out>) at ../../libguile/continuations.c:450
#178 0x00007ffff7ac8ba0 in scm_c_with_continuation_barrier (func=<value optimized out>, data=<value optimized out>) at ../../libguile/continuations.c:491
#179 0x00007ffff7b36232 in scm_i_with_guile_and_parent (func=<value optimized out>, data=<value optimized out>, parent=<value optimized out>) at ../../libguile/threads.c:741
#180 0x00007ffff7ae9b85 in scm_boot_guile (argc=<value optimized out>, argv=<value optimized out>, main_func=0x1, closure=0x4) at ../../libguile/init.c:364
#181 0x0000000000400ab0 in main (argc=6678272, argv=0x3b49be0) at ../../libguile/guile.c:70
(gdb) disable 1
(gdb) call scm_backtrace()

Backtrace:
guile: uncaught throw to wrong-type-arg: (#f Wrong type (expecting ~A): ~S (exact integer (#t #<catch-closure 2c7ad40> #<catch-closure 2c7ad20> #<catch-closure 2c7ace0>)) ((#t #<catch-closure 2c7ad40> #<catch-closure 2c7ad20> #<catch-closure 2c7ace0>)))

Program exited with code 01.
The program being debugged exited while in a function called from GDB.
Evaluation of the expression containing the function
(scm_backtrace) will be abandoned.
(gdb) 

Thanks, Rotty
-- 
Andreas Rottmann -- <http://rotty.yi.org/>



             reply	other threads:[~2010-09-12 11:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-12 11:11 Andreas Rottmann [this message]
2010-09-12 21:53 ` Guile bailing out with "uncaught throw to wrong-type-arg" on amd64 Linux Andy Wingo
2010-09-13  7:49   ` Andreas Rottmann
2010-09-13 21:07     ` Andy Wingo
2010-09-15  8:03       ` Andreas Rottmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fwxf6wt1.fsf@delenn.lan \
    --to=a.rottmann@gmx.at \
    --cc=bug-guile@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).