On Tue, Feb 16, 2010 at 1:16 AM, Frans Pop <elen...@planet.nl> wrote: > On Monday 15 February 2010, Martin-Éric Racine wrote: >> Setting -x did not produce any useful result; stdout shows the usual: > > That's because the debug output gets redirected to the log...
Where I looked too, as below. >> ...meanwhile, tailing the log shows a neverending series of these: > >> + echo '' >> + : > > Right. That's the debug output. So the segfault and its cause should be > visible in there as well... No, it is not. I was constantly monitoring the log. The last line before that neverending series of echo was the one fetching a package. It did not show me which binary failed. >> ...which I presume to be debconf's way of "pressing Enter" into dpkg? >> Not very useful tracing info, anyhow. > > Not if you only look at the bottom of the file. Try looking at the point > where the failure originates. Nope. See above. >> I suppose this leaves tracking this with strace as a last resort. >> However, I cannot remember if strace is actually capable of tracking >> shell scripts? > > Sure it is. Just make sure you use '-f' so that subprocesses also get > traced. Noted. I'll try that. Martin-Éric -- To UNSUBSCRIBE, email to debian-boot-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/11fae7c71002152246u6511d0c5ra597b866dee54...@mail.gmail.com