Bug 3955 - crash with cairo CVS
Summary: crash with cairo CVS
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Kristian Høgsberg
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-03 04:08 UTC by Vincent Noel
Modified: 2005-08-07 17:56 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Vincent Noel 2005-08-03 04:08:56 UTC
I reported this crash first here :
http://bugzilla.gnome.org/show_bug.cgi?id=312396

As the crash happens somewhere in poppler, I'm copying the info here just in case :

Backtrace was generated from '/usr/bin/evince'

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 1024 (LWP 1392)]
[New Thread 2049 (LWP 1393)]
[New Thread 1026 (LWP 1394)]
0x420b48b9 in wait4 () from /lib/i686/libc.so.6
#0  0x420b48b9 in wait4 () from /lib/i686/libc.so.6
#1  0x420b4849 in waitpid () from /lib/i686/libc.so.6
#2  0x402e3c33 in waitpid () from /lib/i686/libpthread.so.0
#3  0x400894f5 in libgnomeui_segv_handle (signum=-512) at gnome-ui-init.c:749
#4  0x402e1f05 in pthread_sighandler () from /lib/i686/libpthread.so.0
#5  <signal handler called>
#6  _cairo_gstate_set_font_face (gstate=0x41a0f738, font_face=0x0)
    at cairo-gstate.c:2092
#7  0x40ba4593 in cairo_set_font_face (cr=0x41b05fd0, font_face=0x0)
    at cairo.c:1739
#8  0x40ac6f26 in CairoOutputDev::updateFont (this=0x8228640, 
    state=0x418e00f0) at CairoOutputDev.cc:234
#9  0x40adac0c in Gfx::doShowText (this=0x418cc920, s=0x418346b8)
    at Gfx.cc:2320
#10 0x40adb104 in Gfx::opShowText (this=0x418cc920, args=0x41a0f738, 
    numArgs=1) at Gfx.cc:2238
#11 0x40ad7d07 in Gfx::execOp (this=0x418cc920, cmd=0x41a0f738, 
    args=0x4134548c, numArgs=) at Gfx.cc:660
#12 0x40ad7f9e in Gfx::go (this=0x418cc920, topLevel=0) at Gfx.cc:551
#13 0x40ad8a32 in Gfx::display (this=0x418cc920, obj=0x413456fc, 
    topLevel=1101068088) at Gfx.cc:523
#14 0x40adb3ff in Gfx::doForm1 (this=0x418cc920, str=0x41a0f738, 
    resDict=0x41a0f738, matrix=0x418fea50, bbox=0x41345604) at Gfx.cc:2908
#15 0x40adbd1e in Gfx::doForm (this=0x418cc920, str=0x413456fc) at Gfx.cc:2748
#16 0x40adbf5e in Gfx::opXObject (this=0x418cc920, args=0x4134578c, numArgs=1)
    at Gfx.cc:2509
#17 0x40ad7d07 in Gfx::execOp (this=0x418cc920, cmd=0x41a0f738, 
    args=0x4134578c, numArgs=) at Gfx.cc:660
#18 0x40ad7f9e in Gfx::go (this=0x418cc920, topLevel=1) at Gfx.cc:551
#19 0x40ad8a32 in Gfx::display (this=0x418cc920, obj=0x413458ac, 
    topLevel=1101068088) at Gfx.cc:523
#20 0x40b1867e in Page::displaySlice (this=0x8227868, out=0x8228640, hDPI=0, 
    vDPI=0, rotate=1101068088, crop=1101068088, sliceX=1101068088, 
    sliceY=1101068088, sliceW=1101068088, sliceH=1101068088, links=0x0, 
    catalog=0x8227230, abortCheckCbk=0x41a0f738, 
    abortCheckCbkData=0x41a0f738, annotDisplayDecideCbk=0x41a0f738, 
    annotDisplayDecideCbkData=0x41a0f738) at Page.cc:364
#21 0x40981219 in poppler_page_render_to_pixbuf (page=0x414f5418, 
    src_x=1101068088, src_y=1101068088, src_width=1101068088, 
    src_height=1101068088, scale=0.11759251170885436, pixbuf=0x418a7350)
    at poppler-page.cc:363
#22 0x0808ec09 in make_thumbnail_for_size (pdf_document=0x8166ec0, page=4, 
    rotation=0, size=0, border=1) at ev-poppler.cc:835
#23 0x0808eda5 in pdf_document_thumbnails_get_thumbnail (
    document_thumbnails=0x41a0f738, page=4, rotation=0, size=1101068088, 
    border=1) at ev-poppler.cc:873
#24 0x0808c35e in ev_document_thumbnails_get_thumbnail (document=0x8166ec0, 
    page=0, rotation=0, size=0, border=0) at ev-document-thumbnails.c:60
#25 0x08063507 in ev_job_thumbnail_run (job=0x825c938) at ev-jobs.c:326
#26 0x080619e3 in handle_job (job=0x825c938) at ev-job-queue.c:96
#27 0x08061c70 in ev_render_thread (data=0x0) at ev-job-queue.c:187
#28 0x40e2abc9 in g_thread_create_proxy (data=0x80e0158) at gthread.c:561
#29 0x402defaf in pthread_start_thread () from /lib/i686/libpthread.so.0
#30 0x420e790a in thread_start () from /lib/i686/libc.so.6

Thread 3 (Thread 1026 (LWP 1394)):
#0  0x420b48b9 in wait4 () from /lib/i686/libc.so.6
No symbol table info available.
#1  0x420b4849 in waitpid () from /lib/i686/libc.so.6
No symbol table info available.
#2  0x402e3c33 in waitpid () from /lib/i686/libpthread.so.0
No symbol table info available.
#3  0x400894f5 in libgnomeui_segv_handle (signum=-512) at gnome-ui-init.c:749
	estatus = 1076756812
	in_segv = 1
	sa = {__sigaction_handler = {sa_handler = 0, sa_sigaction = 0}, 
  sa_mask = {__val = {1094830870, 4294967295, 1093950432, 1086354360, 
      1099936440, 1093946708, 1, 1086353008, 156, 1093946660, 1076769774, 
      1094830864, 1086328979, 13, 1093950432, 1094830848, 1099826256, 
      1093946676, 1, 1094830864, 1086354360, 1093946820, 1076769358, 0, 
      1093946784, 0, 1086277877, 1086354360, 1, 1093946820, 1094714416, 
      1101045552}}, sa_flags = 1094714400, sa_restorer = 0x41344d94}
	pid = #0  0x420b48b9 in wait4 () from /lib/i686/libc.so.6
Comment 1 Kristian Høgsberg 2005-08-03 04:17:41 UTC
What's the date of your checkout?  Specifically do you have this in the cairo
ChangeLog?:

2005-07-29  Owen Taylor  <otaylor@redhat.com>

	* src/cairo-font.c src/cairo-ft-font.c src/cairo-win32-font.c
	src/cairoint.h: Move the font options into the base 
	cairo_scaled_font_t object so that we have them available
	to use when we are removing a scaled font from the cache.
	(http://bugzilla.gnome.org/show_bug.cgi?id=311299, 
	Ali Akcaagac, Behdad Esfahbod)

If you don't have that patch, please update and try again.
Comment 2 Vincent Noel 2005-08-03 04:21:02 UTC
The checkout was minutes ago. I have that paragraph in the cairo ChangeLog.
Comment 3 Carl Worth 2005-08-04 01:22:08 UTC
*** Bug 3966 has been marked as a duplicate of this bug. ***
Comment 4 Vincent Noel 2005-08-09 03:56:13 UTC
I cannot reproduce this anymore with a CVS build of cairo.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.