From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bill Schottstaedt Newsgroups: gmane.lisp.guile.bugs Subject: more segfaults Date: Sat, 31 May 2003 13:45:32 -0700 Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Message-ID: <200305312045.NAA24573@cmn14.stanford.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (NeXT Mail 3.3 v148.2.1) Content-Type: text/plain X-Trace: main.gmane.org 1054414006 22535 80.91.224.249 (31 May 2003 20:46:46 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 31 May 2003 20:46:46 +0000 (UTC) Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat May 31 22:46:45 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19MDFU-0005rF-00 for ; Sat, 31 May 2003 22:46:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19MDHU-0008DC-GB for guile-bugs@m.gmane.org; Sat, 31 May 2003 16:48:48 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19MDGP-0007OM-ET for bug-guile@gnu.org; Sat, 31 May 2003 16:47:41 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19MDGA-00071m-Lo for bug-guile@gnu.org; Sat, 31 May 2003 16:47:27 -0400 Original-Received: from cm-mail.stanford.edu ([171.64.197.135]) by monty-python.gnu.org with esmtp (Exim 4.20) id 19MDEV-0005qI-7Y for bug-guile@gnu.org; Sat, 31 May 2003 16:45:43 -0400 Original-Received: from cmn14.stanford.edu (cmn14.stanford.edu [171.64.197.163]) by cm-mail.stanford.edu (8.11.6/8.11.6) with ESMTP id h4VKjYs05507 for ; Sat, 31 May 2003 13:45:34 -0700 Original-Received: (from bil@localhost) by cmn14.stanford.edu (8.9.3/8.9.3) id NAA24573 for bug-guile@gnu.org; Sat, 31 May 2003 13:45:33 -0700 (PDT) X-Nextstep-Mailer: Mail 3.3 [m68k] (Enhance 2.2p2) Original-Received: by NeXT.Mailer (1.148.2.1) Original-To: bug-guile@gnu.org X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GUILE, GNU's Ubiquitous Extension Language List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.bugs:813 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.bugs:813 Here are some ways to get guile 1.6.4 (and 1.7.0 I think) to segfault or go into an infinite loop: guile> (array-in-bounds? 1.5) Program received signal SIGSEGV, Segmentation fault. scm_array_in_bounds_p (v=0x7f, args=0x2974) at unif.c:1023 1023 switch SCM_TYP7 (v) guile> (error-catching-loop 1.5) ERROR: Wrong type to apply: 1.5 ABORT: (misc-error) ERROR: Wrong type to apply: 1.5 ABORT: (misc-error) ERROR: Wrong type to apply: 1.5 (etc -- infinite loop -- similar for other args such as "str") (error-catching-repl 1.5 1.5 1.5) ERROR: Wrong type to apply: 1.5 ABORT: (misc-error) -> same infinite loop guile> (destroy-guardian! 1234) Program received signal SIGSEGV, Segmentation fault. scm_destroy_guardian_x (guardian=0x134a) at guardians.c:394 394 guardian_t *g = GUARDIAN (guardian); guile> (guardian-destroyed? 1234) Program received signal SIGSEGV, Segmentation fault. 0x4005210b in scm_guardian_destroyed_p (guardian=0x134a) at guardians.c:370 370 res = SCM_BOOL (DESTROYED_P (GUARDIAN (guardian))); guile> (guardian-greedy? 1234) Program received signal SIGSEGV, Segmentation fault. 0x40052136 in scm_guardian_greedy_p (guardian=0x134a) at guardians.c:383 383 return SCM_BOOL (GREEDY_P (GUARDIAN (guardian))); guile> (env-module (sqrt -1)) Program received signal SIGSEGV, Segmentation fault. 0x40057ef5 in scm_env_top_level (env=0x8097b10) at modules.c:225 225 if (!SCM_CONSP (SCM_CAR (env)) guile> (env-module (make-vector 0)) Program received signal SIGSEGV, Segmentation fault. scm_env_top_level (env=0x0) at modules.c:225 225 if (!SCM_CONSP (SCM_CAR (env)) guile> (class-of 1.5) Program received signal SIGSEGV, Segmentation fault. 0x4006162e in scm_class_of (x=0x8084f40) at objects.c:161 161 return scm_smob_class[SCM_TC2SMOBNUM (type)]; guile> (class-of "hi") Program received signal SIGSEGV, Segmentation fault. 0x40043a61 in scm_deval (x=0x4014d658, env=0x4014d5f0) at eval.c:2549 2549 if (SCM_VALUESP (t.arg1)) (etc -- other types cause the same problem) wrong error message?: guile> (list->symbol 1.5 1.5) ERROR: Wrong number of arguments to #string> ABORT: (wrong-number-of-args) guile> (enclose-array "hi" 1234) Program received signal SIGSEGV, Segmentation fault. 0x4007f138 in scm_enclose_array (ra=0x8097b18, axes=0x4014cf20) at unif.c:981 981 SCM_ARRAY_DIMS (ra_inr)[k].inc = s[j].inc; guile> (dynamic-call 1234 1.5) Program received signal SIGSEGV, Segmentation fault. 0x000004d2 in ?? () guile> (dynamic-args-call 1234 1.5 '()) Program received signal SIGSEGV, Segmentation fault. 0x000004d2 in ?? () guile> (list->array -1 '()) -> infinite loop? guile> (restricted-vector-sort! '#(1 0) 1.5 1 0) Program received signal SIGSEGV, Segmentation fault. 0x4006dffb in applyless (less=0x8084f40, a=0x88097b10, b=0x88097b10) at sort.c:387 387 return SCM_NFALSEP (scm_call_2 (less, *(SCM *) a, *(SCM *) b)); guile> (make-uniform-array #t 1234 1234 1234 (list 0 1)) Program received signal SIGSEGV, Segmentation fault. 0x4007a0e9 in scm_array_fill_int (ra=0x40154340, fill=0x2374, ignore=0x2974) at ramap.c:527 527 ve[i] = ~0L; _______________________________________________ Bug-guile mailing list Bug-guile@gnu.org http://mail.gnu.org/mailman/listinfo/bug-guile