The call to scm_makstr() is faulting (every time for me):

$ uname -a
Linux juist 2.6.13.2 #2 Fri Sep 23 18:45:17 CEST 2005 alpha GNU/Linux
$ gdb ../../autogen
(gdb) set args --trace=everything -b license --no-def -T license.tpl
(gdb) run
Starting program: /home/bkorb/autogen-5.7.3/agen5/autogen --trace=everything -b 
license --no-def -T license.tpl
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 648)]
Starting test template
Text       (11) in license.tpl at line 2
  /*
EXPR       ( B) in license.tpl at line 3
  (license "license" "license" "Au

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 648)]
0x0000020000008a4c in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
(gdb) bt
#0  0x0000020000008a4c in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#1  0x0000020000008efc in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#2  0x000002000000c540 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#3  0x000002000000c058 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#4  0x0000000120014654 in ag_scm_license (license=0x200004e2820,
    prog_name=0x200004e27d0, owner=0x200004e2790, prefix=0x200004e2720)
    at expFormat.c:593
#5  0x0000020000082bd4 in scm_gsubr_apply () from /usr/lib/libguile.so.12
#6  0x0000020000068aa4 in scm_dapply () from /usr/lib/libguile.so.12
#7  0x0000020000067a90 in scm_deval () from /usr/lib/libguile.so.12
#8  0x000002000006395c in scm_i_eval_x () from /usr/lib/libguile.so.12
#9  0x000002000006a810 in scm_primitive_eval_x () from /usr/lib/libguile.so.12
#10 0x0000000120014d0c in ag_scm_c_eval_string_from_file_line (
    pzExpr=0x1200cf499 "(license \"license\" \"license\" \"Auto-Gen\" \" *  \" 
)", pzFile=0x1200cf488 "license.tpl", line=3) at expGuile.c:99
#11 0x000000012001e224 in ag_eval (
    pzStr=0x1200cf499 "(license \"license\" \"license\" \"Auto-Gen\" \" *  \" 
)") at autogen.h:485
#12 0x0000000120025bd4 in evalExpression (pMustFree=0x11ff47748)
    at funcEval.c:242
#13 0x0000000120026068 in mFunc_Expr (pT=0x1200cf3a0, pMac=0x1200cf428)
    at funcEval.c:413
#14 0x00000001200292b4 in generateBlock (pT=0x1200cf3a0, pMac=0x1200cf428,
    pEnd=0x1200cf488) at tpProcess.c:85
#15 0x000000012002982c in processTemplate (pTF=0x1200cf3a0) at tpProcess.c:208
#16 0x00000001200076b8 in inner_main (argc=7, argv=0x11ff478f8) at autogen.c:78
#17 0x00000200000790a0 in gh_call3 () from /usr/lib/libguile.so.12
#18 0x00000200000873b4 in scm_boot_guile () from /usr/lib/libguile.so.12
#19 0x00000200000790e4 in gh_enter () from /usr/lib/libguile.so.12
#20 0x00000001200077a4 in main (argc=7, argv=0x11ff478f8) at autogen.c:104


    590         /*
    591          *  Create our output buffer and insert the first prefix
    592          */
    593         res    = scm_makstr( out_size, 0 );
    594         pzOut  = SCM_CHARS( res );


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to