On 21.02.2017 11:42, [email protected] wrote:
> I think get_precision() expects a long* for the precision but the
> variable passed is declared int in getFloatString() and
> getDoubleString(). In theory this could cause a crash on 64 bit linux
> as int and long are different sizes, but It wouldn’t explain the
> 32bit crash though as int and long are the same size on that
> architecture…
Carsten told me (on the phone) that indeed it /looks/ as if this is
causing the problem. He'll send a patch when he is sure.
The root cause is, of course, the completely unnecessary circumvention
of type checking in the methods of struct rset (and similarly for dset,
drvet, etc).
I see that even in 3.16 this has not changed.
Cheers
Ben
--
"Make it so they have to reboot after every typo." ― Scott Adams
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- Segmentation fault at dbConvert.c in Ubuntu 32/64 bit Carsten Winkler
- Re: Segmentation fault at dbConvert.c in Ubuntu 32/64 bit Carsten Winkler
- Re: Segmentation fault at dbConvert.c in Ubuntu 32/64 bit Ralph Lange
- RE: Segmentation fault at dbConvert.c in Ubuntu 32/64 bit freddie.akeroyd
- Navigate by Date:
- Prev:
Re: IOC Connecting Problem Pilkyu Jung
- Next:
RTEMS + EPICS on Motorola MVME6100 ("Beatnik") Michael Westfall
- 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: Segmentation fault at dbConvert.c in Ubuntu 32/64 bit freddie.akeroyd
- Next:
Re: Segmentation fault at dbConvert.c in Ubuntu 32/64 bit Carsten Winkler
- 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
|