Re: [PATCH] fix crashing on amd64
- From: Ross McFarland <rwmcfa1 neces com>
- To: Thierry Vignaud <tvignaud mandriva com>
- Cc: Rafael Garcia-Suarez <rgarciasuarez mandriva com>, gtk-perl-list gnome org
- Subject: Re: [PATCH] fix crashing on amd64
- Date: Wed, 11 Jan 2006 18:53:58 -0800
On 1/11/06, Thierry Vignaud <tvignaud mandriva com> wrote:
we'd experienced application crash on x86_64 for quite some time. it's
quite reproductable with 1.11x branch. perl loops while trying to segfaulting.
Patch from Rafael Garcia-Suarez <rgarciasuarez mandriva com> traced it
and fixed it:
On x86_64, the conversions from ptr to int and from int to ptr will
loose the highest bits of the pointer, leading to memory access
violations. Use the safer macros that perl provides instead.
if those macros are not working it would likely be a bug in glib
rather than gtk2-perl. what version of glib are you all seeing
problems with?
--
-rm
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]