lkml.org 
[lkml]   [2003]   [Oct]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Question on SIGFPE
    Sreeram Kumar Ravinoothala wrote:

    > Hi,
    > We get this problem when we run it on disk on chip where linux
    > 2.4.5 is used.
    >
    > Thanks and Regards
    > Sreeram

    Since I don't know what your app is doing, it's kind of hard to know
    whats causing the problem. I still would guess on a divide by zero,
    maybe because of some timing issue.

    Use sigaction(2) to trap the signal, and then look at the
    siginfo_t->si_addr to find out where it happens.

    Or better yet, just run the program through gdb, it will catch the thing...

    Magnus

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:58    [W:0.022 / U:29.540 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site