[arch-multilib] Memory access error with gtk

Florian Pritz bluewind at xinu.at
Tue Feb 7 06:09:14 EST 2012

On 07.02.2012 11:54, Harvey wrote:
> Florian,
>>>> You could try to get a backtrace:
>>>> https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces
>>> Well, I did, but this only shows that the segfault is coming from
>>> gtk_dialog_run () from /usr/lib32/libgtk-x11-2.0.so.0 which belongs to
>>> lib32-gtk2.
>>> Full trace is here:
>>> http://pastebin.com/ank7PXPi
>>> This has been done with gdb. Do I get more useful information when
>>> recompiling lib32-gtk2 with -g, -O0 and -fbuiltin flags enabled or is
>>> this just a waste of time?
>> Do that and you will also see variable values and source code files/lines.
> The package lib32-gtk2 doesn't compile. I only added '!strip' in the 
> options and
> export CFLAGS="$CFLAGS -O0 -fbuiltin -g"
> export CXXFLAGS="$CXXFLAGS -O0 -fbuiltin -g"
> as first entries in the build() function of the PKGBUILD and get this error:
> [...]
> Edit: Even the 'normal' compile without changes to the PKGBUILD doesn't 
> work :/

Works fine in my chroot, maybe your system/chroot is broken.

Here's the package I built (hopefully with debug symbols):

Florian Pritz

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-multilib/attachments/20120207/8642e4cf/attachment.asc>

More information about the arch-multilib mailing list