lkml.org 
[lkml]   [2004]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: 2.6.7-mm2, mmaps rework, buggy apps, setarch


    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/<pid>/maps of this binary ?
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.031 / U:28.664 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site