Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Malloc fails with exception 

Last post Thu, May 14 2009 6:16 PM by alphaneo. 1 replies.
Started by alphaneo 12 May 2009 08:05 PM. Topic has 1 replies and 3916 views
Page 1 of 1 (2 items)
Sort Posts:
  • Tue, May 12 2009 8:05 PM

    • alphaneo
    • Not Ranked
    • Joined on Tue, Apr 7 2009
    • ??, Japan
    • Posts 4
    • Points 35
    Malloc fails with exception Reply
    Hello all, I am using a DPI task, and from inside this task, I spawn a thread, from from inside the thread I use malloc, many times allocating some 1KB, 300KB, 900 KB, etc.. When I am doing this, sometimes, malloc "just crashes with ncsim: *E,SIGUSR ". Many times it passes. My question, is their any memory limit for malloc. Totally I am allocating around 2MB. What is the maximum allowed stack size of a exported task? I am debugging for 2 days, and am clueless. Britto
    Filed under:
    • Post Points: 5
  • Thu, May 14 2009 6:16 PM

    • alphaneo
    • Not Ranked
    • Joined on Tue, Apr 7 2009
    • ??, Japan
    • Posts 4
    • Points 35
    RE: Malloc fails with exception Reply
    Hello all

    The issue was in the C source code which was corrupting the memory,

    As such there seems to be no special memory limitation.

    Accept my apologies for raising a non-question.

    Best regards,

    Britto
    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by alphaneo at 12 May 2009 08:05 PM. Topic has 1 replies.