#1319 sdcpp.exe works till Tue Jan 19 04:14:03 2038

closed-duplicate
5
2013-05-25
2007-04-19
Anonymous
No

sdcpp.exe causes
Caught signal 11: SIGSEGV
(or Windows abort when second line of source becomes uncommented)
with any source file when system date is after Tue Jan 19 04:15:00 2038.
Just in case: patjank wp pl (add 'at' and dot)

/*
SDCC version:
mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.6.0
#4309 (Jul 28 2006) (MINGW32)

command line: sdcc.exe -c --debug --use-stdout -V --std-sdcc99
--no-peep-comments -I... Source3.c

verbose: + sdcpp.exe -nostdinc -Wall -std=c99 -I"..." -obj-ext=.rel
-DSDCC_MODEL_SMALL -DSDCC=260 -DSDCC_mcs51 -D__mcs51
-I"...\SDCC\bin\..\include\mcs51" -I"...\SDCC\bin\..\include"
"...\Source3.c"
+ asx8051.exe -plosgffc "Source3.asm"

Paths (local drives) are replaced with '...' above.
WXP HE PL SP2, AMD Athlon XP 1700+
*/

void foo(void) { return; }
//static __code const char str[] = __DATE__ " " __TIME__ ; // this line causes sdcpp.exe to be aborted by Windows

Discussion

  • Nobody/Anonymous

    source file causing error

     
  • Maarten Brock

    Maarten Brock - 2007-04-19

    Logged In: YES
    user_id=888171
    Originator: NO

    Duplicate of 1702957 which was already closed, because it was fixed before it was even reported.

    If you do not log in you will not get reports on the progress on your reports.
    If you also do not provide an email address we cannot even try to keep you up-to-date.
    If you file the report anonymously and forget to write down the tracking number you cannot look it up easily yourself. Especially if you only look in OPEN tracker items and ignore PENDING and CLOSED items.

    Allthough this makes us look good in the statistics (fast response time) please do not double post.

    Maarten

     
  • Maarten Brock

    Maarten Brock - 2007-04-19
    • milestone: --> fixed
    • assigned_to: nobody --> maartenbrock
    • status: open --> closed-duplicate
     
  • Nobody/Anonymous

    Logged In: NO

    "Duplicate of 1702957"
    "please do not double post"
    Ooops, I missed closed requests: I thought that some error happen when writing my first (original) request. My fault, sorry! :-(

    "If you do not log in you will not get reports on the progress on your
    reports."
    I will track it myself.

    "If you also do not provide an email address we cannot even try to keep you
    up-to-date."
    Mail was attached, but only in duplicate.

    BTW: no one dares to play with my previous requests?
    [ 1596316 ] FATAL Compiler Internal Error (9) when casting pointers
    [ 1699804 ] Bug with some uses of sizeof(static local array) (MCS51)

     

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks