Bug 9673 - Segment fault when running mesa demo 'texdown' on 64 bits platform
Summary: Segment fault when running mesa demo 'texdown' on 64 bits platform
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Demos (show other bugs)
Version: git
Hardware: x86 (IA32) Windows (All)
: high normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-15 21:16 UTC by haihao
Modified: 2009-08-24 12:25 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
patch to fix this bug (960 bytes, patch)
2007-01-15 21:23 UTC, haihao
Details | Splinter Review

Description haihao 2007-01-15 21:16:46 UTC
I try to run texdown on 64bits platform and the app is always broken due to
segment fault.
Comment 1 haihao 2007-01-15 21:23:41 UTC
Created attachment 8410 [details] [review]
patch to fix this bug

The problem is casting from pointer to integer of different size or casting to
pointer from integer of different size. This patch fixes this issue.
Comment 2 Keith Whitwell 2007-01-16 04:19:50 UTC
This patch looks good too.
Comment 3 haihao 2007-01-16 19:36:26 UTC
commit:afba8f0d30974bf7fbb9533f23eb2f92d49ac526
Comment 4 Adam Jackson 2009-08-24 12:25:33 UTC
Mass version move, cvs -> git


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.