Am Mittwoch, 3. September 2014, 16:29:03 schrieb [email protected]:
> Hi,
>
> I just tried building base 3.14.12.2 sequencer 2-1-16 on Windows 8.1 x64
> with Visual Studio 2013 and the compiler in debug configuration and I got a
> crash running lemon.exe
> Running up the debugger shows an access violation on line 1665 of lemon.c in
> function msort()
> list = NEXT(list);
>
> The problem is with NEXT() casting a pointer to an unsigned long, on win64
> long is still only 32bit
> #define NEXT(A) (*(char**)(((unsigned long)A)+offset))
>
> Changing this to
>
> #define NEXT(A) (*(char**)(((char*)A)+offset))
>
> fixed things.
Hi Freddie
thanks a lot! I will make a new 2.1 release ASAP.
BTW, there are some new patches in the upstream version. I haven't yet come
around to merging them into the sequencer, but it's high on my TODO list. It
is possible that a fix like the one you suggest is among them.
Cheers
Ben
________________________________
Helmholtz-Zentrum Berlin für Materialien und Energie GmbH
Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.
Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking
Sitz Berlin, AG Charlottenburg, 89 HRB 5583
Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin
http://www.helmholtz-berlin.de
- References:
- synApps_5_7 build error on Windows 8.1 x64 Alireza Panna
- Re: synApps_5_7 build error on Windows 8.1 x64 Zachary Brown
- RE: synApps_5_7 build error on Windows 8.1 x64 freddie.akeroyd
- Navigate by Date:
- Prev:
RE: scalcout with streamDevice - request for guidance and example Linda.Pratt
- Next:
Question about asyn and offline device Sonya Hoobler
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
RE: synApps_5_7 build error on Windows 8.1 x64 freddie.akeroyd
- Next:
Open position at PSI Dirk Zimoch
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|