Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153230 - AMD64 issue for x11-misc/gtkdialog-0.59.8
Summary: AMD64 issue for x11-misc/gtkdialog-0.59.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-28 21:23 UTC by Tom Samstag
Modified: 2006-11-01 19:04 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch to fix memory corruption error (gtkdialog-0.59.8-amd64.patch,653 bytes, patch)
2006-10-28 21:24 UTC, Tom Samstag
Details | Diff
updated ebuild to apply patch (gtkdialog-0.59.8.ebuild,823 bytes, text/plain)
2006-10-28 21:25 UTC, Tom Samstag
Details
updated ebuild to apply patch (with ~amd64) (gtkdialog-0.59.8.ebuild,830 bytes, text/plain)
2006-10-28 21:27 UTC, Tom Samstag
Details

Note You need to log in before you can comment on or make changes to this bug.
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