#73 Caught signal 11: SIGSEGV

closed
nobody
None
5
2010-09-29
2010-04-29
Robert Ramey
No

I'm gettting "Caught signal 11: SIGSEGV" in several files when I try to compile a c module.

This only started to occur when I upgraded to 2.9 release.

Any help would be appreciated.

Robert Ramey

Discussion

  • Maarten Brock
    Maarten Brock
    2010-04-30

    Robert,

    Can you please attach some code that produces this error? Without it really is impossible to help.

    Maarten

     
  • Robert Ramey
    Robert Ramey
    2010-04-30

    The following code produces this error

    /*
    * display one icon. used for displaying screen icon
    * without using sprites.
    */
    local void
    display_impl(UINT8 col, UINT8 row, UINT8 width, UINT8 depth, UBYTE *tiles){
    rendering r = {
    col,
    row,
    width,
    depth
    };
    r.tile = tiles;
    display_append_icon_rendering(&r);
    }

    Making the data item "rendering" static makes the error go away.

    Hope this is helpful.

    Robert Ramey

     
  • Maarten Brock
    Maarten Brock
    2010-05-01

    Robert,

    What is "local" and how is rendering defined? I can guess what UINT8 and UBYTE are (the same?) but why make us?

    Maarten

     
  • Maarten Brock
    Maarten Brock
    2010-09-03

    • status: open --> pending
     
  • Maarten Brock
    Maarten Brock
    2010-09-03

    Robert,

    Is this still happening with 2.9.7 ? If so, please attach the full source.

    Maarten

     
  • This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed