On Fri, Jun 25, 2004 at 12:33:26PM +0200, Norbert Preining wrote: > On Fre, 25 Jun 2004, Andrew Morton wrote: > > > But what to do with a commerical app where I > > > cannot check a stack trace or whatever? > > > > Use strace -f, look at the last screenful of output. That usually works. > > open("/media4/scan/cam-2002.03/001-100/raw/scan0100.tif", O_RDONLY) = 6 > lseek(6, 0, SEEK_END) = 43426634 > lseek(6, 0, SEEK_CUR) = 43426634 > lseek(6, 0, SEEK_SET) = 0 > mmap2(NULL, 43426634, PROT_READ|PROT_WRITE, MAP_PRIVATE, 6, 0) = -1 ENOMEM (Cann > ot allocate memory) interesting. Could you start the binary in gdb, and then when the segfault happens, take a snapshot of /proc//maps of this binary ?