#654 error message "Caught signal 11: SIGSEGV".

closed
nobody
None
5
2004-04-14
2003-12-05
No

When I compile my projet I get the error
message "Caught signal 11: SIGSEGV".

I have two situation were the error arrived.

First situation is in the file named sht1x1.c
The line that create the error are in s_read_statusreg
function.

Seconde situation is in the file named shtmoni.c
The line that create the bug are identify in the file.

I use sdcc : mcs51 2.3.6 (Nov 2 2003) (MINGW32)

I compile whit these command line.

sdcc -c sht1x1.c
sdcc -c shtmoni.c

Jonathan
jopoulin@msn.com

Discussion

  • Jonathan Poulin

    Jonathan Poulin - 2003-12-05

    Contain tree files need for compile

     
  • Erik Petrich

    Erik Petrich - 2003-12-12

    Logged In: YES
    user_id=635249

    Although unrelated to the SIGSEGV error, I think DATA & SCK
    should be instead declared as

    sbit at 0x80 DATA;
    sbit at 0x81 SCK;

    Could you please upload the io_a89.h file as well? Thanks.

     
  • Jonathan Poulin

    Jonathan Poulin - 2003-12-16

    Logged In: YES
    user_id=924364

    I have retrie with DATA & SCK declared like you point to me.
    But it change noting. My io_a89.h file also contain bad
    declaration. I rewrite it and retry, but error SIGEGV still there.

    I retry too with snapshoot version :
    SDCC :
    mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds4
    00/hc08 2.3.6 (Dec 8 2003) (MINGW32)

    .. and then the error not appear. All is ok.

    I sent you my header file io_a89.h and it's corrected version
    io_a89s.h.

     
  • Jonathan Poulin

    Jonathan Poulin - 2003-12-16

    Header files io_a89.h

     
  • Maarten Brock

    Maarten Brock - 2004-04-14

    Logged In: YES
    user_id=888171

    Hi,

    Apparantly this was fixed already between Nov 2 2003 and
    Dec 8 2003. The problem cannot be reproduced by SDCC
    2.4.0 either. Close it?

    Greets,
    Maarten

     
  • Jonathan Poulin

    Jonathan Poulin - 2004-04-14
    • summary: error message "Caught signal 11: SIGSEGV". --> error message "Caught signal 11: SIGSEGV".
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks