Bug 100049

Summary: "ralloc: Make sure ralloc() allocations match malloc()'s alignment." causes seg fault in 32bit build
Product: Mesa Reporter: raffarti
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact: mesa-dev
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: glxinfo 32bit backtrace

Description raffarti 2017-03-03 13:47:08 UTC
Created attachment 130046 [details]
glxinfo 32bit backtrace

commit cd2b55e536dc806f9358f71db438dd9c246cdb14 "ralloc: Make sure ralloc() allocations match malloc()'s alignment." causes segmentation fault in 32bit build with -O3, -O2 works fine.
Comment 1 Grazvydas Ignotas 2017-03-04 00:50:51 UTC
Patch sent:
https://patchwork.freedesktop.org/patch/142123/
Comment 2 raffarti 2017-03-04 09:22:44 UTC
(In reply to Grazvydas Ignotas from comment #1)
> Patch sent:
> https://patchwork.freedesktop.org/patch/142123/

It works now, thanks.
Comment 3 Dieter Nützel 2017-03-04 23:04:17 UTC
We only close tickets after patch is commited to Mesa git.

Greetings,
Dieter
Comment 4 Dieter Nützel 2017-03-06 21:59:37 UTC
Fixed in Mesa git by

Commit	ff494fe999510ea40e3ed5827e7818550b6de126
https://cgit.freedesktop.org/mesa/mesa/commit/?id=ff494fe999510ea40e3ed5827e7818550b6de126
Comment 5 Dieter Nützel 2017-03-06 22:03:55 UTC
Jonas,

you can close after testing Mesa git.

Greetings,
Dieter

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.