Topic: strace casues hardlock. no kernel panic. userland tool Category: kernel Program: strace Affects: FreeBSD releases 5.x and later. problem: When a normal user (or root user) users strace on certain binarys, the system will hardlock up, with no kernel panic. (numlock doesnt turn on and off, no ssh or console access). Im using strace from the ports collection. The crash seemed to occure when exiting strace from a running program, Also the crash would not happen 100% of the time leaving a program, but it never took more than 3 times to casue the crash. Repeatable: i repeated this bug on 2 different systems both were SMP. 2 procs. I have not been able to test on a UP system yet. The main program i am running, also the easyest to casue the crash can be found at the following links: http://www.pvpgn.de/files.aspx?file=pvpgn-1.6.0beta.tar.bz2 http://www.pvpgn.de/files.aspx?file=pvpgn-1.6.0beta.tar.gz
Hm, hm. Well, normally, one would use truss or ktrace, since strace isn't part of the base system. Also, are you sure you're not simply running out of system resources, like forkbombing or something? Tried the same thing with a restricted user? I couldn't reproduce it over here, on a single CPU 5.2.1 box.