From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.bugs Subject: abort() in vm-engine.c Date: Sat, 19 Mar 2011 20:18:02 +0100 Message-ID: <87oc56q5qt.fsf@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300562316 12569 80.91.229.12 (19 Mar 2011 19:18:36 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 19:18:36 +0000 (UTC) To: Guile Bugs Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat Mar 19 20:18:31 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q11fS-0004Mf-DQ for guile-bugs@m.gmane.org; Sat, 19 Mar 2011 20:18:30 +0100 Original-Received: from localhost ([127.0.0.1]:48196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q11fR-0001gG-MA for guile-bugs@m.gmane.org; Sat, 19 Mar 2011 15:18:29 -0400 Original-Received: from [140.186.70.92] (port=50061 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q11fJ-0001Vu-Uv for bug-guile@gnu.org; Sat, 19 Mar 2011 15:18:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q11fI-00033x-7w for bug-guile@gnu.org; Sat, 19 Mar 2011 15:18:21 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:54460) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Q11fH-00033t-Lh for bug-guile@gnu.org; Sat, 19 Mar 2011 15:18:20 -0400 Original-Received: (qmail invoked by alias); 19 Mar 2011 19:18:16 -0000 Original-Received: from 83-215-154-5.hage.dyn.salzburg-online.at (EHLO nathot.lan) [83.215.154.5] by mail.gmx.net (mp031) with SMTP; 19 Mar 2011 20:18:16 +0100 X-Authenticated: #3102804 X-Provags-ID: V01U2FsdGVkX1+67kAut1G62lHQ1lPVuiKCGPsuw3VH/T/Xy+EL8Q BrGMM1I3mC0mWn Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by nathot.lan (Postfix) with ESMTP id E4D3F3A68F for ; Sat, 19 Mar 2011 20:18:12 +0100 (CET) Original-Received: from nathot.lan ([127.0.0.1]) by localhost (nathot.lan [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id idAVBRZStTAn for ; Sat, 19 Mar 2011 20:18:03 +0100 (CET) Original-Received: from delenn.lan (delenn.lan [192.168.3.11]) by nathot.lan (Postfix) with ESMTP id 868783A685 for ; Sat, 19 Mar 2011 20:18:03 +0100 (CET) Original-Received: by delenn.lan (Postfix, from userid 1000) id 165642C00D3; Sat, 19 Mar 2011 20:18:03 +0100 (CET) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 213.165.64.23 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5344 Archived-At: Hi! I encountered an "abort()" during compilation of my code. Bisecting Guile seems to indicate that the commit responsible is 9b709b0fe1... Here is a backtrace from GDB; note the innermost stackframe seems suspicious -- the arguments to `vm_regular_engine' certainly don't look normal: (gdb) run -x .guile.sls -x .sls -c '(use-modules (spells test-runner))' Starting program: /home/rotty/.system/bin/guile -x .guile.sls -x .sls -c '(use-modules (spells test-runner))' ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /home/rotty/src/spe/systems/spells/spells/test-runner.sls ;;; compiling /home/rotty/src/spe/systems/spells/spells/misc.sls ;;; compiling /home/rotty/src/spe/systems/spells/spells/include.sls ;;; compiling /home/rotty/src/spe/systems/spells/spells/include/helpers.sls ;;; compiling /home/rotty/src/spe/systems/spells/spells/filesys.sls ;;; compiling /home/rotty/src/spe/systems/spells/spells/process.sls ;;; compiling /home/rotty/src/spe/systems/spells/spells/pathname.sls [Thread debugging using libthread_db enabled] (gdb) bt #0 0x00007ffff7061165 in raise (sig=) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #1 0x00007ffff7063f70 in abort () at abort.c:92 #2 0x00007ffff7b46d42 in vm_regular_engine (vm=0x6d7940, program=0xffffffffffffffff, argv=0x6dc320, nargs=24341280) at ../../libguile/vm-engine.c:295 #3 0x00007ffff7ae3461 in do_try_auto_compile (data=0x142abe0) at ../../libguile/load.c:709 #4 0x00007ffff7b4b8d8 in vm_regular_engine (vm=0x6d7940, program=0x142ab40, argv=0x6dbcd8, nargs=1) at ../../libguile/vm-i-system.c:956 #5 0x00007ffff7ac573e in scm_call_3 (proc=0x6a38a0, arg1=, arg2=, arg3=) at ../../libguile/eval.c:469 #6 0x00007ffff7ae400e in scm_try_auto_compile (args=) at ../../libguile/load.c:766 #7 scm_primitive_load_path (args=) at ../../libguile/load.c:879 #8 0x00007ffff7b4b802 in vm_regular_engine (vm=0x6d7940, program=0x1, argv=0x6dbc30, nargs=7191592) at ../../libguile/vm-i-system.c:888 #9 0x00007ffff7ac4f07 in scm_call_1 (proc=0x8b5660, arg1=0x14105a0) at ../../libguile/eval.c:455 #10 0x00007ffff7ac557b in scm_map (proc=0x8b5660, arg1=0x1411680, args=0x304) at ../../libguile/eval.c:631 #11 0x00007ffff7b4b7de in vm_regular_engine (vm=0x6d7940, program=0x3, argv=0x6dba50, nargs=7191096) at ../../libguile/vm-i-system.c:894 #12 0x00007ffff7ae3461 in do_try_auto_compile (data=0x13efbc0) at ../../libguile/load.c:709 #13 0x00007ffff7b4b8d8 in vm_regular_engine (vm=0x6d7940, program=0x13efb20, argv=0x6db428, nargs=1) at ../../libguile/vm-i-system.c:956 #14 0x00007ffff7ac573e in scm_call_3 (proc=0x6a38a0, arg1=, arg2=, arg3=) at ../../libguile/eval.c:469 #15 0x00007ffff7ae400e in scm_try_auto_compile (args=) at ../../libguile/load.c:766 #16 scm_primitive_load_path (args=) at ../../libguile/load.c:879 #17 0x00007ffff7b4b802 in vm_regular_engine (vm=0x6d7940, program=0x1, argv=0x6db380, nargs=7189368) at ../../libguile/vm-i-system.c:888 #18 0x00007ffff7ac4f07 in scm_call_1 (proc=0x8b5660, arg1=0x139c6f0) at ../../libguile/eval.c:455 #19 0x00007ffff7ac557b in scm_map (proc=0x8b5660, arg1=0x139d3b0, args=0x304) at ../../libguile/eval.c:631 #20 0x00007ffff7b4b7de in vm_regular_engine (vm=0x6d7940, program=0x3, argv=0x6db160, nargs=7188808) at ../../libguile/vm-i-system.c:894 #21 0x00007ffff7ae3461 in do_try_auto_compile (data=0x136df60) at ../../libguile/load.c:709 #22 0x00007ffff7b4b8d8 in vm_regular_engine (vm=0x6d7940, program=0x136dec0, argv=0x6dab38, nargs=1) at ../../libguile/vm-i-system.c:956 #23 0x00007ffff7ac573e in scm_call_3 (proc=0x6a38a0, arg1=, arg2=, arg3=) at ../../libguile/eval.c:469 #24 0x00007ffff7ae400e in scm_try_auto_compile (args=) at ../../libguile/load.c:766 #25 scm_primitive_load_path (args=) at ../../libguile/load.c:879 #26 0x00007ffff7b4b802 in vm_regular_engine (vm=0x6d7940, program=0x1, argv=0x6daa90, nargs=7187080) at ../../libguile/vm-i-system.c:888 #27 0x00007ffff7ac4f07 in scm_call_1 (proc=0x8b5660, arg1=0xfd2a20) at ../../libguile/eval.c:455 #28 0x00007ffff7ac557b in scm_map (proc=0x8b5660, arg1=0xee5bb0, args=0x304) at ../../libguile/eval.c:631 #29 0x00007ffff7b4b7de in vm_regular_engine (vm=0x6d7940, program=0x3, argv=0x6da870, nargs=7186520) at ../../libguile/vm-i-system.c:894 #30 0x00007ffff7ae3461 in do_try_auto_compile (data=0xd6e3e0) at ../../libguile/load.c:709 #31 0x00007ffff7b4b8d8 in vm_regular_engine (vm=0x6d7940, program=0xd6e280, argv=0x6da248, nargs=1) at ../../libguile/vm-i-system.c:956 #32 0x00007ffff7ac573e in scm_call_3 (proc=0x6a38a0, arg1=, arg2=, arg3=) at ../../libguile/eval.c:469 #33 0x00007ffff7ae400e in scm_try_auto_compile (args=) at ../../libguile/load.c:766 #34 scm_primitive_load_path (args=) at ../../libguile/load.c:879 #35 0x00007ffff7b4b802 in vm_regular_engine (vm=0x6d7940, program=0x1, argv=0x6da1a0, nargs=7184792) at ../../libguile/vm-i-system.c:888 #36 0x00007ffff7ac4f07 in scm_call_1 (proc=0x8b5660, arg1=0x11c3b10) at ../../libguile/eval.c:455 #37 0x00007ffff7ac557b in scm_map (proc=0x8b5660, arg1=0x1013db0, args=0x304) at ../../libguile/eval.c:631 #38 0x00007ffff7b4b7de in vm_regular_engine (vm=0x6d7940, program=0x3, argv=0x6d9fc0, nargs=7184296) at ../../libguile/vm-i-system.c:894 #39 0x00007ffff7ae3461 in do_try_auto_compile (data=0x10117a0) at ../../libguile/load.c:709 #40 0x00007ffff7b4b8d8 in vm_regular_engine (vm=0x6d7940, program=0x1011700, argv=0x6d9998, nargs=1) at ../../libguile/vm-i-system.c:956 #41 0x00007ffff7ac573e in scm_call_3 (proc=0x6a38a0, arg1=, arg2=, arg3=) at ../../libguile/eval.c:469 #42 0x00007ffff7ae400e in scm_try_auto_compile (args=) at ../../libguile/load.c:766 #43 scm_primitive_load_path (args=) at ../../libguile/load.c:879 #44 0x00007ffff7b4b802 in vm_regular_engine (vm=0x6d7940, program=0x1, argv=0x6d98f0, nargs=7182568) at ../../libguile/vm-i-system.c:888 #45 0x00007ffff7ac4f07 in scm_call_1 (proc=0x8b5660, arg1=0x11d7db0) at ../../libguile/eval.c:455 #46 0x00007ffff7ac557b in scm_map (proc=0x8b5660, arg1=0x11e00c0, args=0x304) at ../../libguile/eval.c:631 #47 0x00007ffff7b4b7de in vm_regular_engine (vm=0x6d7940, program=0x3, argv=0x6d9710, nargs=7182072) at ../../libguile/vm-i-system.c:894 #48 0x00007ffff7ae3461 in do_try_auto_compile (data=0x11c2820) at ../../libguile/load.c:709 #49 0x00007ffff7b4b8d8 in vm_regular_engine (vm=0x6d7940, program=0x11c2780, argv=0x6d90e8, nargs=1) at ../../libguile/vm-i-system.c:956 #50 0x00007ffff7ac573e in scm_call_3 (proc=0x6a38a0, arg1=, arg2=, arg3=) at ../../libguile/eval.c:469 #51 0x00007ffff7ae400e in scm_try_auto_compile (args=) at ../../libguile/load.c:766 #52 scm_primitive_load_path (args=) at ../../libguile/load.c:879 #53 0x00007ffff7b4b802 in vm_regular_engine (vm=0x6d7940, program=0x1, argv=0x6d9040, nargs=7180344) at ../../libguile/vm-i-system.c:888 #54 0x00007ffff7ac4f07 in scm_call_1 (proc=0x8b5660, arg1=0xe5fe10) at ../../libguile/eval.c:455 #55 0x00007ffff7ac557b in scm_map (proc=0x8b5660, arg1=0xe5e080, args=0x304) at ../../libguile/eval.c:631 #56 0x00007ffff7b4b7de in vm_regular_engine (vm=0x6d7940, program=0x3, argv=0x6d8e60, nargs=7179848) at ../../libguile/vm-i-system.c:894 #57 0x00007ffff7ae3461 in do_try_auto_compile (data=0xbc9580) at ../../libguile/load.c:709 #58 0x00007ffff7b4b8d8 in vm_regular_engine (vm=0x6d7940, program=0xbc94e0, argv=0x6d8838, nargs=1) at ../../libguile/vm-i-system.c:956 #59 0x00007ffff7ac573e in scm_call_3 (proc=0x6a38a0, arg1=, arg2=, arg3=) at ../../libguile/eval.c:469 #60 0x00007ffff7ae400e in scm_try_auto_compile (args=) at ../../libguile/load.c:766 #61 scm_primitive_load_path (args=) at ../../libguile/load.c:879 #62 0x00007ffff7b4b802 in vm_regular_engine (vm=0x6d7940, program=0x1, argv=0x6d8790, nargs=7178120) at ../../libguile/vm-i-system.c:888 #63 0x00007ffff7ac4f07 in scm_call_1 (proc=0x8a6900, arg1=0xbd94e0) at ../../libguile/eval.c:455 #64 0x00007ffff7ac557b in scm_map (proc=0x8a6900, arg1=0xbd93b0, args=0x304) at ../../libguile/eval.c:631 #65 0x00007ffff7b4b7de in vm_regular_engine (vm=0x6d7940, program=0x3, argv=0x6d8580, nargs=7177576) at ../../libguile/vm-i-system.c:894 #66 0x00007ffff7ac4f07 in scm_call_1 (proc=0xb7ad20, arg1=0xbd7490) at ../../libguile/eval.c:455 #67 0x00007ffff7b4b7f2 in vm_regular_engine (vm=0x6d7940, program=0x2, argv=0x6d8200, nargs=-136539912) at ../../libguile/vm-i-system.c:891 #68 0x00007ffff7ac573e in scm_call_3 (proc=0xb3b8e0, arg1=, arg2=, arg3=) at ../../libguile/eval.c:469 #69 0x00007ffff7b4b7f2 in vm_regular_engine (vm=0x6d7940, program=0x2, argv=0x6d81b0, nargs=-136539784) at ../../libguile/vm-i-system.c:891 #70 0x00007ffff7ac5953 in scm_primitive_eval (exp=0x90a780) at ../../libguile/eval.c:749 #71 0x00007ffff7ac59b3 in scm_eval (exp=0x90a780, module_or_state=0x832480) at ../../libguile/eval.c:783 #72 0x00007ffff7b1072f in scm_shell (argc=7, argv=0x7fffffffe288) at ../../libguile/script.c:837 #73 0x00007ffff7addeef in invoke_main_func (body_data=) at ../../libguile/init.c:336 #74 0x00007ffff7ac027a in c_body (d=) at ../../libguile/continuations.c:473 #75 0x00007ffff7b4b8d8 in vm_regular_engine (vm=0x6d7940, program=0x909960, argv=0x6d80a8, nargs=1) at ../../libguile/vm-i-system.c:956 #76 0x00007ffff7ac5783 in scm_call_4 (proc=0x6a38a0, arg1=, arg2=, arg3=, arg4=) at ../../libguile/eval.c:476 #77 0x00007ffff7ac08b3 in scm_i_with_continuation_barrier (body=0x7ffff7ac0270 , body_data=0x7fffffffe070, handler=0x7ffff7ac0290 , handler_data=0x7fffffffe070, pre_unwind_handler=, pre_unwind_handler_data=) at ../../libguile/continuations.c:450 #78 0x00007ffff7ac0950 in scm_c_with_continuation_barrier (func=, data=) at ../../libguile/continuations.c:491 #79 0x00007ffff7b32acf in scm_i_with_guile_and_parent (func=0x7ffff7added0 , data=0x7fffffffe170, parent=) at ../../libguile/threads.c:794 #80 0x00007ffff7addfa5 in scm_boot_guile (argc=, argv=, main_func=, closure=) at ../../libguile/init.c:319 #81 0x0000000000400a90 in main (argc=, argv=) at ../../libguile/guile.c:70 Unfortunatly, I have no idea what this is triggered by and hence can not provide a small testcase. If needed, I can provide a tarball containing the code that is needed to reproduce it. Regards, Rotty -- Andreas Rottmann --