-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Marcel Moolenaar wrote: | | On Jun 17, 2008, at 1:45 AM, Pietro Cerutti wrote: | |> I'm experiencing "random" sh core-dumps while building ports. During |> these core-dumps, sh is usually invoked by libtool. | | Pietro, | | I've seen something on PowerPC as well. If I recompile libc with | lower optimization, the problem goes away (I think -O1 does the | trick -- if not try -O0 :-). | | In particular, if you recompile lib/libc/gen/exec.c at -O<less> | the problem goes away. Everytime I've seen execvp() being the at | the top of the call-chain. | | Can you check if it's execvp() for you as well? I think here is different. I don't see any execvp. Rather, sh kills itself spontaneously due to some strange event. Here is a full "(gdb) down (gdb) list" set from the coredump: http://gahr.ch/FreeBSD/misc/sh_coredump/sh_coredump.gdb.txt I'm trying to rebuild world w/out optimizations, thanks for the hint! | | Thanks, | - -- Pietro Cerutti gahr_at_FreeBSD.org PGP Public Key: http://gahr.ch/pgp -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhX+WEACgkQwMJqmJVx947//wCgqgkilrjDbzOJPmJk9sOXjY0E j/oAn31XaUNIbkcyqwAI8EmH0k+c7czD =aQ8N -----END PGP SIGNATURE-----Received on Tue Jun 17 2008 - 15:50:35 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC