Closed miohtama closed 12 years ago
Looks like child die regarless whether it is reloaded or not (first request kills)
Some more debug revealed: INFO sauna.reload.parent Child 15441 exited, reasons terminated by signal 11,
11 = SIGSEGV.
Lovely!
OSX core dump instructions https://developer.apple.com/library/mac/#technotes/tn2004/tn2124.html
FYI Plone dumps 576M core
C traceback
(gdb) bt
#1 0x00000001071d4ed0 in select_select ()
#2 0x0000000106537337 in PyEval_EvalFrameEx ()
#3 0x000000010653a517 in PyEval_EvalCodeEx ()
#4 0x000000010653a6c8 in fast_function ()
#5 0x00000001065373e9 in PyEval_EvalFrameEx ()
#6 0x000000010653a653 in fast_function ()
#7 0x00000001065373e9 in PyEval_EvalFrameEx ()
#8 0x000000010653a653 in fast_function ()
#9 0x00000001065373e9 in PyEval_EvalFrameEx ()
#10 0x000000010653a653 in fast_function ()
#11 0x00000001065373e9 in PyEval_EvalFrameEx ()
#12 0x000000010653a653 in fast_function ()
#13 0x00000001065373e9 in PyEval_EvalFrameEx ()
#14 0x000000010653a517 in PyEval_EvalCodeEx ()
#15 0x000000010653a596 in PyEval_EvalCode ()
#16 0x00000001065591c4 in PyRun_FileExFlags ()
#17 0x000000010655a458 in PyRun_SimpleFileExFlags ()
#18 0x0000000106567f99 in Py_Main ()
#19 0x000000010649f834 in start ()
FYI gdb wires up 1,8 GB memory so your machine will crawl when running it
Other threads:
(gdb) info threads 4 0x00007fff904dabca in __psynch_cvwait () 3 0x00007fff87679a91 in _dispatch_barrier_async_f_slow () 2 0x00007fff904dadf2 in select$DARWIN_EXTSN ()
It is caused by IPython / ipdb.
The mechanism is still unknown, but other projects have had similar problems:
https://github.com/ipython/ipython/issues/711/
Solution: Don't put import ipdb ; ipdb.set_trace() to your code if it crashes with sauna.reload.
Hi,
This issue plagues me on OSX Snow Leopard and Lion
sauna.reload correctly reloads Plone site. However, after the reload, when the request hits the site the site dies (SIGCHLD). After this all subsequent requests cause the site die also.
The log:
I think the crucial part is 2012-06-01 14:28:45 INFO SignalHandler Caught signal SIGCHLD. Any idea what this could mean? Also Child died on bootup error message is misleading maybe because the child already booted?
Did not have this issue with sauna.reload 0.3.0 AFAIK