Package: libxft2
Version: 2.1.8.2-8
Followup-For: Bug #362965

I have the same kind of crash trying to run rosegarden (not the Debian
version, that is quite old, but a newer one downloaded and compiled on this
machine). I'm not sure if the problem is caused by xft or by qt3... I took a
look and it seems to me that xft receives a pointer to something that's not a
valid font structure... maybe findFont does not find a font matching the
requirements but qt3 calls xft. 

I'm not an expert neither about QT nor xft but, if you need more information,
I can try.

The gdb backtrace:

(gdb) bt
#0  _XftLockFile (f=0x273d7090) at ../../src/xftfreetype.c:152
#1  0xb6a33d28 in XftLockFace (public=0x87e6e20) at ../../src/xftfreetype.c:355
#2  0xb789be20 in lockFTFace (font=0x87e6e20) at kernel/qfontengine_x11.cpp:1460
#3  0xb789c069 in QFontEngineXft (this=0x8686868, font=0x87e6e20, 
pattern=0x87c8198, cmap=0) at kernel/qfontengine_x11.cpp:1481
#4  0xb78f230b in loadFontConfigFont (fp=0x864e0f8, [EMAIL PROTECTED], 
script=QFont::Latin) at qfontdatabase_x11.cpp:1954
#5  0xb78f2aba in QFontDatabase::findFont (script=QFont::Latin, fp=0x864e0f8, 
[EMAIL PROTECTED], force_encoding_id=-1) at kernel/qfontdatabase.cpp:996
#6  0xb786e6c6 in QFontPrivate::load (this=0x864e0f8, script=QFont::Latin) at 
kernel/qfont_x11.cpp:420
#7  0xb786fa6c in QFontPrivate::engineForScript (this=0x864e0f8, 
script=QFont::Latin) at qfontdata_p.h:152
#8  0xb78e374a in QFontMetrics::height (this=0xbfd78834) at 
kernel/qfont.cpp:2030
#9  0xb7a790e6 in QStatusBar::reformat (this=0x86764a8) at 
widgets/qstatusbar.cpp:307
#10 0xb7a79597 in QStatusBar::setSizeGripEnabled (this=0x86764a8, enabled=true) 
at widgets/qstatusbar.cpp:277
#11 0xb7a79778 in QStatusBar (this=0x86764a8, parent=0x866cc58, name=0x0) at 
widgets/qstatusbar.cpp:151
#12 0xb74f9401 in KStatusBar::KStatusBar () from /usr/lib/libkdeui.so.4
#13 0xb74f95d0 in KMainWindow::statusBar () from /usr/lib/libkdeui.so.4
#14 0x083020e7 in RosegardenGUIApp::initStatusBar ()
#15 0x08317f1d in RosegardenGUIApp::RosegardenGUIApp ()
#16 0x081b5c19 in main ()

And the last lines from the strace output, just before the signal:

6712  open("/home/ludovico/.fonts.cache-1.NEW", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= 10
6712  fstat64(10, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
6712  mmap2(NULL, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7ee5000
6712  write(10, "\"/usr/share/fonts/truetype/comme"..., 32768) = 32768
6712  write(10, "alias=False:index=0:outline=Fals"..., 32768) = 32768
6712  write(10, "an No9 L:style=Medium Italic:sla"..., 32768) = 32768
6712  write(10, "|mi|mk|mo|mt|nb|nds|nl|nn|no|ny|"..., 32768) = 32768
6712  write(10, "CF\"\n\"/usr/share/fonts/X11/misc/n"..., 32768) = 32768
6712  write(10, "  !!#9J!!.)(!!!!%      !!#>K!!$5"..., 32768) = 32768
6712  write(10, "7bEUoh!yf$HK94zzF!!%2&gUBrpoJtuk"..., 32768) = 32768
6712  write(10, "   5H<IZ!!#eW!{{B%!!#0GMW2yPBao&"..., 32768) = 32768
6712  write(10, "us:antialias=False:index=0:outli"..., 32768) = 32768
6712  write(10, "|kaa|ki|kk|kl|ku|kum|kv|kw|ky|la"..., 32768) = 32768
6712  write(10, "eo|es|et|eu|fi|fj|fo|fr|fur|fy|g"..., 32768) = 32768
6712  write(10, " !!#(E|>^1!|>^1!|>^1!|>^1!#?>K%x"..., 32768) = 32768
6712  write(10, "et= !!!!#|>^1!|>^1!P0oWQ |>^1!|>"..., 32768) = 32768
6712  write(10, "8859-1.pcf.gz\" 0 1144729279 \"New"..., 32768) = 32768
6712  write(10, "k|sl|sm|sma|smj|smn|so|sq|sv|sw|"..., 32768) = 32768
6712  write(10, "729276 \"Courier-12:style=Bold:sl"..., 32768) = 32768
6712  write(10, "smn|so|sq|sv|sw|tn|to|tr|ts|ven|"..., 32768) = 32768
6712  write(10, "b|nds|nl|nn|no|oc|om|pt|rm|sma|s"..., 32768) = 32768
6712  write(10, "pSj#xw^)!!I#z    :lang=aa|af|ast"..., 32768) = 32768
6712  write(10, "!)$lT!zL!#f/LPlVrU!d&Ol9WMqZ6~ry"..., 32768) = 32768
6712  write(10, "|to|tr|ts|ven|vo|vot|wa|wen|wo|x"..., 32768) = 32768
6712  write(10, " !!!!#|>^1!|>^1!P0oWQ |>^1!|>^1!"..., 32768) = 32768
6712  write(10, "|kl|kw|la|lb|lt|lv|mg|mh|mi|mt|n"..., 32768) = 32768
6712  write(10, "ast|ay|bi|br|bs|ca|ch|co|cs|cy|d"..., 32768) = 32768
6712  write(10, "t|ay|bi|br|ch|da|de|en|es|eu|fj|"..., 32768) = 32768
6712  write(10, "&  z~Ef|!!!)$      9;*l$ !!!.%  "..., 32768) = 32768
6712  write(10, "ue:charset=  |>^1!|>^1!P0oWQ S73"..., 32768) = 32768
6712  write(10, "h=100:foundry=bitstream:index=0:"..., 15726) = 15726
6712  close(10)                         = 0
6712  munmap(0xb7ee5000, 32768)         = 0
6712  rename("/home/ludovico/.fonts.cache-1.NEW", 
"/home/ludovico/.fonts.cache-1") = 0
6712  unlink("/home/ludovico/.fonts.cache-1.LCK") = 0
6712  brk(0x880d000)                    = 0x880d000
6712  open("/etc/mtab", O_RDONLY)       = 10
6712  fstat64(10, {st_mode=S_IFREG|0644, st_size=1018, ...}) = 0
6712  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0xb7eec000
6712  read(10, "/dev/hda2 / xfs rw 0 0\nproc /pro"..., 4096) = 1018
6712  close(10)                         = 0
6712  munmap(0xb7eec000, 4096)          = 0
6712  open("/proc/meminfo", O_RDONLY)   = 10
6712  fstat64(10, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
6712  mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) 
= 0xb7eec000
6712  read(10, "MemTotal:      1034968 kB\nMemFre"..., 1024) = 598
6712  close(10)                         = 0
6712  munmap(0xb7eec000, 4096)          = 0
6712  open("/usr/X11R6/lib/X11/fonts/Type1/boecklin.pfb", O_RDONLY) = 10
6712  fcntl64(10, F_SETFD, FD_CLOEXEC)  = 0
6712  fstat64(10, {st_mode=S_IFREG|0644, st_size=49977, ...}) = 0
6712  mmap2(NULL, 49977, PROT_READ, MAP_PRIVATE, 10, 0) = 0xb7ee0000
6712  close(10)                         = 0
6712  --- SIGSEGV (Segmentation fault) @ 0 (0) ---

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16.14-ripieno+viewos
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages libxft2 depends on:
ii  libc6                        2.3.6-7     GNU C Library: Shared libraries
ii  libfontconfig1               2.3.2-5.1   generic font configuration library
ii  libfreetype6                 2.2.1-2     FreeType 2 font engine, shared lib
ii  libx11-6                     2:1.0.0-6   X11 client-side library
ii  libxrender1                  1:0.9.0.2-4 X Rendering Extension client libra
ii  x11-common                   1:7.0.20    X Window System (X.Org) infrastruc
ii  zlib1g                       1:1.2.3-9   compression library - runtime

libxft2 recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to