Menu

#73 PRS1 AutoSV Import Failing on amd64 builds

v0.9_beta
closed-fixed
nobody
5
2015-09-06
2012-03-19
No

The windows 32-bit build of SleepyHead correctly imports by AutoSV data from SD card. A 64-bit build from source on linux does not - it only decodes the machine model info, and nothing else (including dates of use, and all daily/overview/prescription/etc data).

I get the same behavior in the pre-packaged .deb for amd64, but the i386 .deb runs fine (running on the same 64-bit linux system, but of course linked against 32-bit libraries).

If I had to guess it is probably a data type issue somewhere in prs1_loader.cpp. Suggestions for debugging are welcome. I also don't mind emailing somebody a tarball of my SD card.

Discussion

  • Richard Freeman

    Richard Freeman - 2012-03-19
     
  • Richard Freeman

    Richard Freeman - 2012-03-19

    See patch which fixes this issue.

     
  • Vincent Bentley

    Vincent Bentley - 2015-09-06

    This patch appears to have been applied to the current source code already. SleepyHead v0.9.8-1 (testing) Build Date: Sep 6 2015 13:48:05 Revision: db99d0d (master branch)
    prs1_loader.cpp

    int ncodes = sizeof(Codes) / sizeof(ChannelID);
    EventList *Code[0x20] = {nullptr};

    I reckon this old ticket can be closed now.

     
  • Mark Watkins

    Mark Watkins - 2015-09-06
    • status: open --> closed-fixed
    • Group: --> v0.9_beta
     

Log in to post a comment.

MongoDB Logo MongoDB