Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 153230

Summary: AMD64 issue for x11-misc/gtkdialog-0.59.8
Product: Gentoo Linux Reporter: Tom Samstag <gentoo>
Component: Current packagesAssignee: AMD64 Project <amd64>
Status: RESOLVED FIXED    
Severity: normal CC: desktop-misc
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch to fix memory corruption error
updated ebuild to apply patch
updated ebuild to apply patch (with ~amd64)

Description Tom Samstag 2006-10-28 21:23:28 UTC
If unmasked, x11-misc/gtkdialog-0.59.8 will compile and install on amd64 but will crash with the following error:
*** glibc detected *** malloc(): memory corruption: 0x0000000000b4bf20 ***

Attached, find a patch to fix this issue (caused by the bad assumption that sizeof(int)==sizeof(GList*)). With this patch (which is safe to apply for all architectures), gtkdialog runs fine on amd64 and should receive ~amd64.

I've also sent the patch upstream to the author.
Comment 1 Tom Samstag 2006-10-28 21:24:44 UTC
Created attachment 100686 [details, diff]
patch to fix memory corruption error
Comment 2 Tom Samstag 2006-10-28 21:25:37 UTC
Created attachment 100687 [details]
updated ebuild to apply patch
Comment 3 Tom Samstag 2006-10-28 21:27:54 UTC
Created attachment 100688 [details]
updated ebuild to apply patch (with ~amd64)
Comment 4 Krzysztof Pawlik (RETIRED) gentoo-dev 2006-10-29 02:42:44 UTC
Patch added in 0.59.8 - amd64 please test and keyword ~amd64.
Comment 5 Olivier Crete (RETIRED) gentoo-dev 2006-11-01 19:04:35 UTC
stable