|
Boost : |
From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2001-11-09 06:49:09
After recompiling jam_src with gcc-3.0.2 (on my linux box) I always get
a memory fault. When recompiling it with gcc-2.95.3, it works fine ?!
The stacktrace is in attachment.
I can't understand the error occurs in the malloc call though (system
also has enough memory) ?
toon
Starting program: /home/tk/jam_src/boost/tools/build/jam_src/bin.linuxx86/jam
Program received signal SIGSEGV, Segmentation fault.
0x400a7221 in malloc () from /lib/libc.so.6
(gdb) where
#0 0x400a7221 in malloc () from /lib/libc.so.6
#1 0x400a6f98 in malloc () from /lib/libc.so.6
#2 0x0804e25f in newstr (string=0x812f648 "../src/c_regex_traits_common.cpp") at newstr.c:53
#3 0x0804bfe6 in var_expand (l=0x813bcd8, in=0x8128669 ".cpp", end=0x812866d "", lol=0xbfffd5c4,
cancopyin=1) at expand.c:331
#4 0x08049f91 in compile_list (parse=0x81294b0, frame=0xbfffd5c0) at compile.c:519
#5 0x08049a05 in compile_append (parse=0x812bff8, frame=0xbfffd5c0) at compile.c:227
#6 0x0804a0ec in compile_rule (parse=0x8133298, frame=0xbfffd5c0) at compile.c:608
#7 0x0804a735 in compile_rules (parse=0x8133dc0, frame=0xbfffd5c0) at compile.c:902
#8 0x0804a748 in compile_rules (parse=0x8133df0, frame=0xbfffd5c0) at compile.c:903
#9 0x0804a748 in compile_rules (parse=0x8133e38, frame=0xbfffd5c0) at compile.c:903
#10 0x0804e4aa in parse_file (f=0x8106558 "libs/regex/build/Jamfile", frame=0xbfffd5c0) at parse.c:53
#11 0x08049e9e in compile_include (parse=0x80f52a0, frame=0xbfffd5c0) at compile.c:465
#12 0x0804a073 in compile_local (parse=0x80f52d0, frame=0xbfffd5c0) at compile.c:562
#13 0x0804a748 in compile_rules (parse=0x80f5300, frame=0xbfffd5c0) at compile.c:903
#14 0x0804a748 in compile_rules (parse=0x80f5330, frame=0xbfffd5c0) at compile.c:903
#15 0x0804a073 in compile_local (parse=0x80f5360, frame=0xbfffd5c0) at compile.c:562
#16 0x0804a698 in evaluate_rule (rulename=0x80a8b58 "SubInclude", frame=0xbfffd5c0) at compile.c:867
#17 0x0804a112 in compile_rule (parse=0x80e8db0, frame=0xbfffd6e0) at compile.c:612
#18 0x08049ab0 in compile_foreach (parse=0x80e8de0, frame=0xbfffd6e0) at compile.c:266
#19 0x0804a073 in compile_local (parse=0x80e8e10, frame=0xbfffd6e0) at compile.c:562
#20 0x0804a698 in evaluate_rule (rulename=0x80e8a60 "subinclude", frame=0xbfffd6e0) at compile.c:867
#21 0x0804a112 in compile_rule (parse=0x8104f00, frame=0xbfffeb80) at compile.c:612
#22 0x0804a735 in compile_rules (parse=0x8105290, frame=0xbfffeb80) at compile.c:902
#23 0x0804a748 in compile_rules (parse=0x81052c0, frame=0xbfffeb80) at compile.c:903
#24 0x0804e4aa in parse_file (f=0x808e918 "Jamfile", frame=0xbfffeb80) at parse.c:53
#25 0x08049e9e in compile_include (parse=0x80fce88, frame=0xbfffeb80) at compile.c:465
#26 0x08049b18 in compile_if (p=0x80fcee8, frame=0xbfffeb80) at compile.c:292
#27 0x0804a748 in compile_rules (parse=0x80764e0, frame=0xbfffeb80) at compile.c:903
#28 0x0804a748 in compile_rules (parse=0x8076510, frame=0xbfffeb80) at compile.c:903
#29 0x0804a748 in compile_rules (parse=0x8076540, frame=0xbfffeb80) at compile.c:903
#30 0x0804a748 in compile_rules (parse=0x8076570, frame=0xbfffeb80) at compile.c:903
#31 0x0804a748 in compile_rules (parse=0x80765a0, frame=0xbfffeb80) at compile.c:903
#32 0x0804a748 in compile_rules (parse=0x80765d0, frame=0xbfffeb80) at compile.c:903
#33 0x0804a748 in compile_rules (parse=0x8076600, frame=0xbfffeb80) at compile.c:903
---Type <return> to continue, or q <return> to quit---
#34 0x0804a748 in compile_rules (parse=0x8076630, frame=0xbfffeb80) at compile.c:903
#35 0x0804a748 in compile_rules (parse=0x8076660, frame=0xbfffeb80) at compile.c:903
#36 0x0804a748 in compile_rules (parse=0x8076690, frame=0xbfffeb80) at compile.c:903
#37 0x0804a748 in compile_rules (parse=0x80766c0, frame=0xbfffeb80) at compile.c:903
#38 0x0804a748 in compile_rules (parse=0x80766f0, frame=0xbfffeb80) at compile.c:903
#39 0x0804a748 in compile_rules (parse=0x8076720, frame=0xbfffeb80) at compile.c:903
#40 0x0804a748 in compile_rules (parse=0x8076750, frame=0xbfffeb80) at compile.c:903
#41 0x0804a748 in compile_rules (parse=0x8076780, frame=0xbfffeb80) at compile.c:903
#42 0x0804a748 in compile_rules (parse=0x80767b0, frame=0xbfffeb80) at compile.c:903
#43 0x0804a748 in compile_rules (parse=0x80767e0, frame=0xbfffeb80) at compile.c:903
#44 0x0804a748 in compile_rules (parse=0x8076810, frame=0xbfffeb80) at compile.c:903
#45 0x0804a748 in compile_rules (parse=0x8076840, frame=0xbfffeb80) at compile.c:903
#46 0x0804a748 in compile_rules (parse=0x80fcf18, frame=0xbfffeb80) at compile.c:903
#47 0x0804a748 in compile_rules (parse=0x80fcf48, frame=0xbfffeb80) at compile.c:903
#48 0x0804a748 in compile_rules (parse=0x80fcf78, frame=0xbfffeb80) at compile.c:903
#49 0x0804a748 in compile_rules (parse=0x80fcfa8, frame=0xbfffeb80) at compile.c:903
#50 0x0804a748 in compile_rules (parse=0x80fcfd8, frame=0xbfffeb80) at compile.c:903
#51 0x0804a748 in compile_rules (parse=0x80fd008, frame=0xbfffeb80) at compile.c:903
#52 0x0804a748 in compile_rules (parse=0x80fd038, frame=0xbfffeb80) at compile.c:903
#53 0x0804a748 in compile_rules (parse=0x80fd068, frame=0xbfffeb80) at compile.c:903
#54 0x0804a748 in compile_rules (parse=0x80fd098, frame=0xbfffeb80) at compile.c:903
#55 0x0804a748 in compile_rules (parse=0x80fd0c8, frame=0xbfffeb80) at compile.c:903
#56 0x0804a748 in compile_rules (parse=0x80fd0f8, frame=0xbfffeb80) at compile.c:903
#57 0x0804a748 in compile_rules (parse=0x80fd128, frame=0xbfffeb80) at compile.c:903
#58 0x0804a748 in compile_rules (parse=0x80fd158, frame=0xbfffeb80) at compile.c:903
#59 0x0804a748 in compile_rules (parse=0x80fd188, frame=0xbfffeb80) at compile.c:903
#60 0x0804a748 in compile_rules (parse=0x80fd1b8, frame=0xbfffeb80) at compile.c:903
#61 0x0804a748 in compile_rules (parse=0x80fd1e8, frame=0xbfffeb80) at compile.c:903
#62 0x0804a748 in compile_rules (parse=0x80fd218, frame=0xbfffeb80) at compile.c:903
#63 0x0804a748 in compile_rules (parse=0x80fd248, frame=0xbfffeb80) at compile.c:903
#64 0x0804a748 in compile_rules (parse=0x80fd278, frame=0xbfffeb80) at compile.c:903
#65 0x0804a748 in compile_rules (parse=0x80fd2a8, frame=0xbfffeb80) at compile.c:903
#66 0x0804a748 in compile_rules (parse=0x80fd2d8, frame=0xbfffeb80) at compile.c:903
#67 0x0804a748 in compile_rules (parse=0x80fd308, frame=0xbfffeb80) at compile.c:903
#68 0x0804a748 in compile_rules (parse=0x80fd338, frame=0xbfffeb80) at compile.c:903
---Type <return> to continue, or q <return> to quit---
#69 0x0804a748 in compile_rules (parse=0x80fd368, frame=0xbfffeb80) at compile.c:903
#70 0x0804a748 in compile_rules (parse=0x80fd398, frame=0xbfffeb80) at compile.c:903
#71 0x0804a748 in compile_rules (parse=0x80fd3c8, frame=0xbfffeb80) at compile.c:903
#72 0x0804a748 in compile_rules (parse=0x80fd3f8, frame=0xbfffeb80) at compile.c:903
#73 0x0804a748 in compile_rules (parse=0x80fd428, frame=0xbfffeb80) at compile.c:903
#74 0x0804a748 in compile_rules (parse=0x80fd458, frame=0xbfffeb80) at compile.c:903
#75 0x0804a748 in compile_rules (parse=0x80fd488, frame=0xbfffeb80) at compile.c:903
#76 0x0804a748 in compile_rules (parse=0x80fd4b8, frame=0xbfffeb80) at compile.c:903
#77 0x0804a748 in compile_rules (parse=0x80fd4e8, frame=0xbfffeb80) at compile.c:903
#78 0x0804a748 in compile_rules (parse=0x80fd518, frame=0xbfffeb80) at compile.c:903
#79 0x0804a748 in compile_rules (parse=0x80fd548, frame=0xbfffeb80) at compile.c:903
#80 0x0804a748 in compile_rules (parse=0x80fd578, frame=0xbfffeb80) at compile.c:903
#81 0x0804a748 in compile_rules (parse=0x80fd5a8, frame=0xbfffeb80) at compile.c:903
#82 0x0804a748 in compile_rules (parse=0x80fd5d8, frame=0xbfffeb80) at compile.c:903
#83 0x0804a748 in compile_rules (parse=0x80fd608, frame=0xbfffeb80) at compile.c:903
#84 0x0804a748 in compile_rules (parse=0x80fd638, frame=0xbfffeb80) at compile.c:903
#85 0x0804a748 in compile_rules (parse=0x80fd668, frame=0xbfffeb80) at compile.c:903
#86 0x0804a748 in compile_rules (parse=0x80fd698, frame=0xbfffeb80) at compile.c:903
#87 0x0804a748 in compile_rules (parse=0x80fd6c8, frame=0xbfffeb80) at compile.c:903
#88 0x0804a748 in compile_rules (parse=0x80fd6f8, frame=0xbfffeb80) at compile.c:903
#89 0x0804a748 in compile_rules (parse=0x80fd728, frame=0xbfffeb80) at compile.c:903
#90 0x0804a748 in compile_rules (parse=0x80fd758, frame=0xbfffeb80) at compile.c:903
#91 0x0804a748 in compile_rules (parse=0x80fd788, frame=0xbfffeb80) at compile.c:903
#92 0x0804a748 in compile_rules (parse=0x80fd7b8, frame=0xbfffeb80) at compile.c:903
#93 0x0804a748 in compile_rules (parse=0x80fd7e8, frame=0xbfffeb80) at compile.c:903
#94 0x0804a748 in compile_rules (parse=0x80fd818, frame=0xbfffeb80) at compile.c:903
#95 0x0804a748 in compile_rules (parse=0x80fd848, frame=0xbfffeb80) at compile.c:903
#96 0x0804a748 in compile_rules (parse=0x80fd878, frame=0xbfffeb80) at compile.c:903
#97 0x0804a748 in compile_rules (parse=0x80fd8a8, frame=0xbfffeb80) at compile.c:903
#98 0x0804a748 in compile_rules (parse=0x80fd8d8, frame=0xbfffeb80) at compile.c:903
#99 0x0804a748 in compile_rules (parse=0x80fd908, frame=0xbfffeb80) at compile.c:903
#100 0x0804a748 in compile_rules (parse=0x80fd938, frame=0xbfffeb80) at compile.c:903
#101 0x0804a748 in compile_rules (parse=0x80fd968, frame=0xbfffeb80) at compile.c:903
#102 0x0804a748 in compile_rules (parse=0x80fd998, frame=0xbfffeb80) at compile.c:903
#103 0x0804a748 in compile_rules (parse=0x80fd9c8, frame=0xbfffeb80) at compile.c:903
---Type <return> to continue, or q <return> to quit---
#104 0x0804a748 in compile_rules (parse=0x80fd9f8, frame=0xbfffeb80) at compile.c:903
#105 0x0804a748 in compile_rules (parse=0x80fda28, frame=0xbfffeb80) at compile.c:903
#106 0x0804a748 in compile_rules (parse=0x80fda58, frame=0xbfffeb80) at compile.c:903
#107 0x0804a748 in compile_rules (parse=0x80fda88, frame=0xbfffeb80) at compile.c:903
#108 0x0804a748 in compile_rules (parse=0x80fdab8, frame=0xbfffeb80) at compile.c:903
#109 0x0804a748 in compile_rules (parse=0x80fdae8, frame=0xbfffeb80) at compile.c:903
#110 0x0804a748 in compile_rules (parse=0x80fdb18, frame=0xbfffeb80) at compile.c:903
#111 0x0804a748 in compile_rules (parse=0x80fdb48, frame=0xbfffeb80) at compile.c:903
#112 0x0804a748 in compile_rules (parse=0x80fdb78, frame=0xbfffeb80) at compile.c:903
#113 0x0804a748 in compile_rules (parse=0x80fdba8, frame=0xbfffeb80) at compile.c:903
#114 0x0804a748 in compile_rules (parse=0x80fdbd8, frame=0xbfffeb80) at compile.c:903
#115 0x0804a748 in compile_rules (parse=0x80fdc08, frame=0xbfffeb80) at compile.c:903
#116 0x0804a748 in compile_rules (parse=0x80fdc38, frame=0xbfffeb80) at compile.c:903
#117 0x0804a748 in compile_rules (parse=0x80fdc68, frame=0xbfffeb80) at compile.c:903
#118 0x0804a748 in compile_rules (parse=0x80fdc98, frame=0xbfffeb80) at compile.c:903
#119 0x0804a748 in compile_rules (parse=0x80fdcc8, frame=0xbfffeb80) at compile.c:903
#120 0x0804a748 in compile_rules (parse=0x80fdcf8, frame=0xbfffeb80) at compile.c:903
#121 0x0804a748 in compile_rules (parse=0x80fdd28, frame=0xbfffeb80) at compile.c:903
#122 0x0804a748 in compile_rules (parse=0x80fdd58, frame=0xbfffeb80) at compile.c:903
#123 0x0804a748 in compile_rules (parse=0x80fdd88, frame=0xbfffeb80) at compile.c:903
#124 0x0804a748 in compile_rules (parse=0x80fddb8, frame=0xbfffeb80) at compile.c:903
#125 0x0804a748 in compile_rules (parse=0x80fdde8, frame=0xbfffeb80) at compile.c:903
#126 0x0804a748 in compile_rules (parse=0x80fde18, frame=0xbfffeb80) at compile.c:903
#127 0x0804a748 in compile_rules (parse=0x80fde48, frame=0xbfffeb80) at compile.c:903
#128 0x0804a748 in compile_rules (parse=0x80fde78, frame=0xbfffeb80) at compile.c:903
#129 0x0804a748 in compile_rules (parse=0x80fdea8, frame=0xbfffeb80) at compile.c:903
#130 0x0804a748 in compile_rules (parse=0x80fded8, frame=0xbfffeb80) at compile.c:903
#131 0x0804a748 in compile_rules (parse=0x80fdf08, frame=0xbfffeb80) at compile.c:903
#132 0x0804a748 in compile_rules (parse=0x80fdf38, frame=0xbfffeb80) at compile.c:903
#133 0x0804a748 in compile_rules (parse=0x80fdf68, frame=0xbfffeb80) at compile.c:903
#134 0x0804a748 in compile_rules (parse=0x80fdf98, frame=0xbfffeb80) at compile.c:903
#135 0x0804a748 in compile_rules (parse=0x80fdfc8, frame=0xbfffeb80) at compile.c:903
#136 0x0804a748 in compile_rules (parse=0x80fdff8, frame=0xbfffeb80) at compile.c:903
#137 0x0804a748 in compile_rules (parse=0x80fe028, frame=0xbfffeb80) at compile.c:903
#138 0x0804a748 in compile_rules (parse=0x80fe058, frame=0xbfffeb80) at compile.c:903
---Type <return> to continue, or q <return> to quit---
#139 0x0804a748 in compile_rules (parse=0x80fe088, frame=0xbfffeb80) at compile.c:903
#140 0x0804a748 in compile_rules (parse=0x80fe0b8, frame=0xbfffeb80) at compile.c:903
#141 0x0804a748 in compile_rules (parse=0x80fe0e8, frame=0xbfffeb80) at compile.c:903
#142 0x0804a748 in compile_rules (parse=0x80fe118, frame=0xbfffeb80) at compile.c:903
#143 0x0804a748 in compile_rules (parse=0x80fe148, frame=0xbfffeb80) at compile.c:903
#144 0x0804a748 in compile_rules (parse=0x80fe178, frame=0xbfffeb80) at compile.c:903
#145 0x0804a748 in compile_rules (parse=0x80fe1a8, frame=0xbfffeb80) at compile.c:903
#146 0x0804a748 in compile_rules (parse=0x80fe1d8, frame=0xbfffeb80) at compile.c:903
#147 0x0804a748 in compile_rules (parse=0x80fe208, frame=0xbfffeb80) at compile.c:903
#148 0x0804a748 in compile_rules (parse=0x80fe238, frame=0xbfffeb80) at compile.c:903
#149 0x0804a748 in compile_rules (parse=0x80fe268, frame=0xbfffeb80) at compile.c:903
#150 0x0804a748 in compile_rules (parse=0x80fe298, frame=0xbfffeb80) at compile.c:903
#151 0x0804a748 in compile_rules (parse=0x80fe2c8, frame=0xbfffeb80) at compile.c:903
#152 0x0804a748 in compile_rules (parse=0x80fe2f8, frame=0xbfffeb80) at compile.c:903
#153 0x0804a748 in compile_rules (parse=0x80fe328, frame=0xbfffeb80) at compile.c:903
#154 0x0804a748 in compile_rules (parse=0x80fe358, frame=0xbfffeb80) at compile.c:903
#155 0x0804a748 in compile_rules (parse=0x80fe388, frame=0xbfffeb80) at compile.c:903
#156 0x0804a748 in compile_rules (parse=0x80fe3b8, frame=0xbfffeb80) at compile.c:903
#157 0x0804a748 in compile_rules (parse=0x80fe3e8, frame=0xbfffeb80) at compile.c:903
#158 0x0804a748 in compile_rules (parse=0x80fe418, frame=0xbfffeb80) at compile.c:903
#159 0x0804a748 in compile_rules (parse=0x80fe448, frame=0xbfffeb80) at compile.c:903
#160 0x0804a748 in compile_rules (parse=0x80fe478, frame=0xbfffeb80) at compile.c:903
#161 0x0804a748 in compile_rules (parse=0x80fe4a8, frame=0xbfffeb80) at compile.c:903
#162 0x0804a748 in compile_rules (parse=0x80fe4d8, frame=0xbfffeb80) at compile.c:903
#163 0x0804a748 in compile_rules (parse=0x80fe508, frame=0xbfffeb80) at compile.c:903
#164 0x0804a748 in compile_rules (parse=0x80fe538, frame=0xbfffeb80) at compile.c:903
#165 0x0804a748 in compile_rules (parse=0x80fe568, frame=0xbfffeb80) at compile.c:903
#166 0x0804a748 in compile_rules (parse=0x80fe598, frame=0xbfffeb80) at compile.c:903
#167 0x0804a748 in compile_rules (parse=0x80fe5c8, frame=0xbfffeb80) at compile.c:903
#168 0x0804a748 in compile_rules (parse=0x80fe5f8, frame=0xbfffeb80) at compile.c:903
#169 0x0804a748 in compile_rules (parse=0x80fe628, frame=0xbfffeb80) at compile.c:903
#170 0x0804e4aa in parse_file (f=0x80b9a40 "/usr/local/boost/tools/build/allyourbase.jam", frame=0xbfffeb80)
at parse.c:53
#171 0x08049e9e in compile_include (parse=0x8076450, frame=0xbfffeb80) at compile.c:465
#172 0x0804a748 in compile_rules (parse=0x8076480, frame=0xbfffeb80) at compile.c:903
---Type <return> to continue, or q <return> to quit---
#173 0x0804e4aa in parse_file (f=0x80b8910 "/usr/local/boost/tools/build/boost-build.jam", frame=0xbfffeb80)
at parse.c:53
#174 0x08049e9e in compile_include (parse=0x806c3c8, frame=0xbfffeb80) at compile.c:465
#175 0x0804a748 in compile_rules (parse=0x806c3f8, frame=0xbfffeb80) at compile.c:903
#176 0x0804a748 in compile_rules (parse=0x806c428, frame=0xbfffeb80) at compile.c:903
#177 0x08049b18 in compile_if (p=0x80b8130, frame=0xbfffeb80) at compile.c:292
#178 0x0804a748 in compile_rules (parse=0x806b910, frame=0xbfffeb80) at compile.c:903
#179 0x0804a748 in compile_rules (parse=0x806b940, frame=0xbfffeb80) at compile.c:903
#180 0x0804e4aa in parse_file (f=0x80529ef "+", frame=0xbfffeb80) at parse.c:53
#181 0x08049527 in main (argc=0, argv=0xbffff598, arg_environ=0xbffff59c) at jam.c:340
#182 0x400435b0 in __libc_start_main () from /lib/libc.so.6
(gdb)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk