Hi,
In a current eabi build (on hx4700) xtscal segfaults somewhere in
libfontconfig and takes Xfbdev out with it. Has anybody solved this
already? I can't figure out the meaning of the gdb output:
DISPLAY=:0 gdb /usr/libexec/xtscal.bin
(gdb) run
Starting program: /usr/libexec/xtscal.bin
Program received signal SIGSEGV, Segmentation fault.
0x401d2674 in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x401d3674 in strlen () from /lib/libc.so.6
#1 0x40065258 in FcObjectToPtr (name=0x0) at fcname.c:265
#2 0x40066c4c in FcPatternPosition (p=0x402e5034, object=Variable
"object" is not available.
) at fcpat.c:675
#3 0x40066f08 in FcPatternFindElt (p=0x402e5034, object=Variable
"object" is not available.
) at fcpat.c:699
#4 0x400639d8 in FcFontRenderPrepare (config=0x0, pat=0x23208,
font=0x402e5034) at fcmatch.c:487
#5 0x40063d64 in FcFontSetMatch (config=0x0, sets=0x0, nsets=0, p=0x0,
result=0xbeffab44) at fcmatch.c:576
#6 0x40063de0 in FcFontMatch (config=Variable "config" is not available.
) at fcmatch.c:598
#7 0x4002b704 in XftFontMatch (dpy=0x15008, screen=0, pattern=0x1d278,
result=0xbeffab44) at xftfont.c:61
#8 0x4002b934 in XftFontOpenName (dpy=0x15008, screen=0,
name=0xc3e0 "sans-10") at xftfont.c:137
#9 0x0000a548 in main (argc=Variable "argc" is not available.
) at main.c:603
(gdb)
(gdb) up 4
(gdb) print i
$1 = 19
(gdb) print pat->num
$2 = 20
(gdb) print pat->elts.bank
$3 = 0 # that is == FC_BANK_DYNAMIC
(gdb) print *(pat->elts.u.dyn+i) # that should be pe =
FcPatternEltU(pat->elts)+i
$4 = {object = 44, values = {bank = 0, u = {stat = 135976, dyn = 0x21328}}}
(gdb) print FcObjectPtrU(44) # FcObjectPtrU(pe->object) is fed to
FcPatternFindElt
$5 = 0x0
FcObjectPtrU only returns a string for values up to 43. Any ideas?
And why are there all those "Variable (...) is not available"
messages? Is this some problem with gdb(6.3-r2)+eabi?
I saw alignment trap errors for xtscal.bin in the syslog, but after
setting /proc/cpu/alignment to 5 (signal+warn), I don't get them
anymore and the signal in gdb is SIGSEGV, not SIGINT.
regards
Philipp
_______________________________________________
Oe mailing list
[email protected]
https://www.handhelds.org/mailman/listinfo/oe