[cairo-bugs] [Bug 12284] New: cairo crashes if I open a gaim.desktop in gvim

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Sep 4 23:58:39 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=12284

           Summary: cairo crashes if I open a gaim.desktop in gvim
           Product: cairo
           Version: 1.5.1
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Keywords: have-backtrace
          Severity: normal
          Priority: medium
         Component: freetype font backend
        AssignedTo: david at freetype.org
        ReportedBy: goweol at gmail.com
         QAContact: cairo-bugs at cairographics.org


Crash occurs if I move a cursor to the line 'Name[dz]=...'. And
it seems the font I use cannot display the 'dz' language.
I use cairo commit '1d788da5175dac34ed0298204753bf1b40dfc2b0' to get
gdb backtrace.

Here is a gdb backtrace:

/home2/namsh/c/vim/src[110]$ LD_PRELOAD=./libcairo.so.2.11.5 gdb ./vim
GNU gdb Red Hat Linux (6.5-7_nshrh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "athlon-redhat-linux-gnu"...Using host libthread_db
library "/lib/libthread_db.so.1".

(gdb) run -g -f gaim.desktop
Starting program: /home2/namsh/c/vim/src/vim -g -f gaim.desktop
[Thread debugging using libthread_db enabled]
[New process 15897]
[New Thread -1220254016 (LWP 15897)]

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread -1220254016 (LWP 15897)]
0xb7ef1ae6 in _get_bitmap_surface (bitmap=0x8889924, own_buffer=0, 
    font_options=0x88cfd80, surface=0xbf8257b4) at cairo-ft-font.c:745
745                 data = _cairo_malloc_ab (height, stride);
(gdb) p height
$1 = 0
(gdb) p stride
$2 = 0
(gdb) q
The program is running.  Exit anyway? (y or n) y


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the cairo-bugs mailing list