I rebuilt aeolus again agains of debuggable clxclient,
now backtrace is a
bit more full. Before i got it i added debug printing lines with args, and
printing internals of some structs. However, Display struct seems to be not
for user, and its structure is quite huge, including other structs as well.
int X_textip::textwidth (int i, int n)
{
printf ("DEBUG: entered textwidth: %i, %i\n", i, n);
XGlyphInfo K;
if (n == 0) return 0;
printf ("DEBUG: predicting XftTextExtentsUtf8 args: Display * dpy (see
DPY section), %p (see FONT section), %s, %i, &K\n",_style->font, (const
char *) (_txt + i), n);
Display * DPY = dpy ();
XftFont * FONT = _style->font;
printf ("DEBUG: FONT (struct XftFont):\n");
printf ("\tascent (i): %i\n", FONT->ascent);
printf ("\tdescent (i): %i\n", FONT->descent);
printf ("\theight (i): %i\n", FONT->height);
printf ("\tmax_advance_width (i): %i\n", FONT->max_advance_width);
printf ("\tcharset (FcCharSet *): %p\n", FONT->charset);
printf ("\tpattern (FcPattern *): %p\n", FONT->pattern);
printf ("DEBUG: DPY (Display): %p\n", DPY);
XftTextExtentsUtf8 (dpy (), _style->font, (const FcChar8 *)(_txt + i),
n, &K);
return K.xOff;
}
(gdb) run
Starting program: /home/nick87720z/Рабочий стол/aeolus-0.9.0/source/aeolus
-J warning: no loadable sections found in added symbol-file system-supplied
DSO at 0x7ffff7ffa000
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff7faa700 (LWP 8884)]
[New Thread 0x7ffff7f29700 (LWP 8885)]
[New Thread 0x7ffff7ea8700 (LWP 8886)]
[New Thread 0x7ffff53d4700 (LWP 8887)]
[New Thread 0x7ffff53c3700 (LWP 8888)]
[New Thread 0x7ffff53b1700 (LWP 8889)]
Reading '/usr/share/aeolus/stops/Aeolus/definition'
[New Thread 0x7ffff53a0700 (LWP 8890)]
Can't open '/home/nick87720z/.aeolus-presets' for reading
[New Thread 0x7ffff4a88700 (LWP 8891)]
DEBUG: entered textwidth: 0, 0
DEBUG: entered textwidth: 0, 1
DEBUG: predicting XftTextExtentsUtf8 args: Display * dpy (see DPY section),
0x77dc50 (see FONT section), 1,, 1, &K
DEBUG: FONT (struct XftFont):
ascent (i): 11
descent (i): 3
height (i): 14
max_advance_width (i): 24
charset (FcCharSet *): 0x7ffff552f4a0
pattern (FcPattern *): 0x77cff0
DEBUG: DPY (Display): 0x6f09f0
DEBUG: entered textwidth: 0, 0
DEBUG: entered textwidth: 0, 1
DEBUG: predicting XftTextExtentsUtf8 args: Display * dpy (see DPY section),
0x77dc50 (see FONT section), 1,, 1, &K
DEBUG: FONT (struct XftFont):
ascent (i): 11
descent (i): 3
height (i): 14
max_advance_width (i): 24
charset (FcCharSet *): 0x7ffff552f4a0
pattern (FcPattern *): 0x77cff0
DEBUG: DPY (Display): 0x6f09f0
DEBUG: entered textwidth: 0, 0
DEBUG: entered textwidth: 0, 0
DEBUG: entered textwidth: 0, 0
DEBUG: entered textwidth: 0, 0
DEBUG: entered textwidth: 0, 5
DEBUG: predicting XftTextExtentsUtf8 args: Display * dpy (see DPY section),
0x77dc50 (see FONT section), 440.0, 5, &K
DEBUG: FONT (struct XftFont):
ascent (i): 11
descent (i): 3
height (i): 14
max_advance_width (i): 24
charset (FcCharSet *): 0x7ffff552f4a0
pattern (FcPattern *): 0x77cff0
DEBUG: DPY (Display): 0x6f09f0
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff4a88700 (LWP 8891)]
0x00007ffff5b4dda1 in ?? () from /usr/lib/x86_64-linux-gnu/libfreetype.so.6
(gdb) backtrace
#0 0x00007ffff5b4dda1 in ?? () from
/usr/lib/x86_64-linux-gnu/libfreetype.so.6 #1 0x00007ffff5b52d1f in ?? ()
from /usr/lib/x86_64-linux-gnu/libfreetype.so.6 #2 0x00007ffff5b545af in
?? () from /usr/lib/x86_64-linux-gnu/libfreetype.so.6 #3
0x00007ffff5b00bd5 in FT_Render_Glyph_Internal () from /usr/lib/x86_64-
linux-gnu/libfreetype.so.6
#4 0x00000039bd40c670 in XftFontLoadGlyphs () from /usr/lib/x86_64-linux-
gnu/libXft.so.2
#5 0x00000039bd409c64 in XftGlyphExtents () from /usr/lib/x86_64-linux-
gnu/libXft.so.2
#6 0x00000039bd40a06a in XftTextExtentsUtf8 () from /usr/lib/x86_64-linux-
gnu/libXft.so.2
#7 0x00007ffff630a078 in X_textip::textwidth (this=0x7fffe0010780, i=0,
n=5) at textip.cc:700
#8 0x00007ffff63094f3 in X_textip::update (this=0x7fffe0010780, f=true) at
textip.cc:548
#9 0x00007ffff630827d in X_textip::set_text (this=0x7fffe0010780,
txt=0x7ffff4a87dd5 "") at textip.cc:141
#10 0x00007ffff65308e6 in Instrwin::show_tuning (this=0x7fffe00016e0, b=0)
at instrwin.cc:224
#11 0x00007ffff6530875 in Instrwin::set_tuning (this=0x7fffe00016e0,
M=0x7fffdc09d860) at instrwin.cc:215
#12 0x00007ffff653adea in Xiface::handle_mesg (this=0x6e7720,
M=0x7fffdc09d860) at xiface.cc:183
#13 0x00007ffff653a8ff in Xiface::thr_main (this=0x6e7720) at xiface.cc:92
#14 0x00000039a7c0309a in P_thread_entry_point () from
/usr/lib/libclthreads.so.2
#15 0x00007ffff7974e9a in start_thread (arg=0x7ffff4a88700) at
pthread_create.c:308
#16 0x00007ffff6c873fd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()
(gdb) quit
A debugging session is active.
Inferior 1 [process 8881] will be killed.
Quit anyway? (y or n) y
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev(a)lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev Fons, what are versions of
your clxclient dependencies? or distro. What it it
is indeed xft/freetype bug, fixed in some recent version. And yet, i made
manual fontconfig configuration - switching to one cool engine with many
parameters, having even predefined settings for various versions of win, mac,
several more,.