From: SourceForge.net <no...@so...> - 2004-04-15 19:29:28
|
Bugs item #854546, was opened at 2003-12-05 07:20 Message generated for change (Comment added) made by maartenbrock You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=854546&group_id=599 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Jonathan Poulin (jopoulin) Assigned to: Nobody/Anonymous (nobody) Summary: error message "Caught signal 11: SIGSEGV". Initial Comment: 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 jop...@ms... ---------------------------------------------------------------------- Comment By: Maarten Brock (maartenbrock) Date: 2004-04-14 16:48 Message: 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 ---------------------------------------------------------------------- Comment By: Jonathan Poulin (jopoulin) Date: 2003-12-16 02:10 Message: 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. ---------------------------------------------------------------------- Comment By: Erik Petrich (epetrich) Date: 2003-12-12 09:33 Message: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100599&aid=854546&group_id=599 |