So, I just recompiled with QSHOW defined. Then, I did this:
===============================================================
for job in 1 2; do
/tmp/sbcl/bin/sbcl --noinform --no-userinit --no-sysinit \
--eval "(progn (print ${job}) (quit))" \
1> /tmp/out.${job} 2>&1 &
done
===============================================================
I was really surprised by the output. Job 1 crashed. Job 2 generated
all kinds of complaints about possible heap WP violations and
succeeded.
Job 1 crashed with the program counter at 0x10aea7d8
whilst the initial_function was 0x1000f9bd.
So, it's looking like both processes memory fault, one catches the
faults, the other doesn't. Of course, none of the memory faults
in job 2 seem to have happened while the PC was at 10aea7d8. Though,
I suppose that maybe job 1 is trying to handle the fault by jumping
into someplace bad. I dunno.
more later,
Patrick
====diff -c out.1 out.2========================================
*** out.1 2008-06-02 11:35:51.000000000 -0500
--- out.2 2008-06-02 11:35:51.000000000 -0500
***************
*** 77,79 ****
--- 77,209 ----
/os_install_interrupt_handlers()/bsd-os/defined(GENCGC)
/leaving os_install_interrupt_handlers()
/funcalling initial_function=0x1000f9bd
+ Memory fault at: 0x100e749c, PC: 0x10061290
+ heap WP violation? fault_addr=100e749c, page_index=231
+ Memory fault at: 0x101421d0, PC: 0x101a7dd8
+ heap WP violation? fault_addr=101421d0, page_index=322
+ Memory fault at: 0x100cfdfc, PC: 0x100480e0
+ heap WP violation? fault_addr=100cfdfc, page_index=207
+ Memory fault at: 0x10eaa920, PC: 0x10421c58
+ heap WP violation? fault_addr=10eaa920, page_index=3754
+ Memory fault at: 0x10b7e0dc, PC: 0x10421c68
+ heap WP violation? fault_addr=10b7e0dc, page_index=2942
+ Memory fault at: 0x10ea70c8, PC: 0x10421c98
+ heap WP violation? fault_addr=10ea70c8, page_index=3751
+ Memory fault at: 0x102dc130, PC: 0x10421c58
+ heap WP violation? fault_addr=102dc130, page_index=732
+ Memory fault at: 0x101716fc, PC: 0x10421c68
+ heap WP violation? fault_addr=101716fc, page_index=369
+ Memory fault at: 0x102c3898, PC: 0x10421c98
+ heap WP violation? fault_addr=102c3898, page_index=707
+ Memory fault at: 0x10360170, PC: 0x109285d8
+ heap WP violation? fault_addr=10360170, page_index=864
+ Memory fault at: 0x10179d98, PC: 0x102e7e00
+ heap WP violation? fault_addr=10179d98, page_index=377
+ Memory fault at: 0x100812f4, PC: 0x1013e354
+ heap WP violation? fault_addr=100812f4, page_index=129
+ Memory fault at: 0x1026bf64, PC: 0x1013e3b8
+ heap WP violation? fault_addr=1026bf64, page_index=619
+ Memory fault at: 0x100d1d1c, PC: 0x1013e48c
+ heap WP violation? fault_addr=100d1d1c, page_index=209
+ Memory fault at: 0x10124ef4, PC: 0x10195618
+ heap WP violation? fault_addr=10124ef4, page_index=292
+ Memory fault at: 0x100514ac, PC: 0x101950f4
+ heap WP violation? fault_addr=100514ac, page_index=81
+ Memory fault at: 0x1017ce14, PC: 0x102f252c
+ heap WP violation? fault_addr=1017ce14, page_index=380
+ Memory fault at: 0x1002801c, PC: 0x1031194c
+ heap WP violation? fault_addr=1002801c, page_index=40
+ Memory fault at: 0x10178f64, PC: 0x102e7e00
+ heap WP violation? fault_addr=10178f64, page_index=376
+ Memory fault at: 0x10027464, PC: 0x10195344
+ heap WP violation? fault_addr=10027464, page_index=39
+ Memory fault at: 0x100114bc, PC: 0x10b19c98
+ heap WP violation? fault_addr=100114bc, page_index=17
+ /entering POSIX install_handler(2, ..)
+ /interrupt_low_level_handlers[signal]=0
+ /leaving POSIX install_handler(2, ..)
+ /entering POSIX install_handler(15, ..)
+ /interrupt_low_level_handlers[signal]=0
+ /leaving POSIX install_handler(15, ..)
+ /entering POSIX install_handler(4, ..)
+ /interrupt_low_level_handlers[signal]=d920
+ /leaving POSIX install_handler(4, ..)
+ /entering POSIX install_handler(6, ..)
+ /interrupt_low_level_handlers[signal]=0
+ /leaving POSIX install_handler(6, ..)
+ /entering POSIX install_handler(7, ..)
+ /interrupt_low_level_handlers[signal]=0
+ /leaving POSIX install_handler(7, ..)
+ /entering POSIX install_handler(8, ..)
+ /interrupt_low_level_handlers[signal]=0
+ /leaving POSIX install_handler(8, ..)
+ /entering POSIX install_handler(10, ..)
+ /interrupt_low_level_handlers[signal]=df00
+ /leaving POSIX install_handler(10, ..)
+ /entering POSIX install_handler(11, ..)
+ /interrupt_low_level_handlers[signal]=0
+ /leaving POSIX install_handler(11, ..)
+ /entering POSIX install_handler(12, ..)
+ /interrupt_low_level_handlers[signal]=0
+ /leaving POSIX install_handler(12, ..)
+ /entering POSIX install_handler(13, ..)
+ /interrupt_low_level_handlers[signal]=0
+ /leaving POSIX install_handler(13, ..)
+ /entering POSIX install_handler(14, ..)
+ /interrupt_low_level_handlers[signal]=0
+ /leaving POSIX install_handler(14, ..)
+ Memory fault at: 0x1011f22c, PC: 0x103eb69c
+ heap WP violation? fault_addr=1011f22c, page_index=287
+ Memory fault at: 0x1002ec50, PC: 0x103eb78c
+ heap WP violation? fault_addr=1002ec50, page_index=46
+ Memory fault at: 0x1002f000, PC: 0x103eb78c
+ heap WP violation? fault_addr=1002f000, page_index=47
+ /entering collect_garbage(0)
+ Memory fault at: 0x100567d4, PC: 0xf158
+ heap WP violation? fault_addr=100567d4, page_index=86
+ /starting one full scan of newspace generation 7
+ /done with one full scan of newspace generation 7
+ Memory fault at: 0x10056874, PC: 0x4aac
+ heap WP violation? fault_addr=10056874, page_index=86
+ Next gc when 38751192 bytes have been consed
+ /returning from collect_garbage
+ Memory fault at: 0x10025c44, PC: 0x10034ac0
+ heap WP violation? fault_addr=10025c44, page_index=37
+ Memory fault at: 0x102e0048, PC: 0x10421c58
+ heap WP violation? fault_addr=102e0048, page_index=736
+ Memory fault at: 0x1017255c, PC: 0x10421c68
+ heap WP violation? fault_addr=1017255c, page_index=370
+ Memory fault at: 0x102e4010, PC: 0x10421c98
+ heap WP violation? fault_addr=102e4010, page_index=740
+ Memory fault at: 0x102e5000, PC: 0x10421c98
+ heap WP violation? fault_addr=102e5000, page_index=741
+ Memory fault at: 0x102e3008, PC: 0x10421cd8
+ heap WP violation? fault_addr=102e3008, page_index=739
+ Memory fault at: 0x100d002c, PC: 0x108b7274
+ heap WP violation? fault_addr=100d002c, page_index=208
+ Memory fault at: 0x10011624, PC: 0x101e4ad4
+ heap WP violation? fault_addr=10011624, page_index=17
+ Memory fault at: 0x10360170, PC: 0x109285d8
+ heap WP violation? fault_addr=10360170, page_index=864
+ Memory fault at: 0x10e49eb8, PC: 0x10140528
+ heap WP violation? fault_addr=10e49eb8, page_index=3657
+ Memory fault at: 0x110ea69c, PC: 0x1014051c
+ heap WP violation? fault_addr=110ea69c, page_index=4330
+ Memory fault at: 0x10b7feec, PC: 0x10b7f7d4
+ heap WP violation? fault_addr=10b7feec, page_index=2943
+ Memory fault at: 0x1000ca44, PC: 0x10004674
+ heap WP violation? fault_addr=1000ca44, page_index=12
+ Memory fault at: 0x10171700, PC: 0x101a7f98
+ heap WP violation? fault_addr=10171700, page_index=369
+ Memory fault at: 0x102186d0, PC: 0x10922908
+ heap WP violation? fault_addr=102186d0, page_index=536
+ Memory fault at: 0x1017d12c, PC: 0x102f252c
+ heap WP violation? fault_addr=1017d12c, page_index=381
+ Memory fault at: 0x100daaf4, PC: 0x101b6674
+ heap WP violation? fault_addr=100daaf4, page_index=218
+ Memory fault at: 0x10123d84, PC: 0x101b66e4
+ heap WP violation? fault_addr=10123d84, page_index=291
+ Memory fault at: 0x1002ae0c, PC: 0x1000d8ec
+ heap WP violation? fault_addr=1002ae0c, page_index=42
+
+ 2
|