evince crashed with SIGSEGV in _cairo_ft_unscaled_font_set_scale()

Bug #172806 reported by Sergio Zanchetta
16
Affects Status Importance Assigned to Milestone
libcairo
Won't Fix
Medium
cairo (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: evince

Reported with apport-cli.
For information see duplicate Bug #158719

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Thu Nov 29 14:38:51 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/bin/evince
NonfreeKernelModules: cdrom
Package: evince 2.20.1-0ubuntu1
PackageArchitecture: i386
ProcCmdline: evince file:///home/sergigno/104918FormulariInMateriaImmobiliare_Rinaldi.pdf
ProcCwd: /home/sergigno
ProcEnviron:
 PATH=/home/sergigno/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: evince
StacktraceTop:
 _cairo_ft_unscaled_font_set_scale (unscaled=0x8416900,
 _cairo_ft_scaled_font_create (unscaled=0x8416900,
 _cairo_ft_font_face_scaled_font_create (
 *INT_cairo_scaled_font_create (font_face=0x8414598,
 cairo_type1_font_create (
Title: evince crashed with SIGSEGV in _cairo_ft_unscaled_font_set_scale()
Uname: Linux entropy 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Revision history for this message
Sergio Zanchetta (primes2h) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:_cairo_ft_unscaled_font_set_scale (unscaled=0x8416900,
_cairo_ft_scaled_font_create (unscaled=0x8416900, font_face=0x8414598,
_cairo_ft_font_face_scaled_font_create (abstract_face=0x8414598,
*INT_cairo_scaled_font_create (font_face=0x8414598,
cairo_type1_font_create (scaled_font_subset=<value optimized out>,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your bug report. Please try to obtain a backtrace http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the bug report. This will greatly help us in tracking down your problem.

Changed in evince:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Sergio Zanchetta (primes2h) wrote : Re: [Bug 172806] Re: evince crashed with SIGSEGV in _cairo_ft_unscaled_font_set_scale()

@Pedro
Check this comment on duplicate of this Bug (Bug # 158719)
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/158719/comments/14

It has a complete backtrace

2007/11/29, Pedro Villavicencio <email address hidden>:
>
> Thanks for your bug report. Please try to obtain a backtrace
> http://wiki.ubuntu.com/DebuggingProgramCrash and attach the file to the
> bug report. This will greatly help us in tracking down your problem.
>
> ** Changed in: evince (Ubuntu)
> Importance: Undecided => Medium
> Assignee: (unassigned) => Ubuntu Desktop Bugs (desktop-bugs)
> Status: New => Incomplete
>
> ** Visibility changed to: Public
>
> ** Attachment removed: "CoreDump.gz"
>
> http://launchpadlibrarian.net/10636948/CoreDump.gz
>
> --
> evince crashed with SIGSEGV in _cairo_ft_unscaled_font_set_scale()
> https://bugs.launchpad.net/bugs/172806
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks, is this still an issue? can you tell us a few steps in order to reproduce the problem? btw it seems to be a libcairo2 issue, re assigning.

Revision history for this message
Sergio Zanchetta (primes2h) wrote :

Yes, it's still an issue in gutsy updated.

When I try to print that particular document (even to a file) evince
crashes after few second.

2008/1/4, Pedro Villavicencio <email address hidden>:
> Thanks, is this still an issue? can you tell us a few steps in order to
> reproduce the problem? btw it seems to be a libcairo2 issue, re
> assigning.
>
> ** Changed in: libcairo (Ubuntu)
> Sourcepackagename: evince => libcairo
>
> --
> evince crashed with SIGSEGV in _cairo_ft_unscaled_font_set_scale()
> https://bugs.launchpad.net/bugs/172806
> You received this bug notification because you are a direct subscriber
> of the bug.
>

Revision history for this message
In , Sebastien Bacher (seb128) wrote :
Download full text (8.1 KiB)

The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/libcairo/+bug/172806

"When I try to print a particular pdf file (both on a file or a printer) evince crashes.

http://launchpadlibrarian.net/10635604/104918FormulariInMateriaImmobiliare_Rinaldi.pdf
104918FormulariInMateriaImmobiliare_Rinaldi.pdf (907.6 KiB, application/pdf)

#0 FT_Set_Transform (face=0x8414f80, matrix=0xb67df9f8, delta=0x0)
    at /build/buildd/freetype-2.3.5/freetype-2.3.5/src/base/ftobjs.c:452
 internal = (FT_Face_Internal) 0x0
#1 0xb756be83 in _cairo_ft_unscaled_font_set_scale (unscaled=0x8416900,
    scale=<value optimized out>) at /build/buildd/libcairo-1.4.10/src/cairo-ft-font.c:658
 sf = {x_scale = 1000, y_scale = 1000, shape = {{1, 0}, {0, -1}}}
 mat = {xx = 65536, xy = 0, yx = 0, yy = -65536}
 error = <value optimized out>
 __PRETTY_FUNCTION__ = "_cairo_ft_unscaled_font_set_scale"
#2 0xb756f1c3 in _cairo_ft_scaled_font_create (unscaled=0x8416900, font_face=0x8414598,
    font_matrix=0xb67dfd20, ctm=0xb67dfcf0, options=0xb67dfd54, ft_options=
      {base = {antialias = CAIRO_ANTIALIAS_DEFAULT, subpixel_order = CAIRO_SUBPIXEL_ORDER_DEFAULT, lcd_filter = CAIRO_LCD_FILTER_DEFAULT, hint_style = CAIRO_HINT_STYLE_DEFAULT, hint_metrics = CAIRO_HINT_METRICS_DEFAULT}, load_flags = 10, extra_flags = 0})
    at /build/buildd/libcairo-1.4.10/src/cairo-ft-font.c:1728
 face = (FT_Face) 0x8414f80
 metrics = <value optimized out>
 fs_metrics = {ascent = -3.2826239886341566e-46,
  descent = -3.2823087479640466e-46, height = -5.6149787507423538e+287,
  max_x_advance = -3.2826239886341799e-46, max_y_advance = -3.2826239886341799e-46}
 status = <value optimized out>
#3 0xb756f55b in _cairo_ft_font_face_scaled_font_create (abstract_face=0x8414598,
    font_matrix=0xb67dfd20, ctm=0xb67dfcf0, options=0xb67dfd54, scaled_font=0xb67dfb7c)
    at /build/buildd/libcairo-1.4.10/src/cairo-ft-font.c:2474
 ft_options = {base = {antialias = CAIRO_ANTIALIAS_DEFAULT,
    subpixel_order = CAIRO_SUBPIXEL_ORDER_DEFAULT,
    lcd_filter = CAIRO_LCD_FILTER_DEFAULT, hint_style = CAIRO_HINT_STYLE_DEFAULT,
    hint_metrics = CAIRO_HINT_METRICS_DEFAULT}, load_flags = 10, extra_flags = 0}
#4 0xb755ca08 in *INT_cairo_scaled_font_create (font_face=0x8414598,
    font_matrix=0xb67dfd20, ctm=0xb67dfcf0, options=0xb67dfd54)
    at /build/buildd/libcairo-1.4.10/src/cairo-scaled-font.c:540
 i = <value optimized out>
 status = <value optimized out>
 font_map = (cairo_scaled_font_map_t *) 0x822c208
 key = {hash_entry = {hash = 3963507293}, status = CAIRO_STATUS_SUCCESS,
  ref_count = 3061709736, user_data = {size = 3075900123, num_elements = 3061709848,
    element_size = 1, elements = 0xc, is_snapshot = 141134104}, font_face = 0x8414598,
  font_matrix = {xx = 1000, yx = 0, xy = 0, yy = -1000, x0 = 0, y0 = 0}, ctm = {xx = 1,
    yx = 0, xy = 0, yy = 1, x0 = 0, y0 = 0}, options = {
    antialias = CAIRO_ANTIALIAS_DEFAULT, subpixel_order = CAIRO_SUBPIXEL_ORDER_DEFAULT,
    lcd_filter = CAIRO_LCD_FILTER_DEFAULT, hint_style = CAIRO_HINT_STYLE_NONE,
    hint_metrics = CAIRO_HINT_METRICS_OFF}, scale = {xx = 3.4035251916591095e-313,
    yx = 2.829611673775581e+161, xy = 6.013344414744371...

Read more...

Revision history for this message
Sebastien Bacher (seb128) wrote :

 Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments here: https://bugs.freedesktop.org/show_bug.cgi?id=14381

Changed in libcairo:
status: Incomplete → Triaged
Changed in libcairo:
status: Unknown → Confirmed
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

This bug still occurs in Hardy.

Revision history for this message
In , Chris Wilson (ickle) wrote :

Is this still an issue? Trying with the on current ubuntu, everything works. The stack trace seems sane, if perhaps the scale factor does seem a bit extreme - but at any rate it would appear to be a FreeType issue since resolved.

Revision history for this message
Sebastien Bacher (seb128) wrote :

upstream closed the bug using this comment

"Is this still an issue? Trying with the on current ubuntu, everything works.
The stack trace seems sane, if perhaps the scale factor does seem a bit extreme
- but at any rate it would appear to be a FreeType issue since resolved."

closing the ubuntu bug too now, you can reopen if you still get the issue in intrepid though

Changed in cairo:
status: Triaged → Fix Released
Revision history for this message
Sergio Zanchetta (primes2h) wrote :

It's not an issue in Intrepid anymore but the bug still occurs in Hardy.

Thanks for let me know about upstream bug.

Changed in libcairo:
status: Confirmed → Invalid
Changed in libcairo:
importance: Unknown → Medium
status: Invalid → Won't Fix
Changed in libcairo:
importance: Medium → Unknown
Changed in libcairo:
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.