On Thu, 2011-05-05 at 18:15 +0200, Samuel Thibault wrote:
> Svante Signell, le Thu 05 May 2011 17:02:27 +0200, a écrit :
> > The latest emacs version does not compile on GNU/Hurd. When trying with
> > default settings there is a segfault when compiling
> > lisp/cedet/srecode/mode.el using the built emacs and dumped code.
> > Changing the optimization of the C code from -O2 to -O0 resulted an
> > illegal instruction at the same file, not a big improvement.
> 
> Well, that depends. Show the backtraces! :)

Backtraces are attached!


cd ~/DEBs/emacs/emacs23-23.3+1/debian/build-nox/lisp
gdb ../src/emacs
run -batch --no-site-file --multibyte  -l bytecomp -f 
byte-compile-refresh-preloaded -f batch-byte-compile cedet/srecode/mode.el

Compiled with -O2 (default)
[New Thread 7294.5]
Parsing  *srecode-map-tmp* (LALR)...
Parsing  *srecode-map-tmp* (LALR)...done

Program received signal SIGSEGV, Segmentation fault.
mark_object (arg=1) at alloc.c:5473
5473            if (STRING_MARKED_P (ptr))
#0  mark_object (arg=1) at alloc.c:5473
#1  0x0811809f in Fgarbage_collect () at alloc.c:5118
#2  0x0812dfb3 in Ffuncall (nargs=1, args=0x15fd0b0) at eval.c:3028
#3  0x08165e81 in Fbyte_code (bytestr=140601297, vector=138609709, maxdepth=28)
    at bytecode.c:680
#4  0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#5  0x0812ddb3 in Ffuncall (nargs=1, args=0x15fd230) at eval.c:3088
#6  0x08165e81 in Fbyte_code (bytestr=140468505, vector=139833253, maxdepth=28)
    at bytecode.c:680
#7  0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#8  0x0812ddb3 in Ffuncall (nargs=3, args=0x15fd3b0) at eval.c:3088
#9  0x08165e81 in Fbyte_code (bytestr=140471953, vector=139835933, maxdepth=24)
    at bytecode.c:680
#10 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#11 0x0812ddb3 in Ffuncall (nargs=2, args=0x15fd530) at eval.c:3088
#12 0x08165e81 in Fbyte_code (bytestr=140399401, vector=139609373, maxdepth=12)
    at bytecode.c:680
#13 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#14 0x0812ddb3 in Ffuncall (nargs=3, args=0x15fd6a0) at eval.c:3088
#15 0x08165e81 in Fbyte_code (bytestr=135984209, vector=135984229, maxdepth=20)
    at bytecode.c:680
#16 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#17 0x0812ddb3 in Ffuncall (nargs=3, args=0x15fd820) at eval.c:3088
#18 0x08165e81 in Fbyte_code (bytestr=135985025, vector=135985045, maxdepth=20)
    at bytecode.c:680
#19 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#20 0x0812cdff in apply_lambda (fun=135984957, args=141050702, eval_flag=1)
    at eval.c:3143
#21 0x0812d0f4 in Feval (form=141050766) at eval.c:2410
#22 0x081503d1 in readevalloop (readcharfun=137919978, 
    stream=<value optimized out>, sourcename=139912529, 
    evalfun=0x812ced0 <Feval>, printflag=0, unibyte=137822426, 
    readfun=137822426, start=137822426, end=137822426) at lread.c:1796
#23 0x08151a2f in Fload (file=140669897, noerror=137822426, 
    nomessage=137822474, nosuffix=137822426, must_suffix=137822426)
    at lread.c:1273
#24 0x08138277 in Frequire (feature=140723722, filename=137822426, 
    noerror=137822426) at fns.c:2962
#25 0x0812df83 in Ffuncall (nargs=2, args=0x15fddd0) at eval.c:3037
#26 0x08165e81 in Fbyte_code (bytestr=140669993, vector=139658861, maxdepth=8)
    at bytecode.c:680
#27 0x0812d504 in Feval (form=140972230) at eval.c:2356
#28 0x081503d1 in readevalloop (readcharfun=137919978, 
    stream=<value optimized out>, sourcename=140670201, 
    evalfun=0x812ced0 <Feval>, printflag=0, unibyte=137822426, 
    readfun=137822426, start=137822426, end=137822426) at lread.c:1796
#29 0x08151a2f in Fload (file=140328153, noerror=137822426, 
    nomessage=137822474, nosuffix=137822426, must_suffix=137822426)
    at lread.c:1273
#30 0x08138277 in Frequire (feature=139855138, filename=137822426, 
    noerror=137822426) at fns.c:2962
#31 0x0812df83 in Ffuncall (nargs=2, args=0x15fe270) at eval.c:3037
#32 0x08165e81 in Fbyte_code (bytestr=140328321, vector=139001853, maxdepth=8)
    at bytecode.c:680
#33 0x0812d504 in Feval (form=141155758) at eval.c:2356
#34 0x081503d1 in readevalloop (readcharfun=137919978, 
    stream=<value optimized out>, sourcename=140328433, 
    evalfun=0x812ced0 <Feval>, printflag=0, unibyte=137822426, 
    readfun=137822426, start=137822426, end=137822426) at lread.c:1796
#35 0x08151a2f in Fload (file=140355681, noerror=137822426, 
    nomessage=137822474, nosuffix=137822426, must_suffix=137822426)
    at lread.c:1273
#36 0x08138277 in Frequire (feature=139855090, filename=137822426, 
    noerror=137822426) at fns.c:2962
#37 0x0812df83 in Ffuncall (nargs=2, args=0x15fe804) at eval.c:3037
#38 0x0812f85e in Fapply (nargs=2, args=0x15fe804) at eval.c:2453
#39 0x0812e026 in Ffuncall (nargs=3, args=0x15fe800) at eval.c:3012
#40 0x08165e81 in Fbyte_code (bytestr=140357185, vector=139290053, maxdepth=12)
    at bytecode.c:680
#41 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#42 0x0812ddb3 in Ffuncall (nargs=2, args=0x15fe970) at eval.c:3088
#43 0x08165e81 in Fbyte_code (bytestr=140354249, vector=139685189, maxdepth=16)
    at bytecode.c:680
#44 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#45 0x0812ddb3 in Ffuncall (nargs=2, args=0x15feae0) at eval.c:3088
#46 0x08165e81 in Fbyte_code (bytestr=140341913, vector=139509837, maxdepth=16)
    at bytecode.c:680
#47 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#48 0x0812ddb3 in Ffuncall (nargs=1, args=0x15fec60) at eval.c:3088
#49 0x0812d3cd in Feval (form=140203654) at eval.c:2322
#50 0x0812ff82 in internal_lisp_condition_case (var=140309178, 
    bodyform=140203654, handlers=140227326) at eval.c:1437
#51 0x081650da in Fbyte_code (bytestr=140341657, vector=139488445, maxdepth=64)
    at bytecode.c:870
#52 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#53 0x0812ddb3 in Ffuncall (nargs=3, args=0x15fef50) at eval.c:3088
#54 0x08165e81 in Fbyte_code (bytestr=140337561, vector=138922661, maxdepth=32)
    at bytecode.c:680
#55 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#56 0x0812cdff in apply_lambda (fun=138770517, args=138189582, eval_flag=1)
    at eval.c:3143
#57 0x0812d0f4 in Feval (form=138189606) at eval.c:2410
#58 0x0812ff82 in internal_lisp_condition_case (var=138180098, 
    bodyform=138189606, handlers=138191406) at eval.c:1437
#59 0x081650da in Fbyte_code (bytestr=139003449, vector=139012253, maxdepth=12)
    at bytecode.c:870
#60 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#61 0x0812ddb3 in Ffuncall (nargs=2, args=0x15ff390) at eval.c:3088
#62 0x08165e81 in Fbyte_code (bytestr=139003913, vector=139520661, maxdepth=20)
    at bytecode.c:680
#63 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#64 0x0812ddb3 in Ffuncall (nargs=1, args=0x15ff510) at eval.c:3088
#65 0x08165e81 in Fbyte_code (bytestr=136218473, vector=136218493, maxdepth=40)
    at bytecode.c:680
#66 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#67 0x0812ddb3 in Ffuncall (nargs=2, args=0x15ff6a0) at eval.c:3088
#68 0x08165e81 in Fbyte_code (bytestr=136200025, vector=136200045, maxdepth=28)
    at bytecode.c:680
#69 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#70 0x0812ddb3 in Ffuncall (nargs=1, args=0x15ff820) at eval.c:3088
#71 0x08165e81 in Fbyte_code (bytestr=136196921, vector=136196941, maxdepth=24)
    at bytecode.c:680
#72 0x0812da94 in funcall_lambda (fun=<value optimized out>, 
    nargs=<value optimized out>, arg_vector=0x1) at eval.c:3220
#73 0x0812cdff in apply_lambda (fun=136196901, args=137822426, eval_flag=1)
    at eval.c:3143
#74 0x0812d0f4 in Feval (form=138042086) at eval.c:2410
#75 0x080c6393 in top_level_2 () at keyboard.c:1371
#76 0x0812c40f in internal_condition_case (bfun=0x80c6380 <top_level_2>, 
    handlers=137859834, hfun=0x80c9dc0 <cmd_error>) at eval.c:1492
#77 0x080c9b75 in top_level_1 () at keyboard.c:1379
#78 0x0812c4d9 in internal_catch (tag=137855858, func=0x80c9b10 <top_level_1>, 
    arg=137822426) at eval.c:1228
#79 0x080c9bf1 in command_loop () at keyboard.c:1334
#80 0x080c9f76 in recursive_edit_1 () at keyboard.c:956
#81 0x080ca092 in Frecursive_edit () at keyboard.c:1018
#82 0x080c0582 in main (argc=<value optimized out>, argv=0x15ffd18)
    at emacs.c:1833

Compiled with -O0:
export DEB_BUILD_OPTIONS='noopt'
[New Thread 1406.10]
Parsing  *srecode-map-tmp* (LALR)...
Parsing  *srecode-map-tmp* (LALR)...done

Program received signal SIGILL, Illegal instruction.
0x081527b4 in mark_object (arg=-838842493) at alloc.c:5604
5604          if (XMISCANY (obj)->gcmarkbit)
#0  0x081527b4 in mark_object (arg=-838842493) at alloc.c:5604
#1  0x08151c5c in Fgarbage_collect () at alloc.c:5118
#2  0x0816c624 in Ffuncall (nargs=1, args=0x15fb870) at eval.c:3028
#3  0x081ac4d3 in Fbyte_code (bytestr=140832833, vector=139987605, maxdepth=28)
    at bytecode.c:680
#4  0x0816ce7e in funcall_lambda (fun=139987837, nargs=0, arg_vector=0x15fbb34)
    at eval.c:3220
#5  0x0816c85c in Ffuncall (nargs=1, args=0x15fbb30) at eval.c:3077
#6  0x081ac4d3 in Fbyte_code (bytestr=140091881, vector=140173597, maxdepth=28)
    at bytecode.c:680
#7  0x0816ce7e in funcall_lambda (fun=139995485, nargs=2, arg_vector=0x15fbdf4)
    at eval.c:3220
#8  0x0816c85c in Ffuncall (nargs=3, args=0x15fbdf0) at eval.c:3077
#9  0x081ac4d3 in Fbyte_code (bytestr=140181505, vector=140173309, maxdepth=24)
    at bytecode.c:680
#10 0x0816ce7e in funcall_lambda (fun=140173557, nargs=1, arg_vector=0x15fc0b4)
    at eval.c:3220
#11 0x0816c85c in Ffuncall (nargs=2, args=0x15fc0b0) at eval.c:3077
#12 0x081ac4d3 in Fbyte_code (bytestr=140763433, vector=139992965, maxdepth=12)
    at bytecode.c:680
#13 0x0816ce7e in funcall_lambda (fun=139964309, nargs=2, arg_vector=0x15fc364)
    at eval.c:3220
#14 0x0816c85c in Ffuncall (nargs=3, args=0x15fc360) at eval.c:3077
#15 0x081ac4d3 in Fbyte_code (bytestr=136312913, vector=136312933, maxdepth=20)
    at bytecode.c:680
#16 0x0816ce7e in funcall_lambda (fun=136312869, nargs=2, arg_vector=0x15fc624)
    at eval.c:3220
#17 0x0816c85c in Ffuncall (nargs=3, args=0x15fc620) at eval.c:3077
#18 0x081ac4d3 in Fbyte_code (bytestr=136313729, vector=136313749, maxdepth=20)
    at bytecode.c:680
#19 0x0816ce7e in funcall_lambda (fun=136313661, nargs=9, arg_vector=0x15fc840)
    at eval.c:3220
#20 0x0816cb1a in apply_lambda (fun=136313661, args=141426342, eval_flag=1)
    at eval.c:3143
#21 0x0816b677 in Feval (form=141426438) at eval.c:2392
#22 0x0818fd3d in readevalloop (readcharfun=138248746, stream=0x85cad00, 
    sourcename=141116545, evalfun=0x816ae84 <Feval>, printflag=0, 
    unibyte=138151194, readfun=138151194, start=138151194, end=138151194)
    at lread.c:1796
#23 0x0818eb49 in Fload (file=141031001, noerror=138151194, 
    nomessage=138151242, nosuffix=138151194, must_suffix=138151194)
    at lread.c:1273
#24 0x0817687d in Frequire (feature=141701930, filename=138151194, 
    noerror=138151194) at fns.c:2962
#25 0x0816c687 in Ffuncall (nargs=2, args=0x15fcd50) at eval.c:3037
#26 0x081ac4d3 in Fbyte_code (bytestr=141031081, vector=140075125, maxdepth=8)
    at bytecode.c:680
#27 0x0816b469 in Feval (form=141384606) at eval.c:2356
#28 0x0818fd3d in readevalloop (readcharfun=138248746, stream=0x8724248, 
    sourcename=141031193, evalfun=0x816ae84 <Feval>, printflag=0, 
    unibyte=138151194, readfun=138151194, start=138151194, end=138151194)
    at lread.c:1796
#29 0x0818eb49 in Fload (file=140660841, noerror=138151194, 
    nomessage=138151242, nosuffix=138151194, must_suffix=138151194)
    at lread.c:1273
#30 0x0817687d in Frequire (feature=141001866, filename=138151194, 
    noerror=138151194) at fns.c:2962
#31 0x0816c687 in Ffuncall (nargs=2, args=0x15fd380) at eval.c:3037
#32 0x081ac4d3 in Fbyte_code (bytestr=140660889, vector=140393965, maxdepth=8)
    at bytecode.c:680
#33 0x0816b469 in Feval (form=141577630) at eval.c:2356
#34 0x0818fd3d in readevalloop (readcharfun=138248746, stream=0x85e47f0, 
    sourcename=140660969, evalfun=0x816ae84 <Feval>, printflag=0, 
    unibyte=138151194, readfun=138151194, start=138151194, end=138151194)
    at lread.c:1796
#35 0x0818eb49 in Fload (file=140701073, noerror=138151194, 
    nomessage=138151242, nosuffix=138151194, must_suffix=138151194)
    at lread.c:1273
#36 0x0817687d in Frequire (feature=141001818, filename=138151194, 
    noerror=138151194) at fns.c:2962
#37 0x0816c687 in Ffuncall (nargs=2, args=0x15fdac4) at eval.c:3037
#38 0x0816b892 in Fapply (nargs=2, args=0x15fdac4) at eval.c:2453
#39 0x0816c56b in Ffuncall (nargs=3, args=0x15fdac0) at eval.c:3012
#40 0x081ac4d3 in Fbyte_code (bytestr=138166377, vector=139908237, maxdepth=12)
    at bytecode.c:680
#41 0x0816ce7e in funcall_lambda (fun=139403693, nargs=1, arg_vector=0x15fdd74)
    at eval.c:3220
#42 0x0816c85c in Ffuncall (nargs=2, args=0x15fdd70) at eval.c:3077
#43 0x081ac4d3 in Fbyte_code (bytestr=138332073, vector=138412109, maxdepth=16)
    at bytecode.c:680
#44 0x0816ce7e in funcall_lambda (fun=139690733, nargs=1, arg_vector=0x15fe024)
    at eval.c:3220
#45 0x0816c85c in Ffuncall (nargs=2, args=0x15fe020) at eval.c:3077
#46 0x081ac4d3 in Fbyte_code (bytestr=138339009, vector=139954509, maxdepth=16)
    at bytecode.c:680
#47 0x0816ce7e in funcall_lambda (fun=139696373, nargs=0, arg_vector=0x15fe2e4)
    at eval.c:3220
#48 0x0816c85c in Ffuncall (nargs=1, args=0x15fe2e0) at eval.c:3077
#49 0x0816b2e4 in Feval (form=138374038) at eval.c:2322
#50 0x08169d2d in internal_lisp_condition_case (var=140738914, 
    bodyform=138374038, handlers=138365478) at eval.c:1437
#51 0x081ad229 in Fbyte_code (bytestr=138414265, vector=139578237, maxdepth=64)
    at bytecode.c:870
#52 0x0816ce7e in funcall_lambda (fun=138541341, nargs=2, arg_vector=0x15fe754)
    at eval.c:3220
#53 0x0816c85c in Ffuncall (nargs=3, args=0x15fe750) at eval.c:3077
#54 0x081ac4d3 in Fbyte_code (bytestr=138917377, vector=139099245, maxdepth=32)
    at bytecode.c:680
#55 0x0816ce7e in funcall_lambda (fun=139704069, nargs=1, arg_vector=0x15fe970)
    at eval.c:3220
#56 0x0816cb1a in apply_lambda (fun=139704069, args=139104990, eval_flag=1)
    at eval.c:3143
#57 0x0816b677 in Feval (form=139111038) at eval.c:2392
#58 0x08169d2d in internal_lisp_condition_case (var=138508866, 
    bodyform=139111038, handlers=139055550) at eval.c:1437
#59 0x081ad229 in Fbyte_code (bytestr=140386265, vector=139569429, maxdepth=12)
    at bytecode.c:870
#60 0x0816ce7e in funcall_lambda (fun=139569501, nargs=1, arg_vector=0x15fee34)
    at eval.c:3220
#61 0x0816c85c in Ffuncall (nargs=2, args=0x15fee30) at eval.c:3077
#62 0x081ac4d3 in Fbyte_code (bytestr=140385817, vector=139569197, maxdepth=20)
    at bytecode.c:680
#63 0x0816ce7e in funcall_lambda (fun=139569349, nargs=0, arg_vector=0x15ff0f4)
    at eval.c:3220
#64 0x0816c85c in Ffuncall (nargs=1, args=0x15ff0f0) at eval.c:3077
#65 0x081ac4d3 in Fbyte_code (bytestr=136547177, vector=136547197, maxdepth=40)
    at bytecode.c:680
#66 0x0816ce7e in funcall_lambda (fun=136547149, nargs=1, arg_vector=0x15ff3c4)
    at eval.c:3220
#67 0x0816c85c in Ffuncall (nargs=2, args=0x15ff3c0) at eval.c:3077
#68 0x081ac4d3 in Fbyte_code (bytestr=136528729, vector=136528749, maxdepth=28)
    at bytecode.c:680
#69 0x0816ce7e in funcall_lambda (fun=136528709, nargs=0, arg_vector=0x15ff684)
    at eval.c:3220
#70 0x0816c85c in Ffuncall (nargs=1, args=0x15ff680) at eval.c:3077
#71 0x081ac4d3 in Fbyte_code (bytestr=136525625, vector=136525645, maxdepth=24)
    at bytecode.c:680
#72 0x0816ce7e in funcall_lambda (fun=136525605, nargs=0, arg_vector=0x15ff8a0)
    at eval.c:3220
#73 0x0816cb1a in apply_lambda (fun=136525605, args=138151194, eval_flag=1)
    at eval.c:3143
#74 0x0816b677 in Feval (form=138370790) at eval.c:2392
#75 0x080ec3b3 in top_level_2 () at keyboard.c:1371
#76 0x08169e06 in internal_condition_case (bfun=0x80ec3a0 <top_level_2>, 
    handlers=138188602, hfun=0x80ec01c <cmd_error>) at eval.c:1492
#77 0x080ec3ea in top_level_1 () at keyboard.c:1379
#78 0x08169971 in internal_catch (tag=138184626, func=0x80ec3b5 <top_level_1>, 
    arg=138151194) at eval.c:1228
#79 0x080ec323 in command_loop () at keyboard.c:1334
#80 0x080ebc3b in recursive_edit_1 () at keyboard.c:956
#81 0x080ebda6 in Frecursive_edit () at keyboard.c:1018
#82 0x080ea6a4 in main (argc=12, argv=0x15ffd08) at emacs.c:1833

Reply via email to