[arch-multilib] Memory access error with gtk

Harvey harv at gmx.de
Tue Feb 7 05:54:21 EST 2012


>>> 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:

t.c x11/xsettings-common.c libgdk-x11-2.0.la Makefile --output Gdk-2.0.gir
Traceback (most recent call last):
   File "/usr/bin/g-ir-scanner", line 46, in <module>
   File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 
407, in scanner_main
     ss = create_source_scanner(options, args)
   File "/usr/lib/gobject-introspection/giscanner/scannermain.py", line 
332, in create_source_scanner
   File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", 
line 249, in parse_files
   File "/usr/lib/gobject-introspection/giscanner/sourcescanner.py", 
line 282, in _parse
   File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
     errread, errwrite)
   File "/usr/lib/python2.7/subprocess.py", line 1228, in _execute_child
     raise child_exception
OSError: [Errno 2] No such file or directory
make[4]: *** [Gdk-2.0.gir] Fehler 1
make[4]: Leaving directory 
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory 
make[2]: *** [all] Fehler 2
make[2]: Leaving directory 
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory 
make: *** [all] Fehler 2

Edit: Even the 'normal' compile without changes to the PKGBUILD doesn't 
work :/


I am root. If you see me laughing, you'd better have a backup!

More information about the arch-multilib mailing list