Code: Select all
sudo apt-get update && sudo apt-get install strace sudo reboot sudo sysctl -w kernel.randomize_va_space=0 strace -o TRY1 find / -name res_xmpp.c strace -o TRY2 find / -name res_xmpp.c diff -u TRY1 TRY2 |less
It's not related to Jessie Lite, or FreePBX or asterisk. I first posted about it here, viewtopic.php?p=917227#p917227, on a fairly fresh full Jessie install (searching for bluetoothd).jojopi wrote:I cannot conveniently reboot any of my Pies at the moment, and I am not using the lite image, and I do not have FreePBX or asterisk installed.
I ran your diagnostic suggestion, but the text file output of diff is over 7 megabytes! It compresses to only 187,954 bytes, but the attachment limit is 64KB. The attached ZIP file contains the first 2,793,673 bytes of it.jojopi wrote:The results from diff may then give some clue as to why the output from the second run differs.
I just tried it on a virgin copy of 2016-03-18-raspbian-jessie-lite.img:jojopi wrote:(One thing that might break find is improper use of inotify by an unrelated process.)
The first attempt that fails is faster than the second attempt that succeeds:jojopi wrote:So I wonder if the first run is simply crashing before it completes. "tail TRY1" should help to confirm this. (Is the first attempt faster than the second?.
I run as root without sudo. Your diagnostic suggestion was run as root without sudo. I didn't have strace installed until this discussion.jojopi wrote:It seems that both you and Douglas6 in the other thread are running the find under sudo. A side effect of that is to suppress shell diagnostics such as "Segmentation fault" if the escalated process receives a fatal signal.
Do you see the same problem when using neither sudo nor strace? I have still not been able to reproduce this issue myself.