kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: chatpravi@gmail.com (Praveen kumar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Debugging memset crashes
Date: Thu, 24 Feb 2011 12:28:35 +0530	[thread overview]
Message-ID: <AANLkTikOvjdUZMmm2X7JuK+TPPo7PhtLNmDom7n1TjEe@mail.gmail.com> (raw)

Hi,
I have an embedded system on which i get crash (Caused by memset )  at long
run( Reproducible 2/10 times ),
I wanted to know efficient ways (materials) to handle memset crashes .

*Program terminated with signal 11, Segmentation fault. *

#0 memset (dstpp=0xd2, c=<value optimized out>, len=3374)
    at ../../../src/Common/OS/linux/memset.c:20
20 ../../../src/Common/OS/linux/memset.c: No such file or directory.
in ../../../src/Common/OS/linux/memset.c

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
*(1) Display the backtrace for the thread that crashed. *

#0 memset (dstpp=0xd2, c=<value optimized out>, len=3374)
    at ../../../src/Common/OS/linux/memset.c:20
#1 0x100e76c4 in LPREncode (pEnc=0x5b1debc8, pRTPPacket=0x5be69ee4)
    at ../../../src/Common/comm/lpr/lpr.c:647
#2 0x100dde50 in RTPChanWork (pChan=<value optimized out>)
    at ../../../src/Common/comm/rtpchan/rtpchan.c:2699
#3 0x100de5d8 in RTPTxTask (userDefined=<value optimized out>)
    at ../../../src/Common/comm/rtpchan/rtpchan.c:2853
#4 0x1051d744 in pthread_entry (args=<value optimized out>)
    at ../../../src/Common/OS/linux/psosapi/pthreadapi.c:222
#5 0x0ffaadec in start_thread (arg=<value optimized out>)
    at pthread_create.c:298
#6 0x0f892530 in clone () from /lib/libc.so.6
Previous frame inner to this frame (corrupt stack?)

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
*(2) Display argument parameters and local variables for the thread. *

dstpp = (void *) 0xd2
c = <value optimized out>
len = 3374
xlen = <value optimized out>
cccc = <value optimized out>
dstp = 210


do anyone have some information..

Thanks in Advance
Praveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110224/e13edd33/attachment-0001.html 

             reply	other threads:[~2011-02-24  6:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24  6:58 Praveen kumar [this message]
2011-02-24  7:37 ` Debugging memset crashes Dave Hylands

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTikOvjdUZMmm2X7JuK+TPPo7PhtLNmDom7n1TjEe@mail.gmail.com \
    --to=chatpravi@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).