Hey Wim, > Just checked in the source and I couldn't find a place where Wt does > something with SIGABRT. Does the process exit? Does it write something > on the log?
never mind, there must be something else in my current system configu- ration: I've just rebuilt wt-3.2.1 from scratch and now it is no longer generating the coredump (I'm using the hello.wt example with an assert(0) as the final instruction of the wapplication instance, so it is triggered at webpage load). I've gone through all the single possibilities of man 5 core but none of them seems to be the reason why I'm not getting this. > <http://stackoverflow.com/questions/4154753/sigabrt-how-to-get-the-coredump-file> Yes, I'm aware of the few chances presented there as well. Just to provide further details, with a main as simple as this one int main() { assert(0); } I'm correctly getting the coredump. The last rows of the corresponding strace are: ==================================================================== brk(0x85f000) = 0x85f000 write(2, "a.out: main.cpp:6: int main(): A"..., 53a.out: main.cpp:6: int main(): Assertion `0' failed. ) = 53 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5d008fe000 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 tgkill(19074, 19074, SIGABRT) = 0 --- SIGABRT (Aborted) @ 0 (0) --- +++ killed by SIGABRT (core dumped) +++ Aborted (core dumped) ==================================================================== while the last ones for the hello.wt case are: ==================================================================== [pid 19099] write(2, "hello.wt: /root/Installed/wt-3.2"..., 153hello.wt: /root/Installed/wt-3.2.1-patched/examples/hello/hello.C:78: HelloApplication::HelloApplication(const Wt::WEnvironment&): Assertion `0' failed. ) = 153 [pid 19099] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4ac0c91000 [pid 19099] rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0 [pid 19099] tgkill(19091, 19099, SIGABRT) = 0 [pid 19099] --- SIGABRT (Aborted) @ 0 (0) --- [pid 19099] rt_sigaction(SIGABRT, {SIG_DFL, [], SA_RESTORER|SA_INTERRUPT, 0x7f4abff394a0}, {0x7f4abe2bf3a0, [], SA_RESTORER|SA_INTERRUPT, 0x7f4abff394a0}, 8) = 0 [pid 19099] tgkill(19091, 19099, SIGABRT) = 0 [pid 19099] exit_group(6) = ? Process 19099 detached ==================================================================== In this second case there is no "Aborted (core dumped)" message. Steps to reproduce: tar xf wt-3.2.1.tgz cd wt-3.2.1 mkdir build cd build cmake ../ make -j10 cd examples/hello make strace -f ./hello.wt --docroot=. --http-address=0.0.0.0 --http-port=12345 --approot=. Thanks a lot, Antonio ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest