From: Michael W. <esi...@gm...> - 2009-05-18 18:40:01
|
Sorry, I've just realised I wasn't sending this to the list. 2009/5/18 Michael Wood <esi...@gm...>: > 2009/5/18 Gábor Melis <me...@re...>: >> On Lunes 18 Mayo 2009, Michael Wood wrote: >>> Thanks for your answer. >>> >>> 2009/5/18 Gábor Melis <me...@re...>: >>> [...] >>> >>> > Please compile sbcl with #define QSHOW_SIGNALS 1 and report back. >>> > See the BUGS file for details (section "If you run into a signal >>> > related bug ..."). > [...] >>> gcc -g -Wall -O3 -mno-cygwin -I. -c -o coreparse.o coreparse.c >>> coreparse.c: In function `process_directory': >>> coreparse.c:188: warning: implicit declaration of function >>> `sigprocmask' coreparse.c:188: error: `SIG_BLOCK' undeclared (first >>> use in this function) coreparse.c:188: error: (Each undeclared >>> identifier is reported only once coreparse.c:188: error: for each >>> function it appears in.) >>> coreparse.c:188: error: `SIG_SETMASK' undeclared (first use in this >>> function) coreparse.c: In function `load_core_file': >>> coreparse.c:282: error: `SIG_BLOCK' undeclared (first use in this >>> function) coreparse.c:282: error: `SIG_SETMASK' undeclared (first use >>> in this function) make: *** [coreparse.o] Error 1 >>> make: Leaving directory `/home/michael/src/sbcl-1.0.28/src/runtime' > [...] >> >> This should help a bit: >> >> --- a/src/runtime/runtime.h >> +++ b/src/runtime/runtime.h >> @@ -49,7 +49,7 @@ >> >> #if QSHOW >> >> -#if QSHOW_SIGNAL_SAFE >> +#if QSHOW_SIGNAL_SAFE == 1 && !defined(LISP_FEATURE_WIN32) >> >> #include <signal.h> >> extern sigset_t blockable_sigset; >> >> >> There may be other compilation failures waiting still. > > Well, this time it compiled, but there were tonnes of "heap WP > violation" messages during the compile: > > ; SYS:CONTRIB;SB-SPROF;SB-SPROF.FASL.NEWEST written > ; compilation finished in 0:00:01.265 > * violation? fault_addr=24bef010, page_index=10479 > heap WP violation? fault_addr=24be3e38, page_index=10467 > [...] > heap WP violation? fault_addr=223c2718, page_index=194 > true > make: Leaving directory `/home/michael/src/sbcl-1.0.28/contrib/sb-sprof' > > WARNING! Some of the contrib modules did not build successfully or pass > their self-tests. Failed contribs:" > sb-simple-streams > > Hundreds of similar messages are spewed out if I "sh run-sbcl.sh". > > $ sh run-sbcl.sh > (running SBCL from: .) > This is SBCL 1.0.28, an implementation of ANSI Common Lisp. > More information about SBCL is available at <http://www.sbcl.org/>. > > SBCL is free software, provided as is, with absolutely no warranty. > It is mostly in the public domain; some portions are provided under > BSD-style licenses. See the CREDITS and COPYING files in the > distribution for more information. > /entering load_core_file(./output/sbcl.core) > /successfully read first page of core > /found CORE_MAGIC > /val=0x3860, remaining_len=0x1 > /VERSION_CORE_ENTRY_TYPE_CODE case > /new ptr=3d6ad8 > /val=0x3899, remaining_len=0x32 > /BUILD_ID_CORE_ENTRY_TYPE_CODE case > build_id[]="kudu-michael-2009-05-18-20-20-49" > remaining_len = 32 > ptr[0] = char = 107, expected=107 > ptr[1] = char = 117, expected=117 > ptr[2] = char = 100, expected=100 > ptr[3] = char = 117, expected=117 > ptr[4] = char = 45, expected=45 > ptr[5] = char = 109, expected=109 > ptr[6] = char = 105, expected=105 > ptr[7] = char = 99, expected=99 > ptr[8] = char = 104, expected=104 > ptr[9] = char = 97, expected=97 > ptr[10] = char = 101, expected=101 > ptr[11] = char = 108, expected=108 > ptr[12] = char = 45, expected=45 > ptr[13] = char = 50, expected=50 > ptr[14] = char = 48, expected=48 > ptr[15] = char = 48, expected=48 > ptr[16] = char = 57, expected=57 > ptr[17] = char = 45, expected=45 > ptr[18] = char = 48, expected=48 > ptr[19] = char = 53, expected=53 > ptr[20] = char = 45, expected=45 > ptr[21] = char = 49, expected=49 > ptr[22] = char = 56, expected=56 > ptr[23] = char = 45, expected=45 > ptr[24] = char = 50, expected=50 > ptr[25] = char = 48, expected=48 > ptr[26] = char = 45, expected=45 > ptr[27] = char = 50, expected=50 > ptr[28] = char = 48, expected=48 > ptr[29] = char = 45, expected=45 > ptr[30] = char = 52, expected=52 > ptr[31] = char = 57, expected=57 > /new ptr=3d6b60 > /val=0x3861, remaining_len=0x15 > /NEW_DIRECTORY_CORE_ENTRY_TYPE_CODE case > /process_directory(..), count=3 > /mapping 4096(0x1000) bytes at 0x22000000 > /space id = 3, free pointer = 0x22000b48 > /mapping 4096(0x1000) bytes at 0x22100000 > /space id = 2, free pointer = 0x221006c8 > /mapping 25133056(0x17f8000) bytes at 0x22300000 > /space id = 1, free pointer = 0x23af8000 > /new ptr=3d6ba4 > /val=0x3863, remaining_len=0x1 > /INITIAL_FUN_CORE_ENTRY_TYPE_CODE case > /new ptr=3d6bb0 > /val=0x3880, remaining_len=0x2 > /new ptr=3d6bc0 > /val=0x3840, remaining_len=0x-2 > /END_CORE_ENTRY_TYPE_CODE case > /new ptr=3d6bc0 > /about to free(header) > /returning from load_core_file(..) > /entering arch_install_interrupt_handlers() > /returning from arch_install_interrupt_handlers() > /funcalling initial_function=0x22302975 > heap WP violation? fault_addr=2245e7e4, page_index=350 > heap WP violation? fault_addr=2238c1fc, page_index=140 > heap WP violation? fault_addr=223404a4, page_index=64 > heap WP violation? fault_addr=226305b0, page_index=816 > heap WP violation? fault_addr=2237acdc, page_index=122 > heap WP violation? fault_addr=2235aba4, page_index=90 > heap WP violation? fault_addr=2235b334, page_index=91 > heap WP violation? fault_addr=224cef64, page_index=462 > heap WP violation? fault_addr=223827b4, page_index=130 > heap WP violation? fault_addr=22405178, page_index=261 > heap WP violation? fault_addr=224187d4, page_index=280 > heap WP violation? fault_addr=2238d76c, page_index=141 > heap WP violation? fault_addr=2237b0ac, page_index=123 > heap WP violation? fault_addr=2275fe78, page_index=1119 > heap WP violation? fault_addr=225f8be4, page_index=760 > heap WP violation? fault_addr=2274ba00, page_index=1099 > heap WP violation? fault_addr=224e50b0, page_index=485 > heap WP violation? fault_addr=223fdf04, page_index=253 > heap WP violation? fault_addr=224e2ad0, page_index=482 > heap WP violation? fault_addr=224ed018, page_index=493 > heap WP violation? fault_addr=22409d90, page_index=265 > heap WP violation? fault_addr=223b2f94, page_index=178 > heap WP violation? fault_addr=225d2000, page_index=722 > heap WP violation? fault_addr=2246551c, page_index=357 > heap WP violation? fault_addr=225d4008, page_index=724 > heap WP violation? fault_addr=225cf138, page_index=719 > heap WP violation? fault_addr=22722234, page_index=1058 > heap WP violation? fault_addr=223b8694, page_index=184 > heap WP violation? fault_addr=223b5004, page_index=181 > heap WP violation? fault_addr=223b785c, page_index=183 > heap WP violation? fault_addr=233d2700, page_index=4306 > heap WP violation? fault_addr=22c19c70, page_index=2329 > heap WP violation? fault_addr=2238bb44, page_index=139 > heap WP violation? fault_addr=22b7162c, page_index=2161 > heap WP violation? fault_addr=22b7d47c, page_i* -- Michael Wood <esi...@gm...> |