[Bug 258451] New: Cairo segfaults when perl-Cairo testsuite is run
https://bugzilla.novell.com/show_bug.cgi?id=258451 Summary: Cairo segfaults when perl-Cairo testsuite is run Product: openSUSE 10.3 Version: Alpha 2plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: anicka@novell.com QAContact: qa@suse.de Since last version update of cairo, my package perl-Cairo fails to build in autobuild due to the test fail - cairo segfaults during the test run. This is the minimal piece of the original test, which causes segfault: #!/usr/bin/perl -w use strict; use warnings; use constant { IMG_WIDTH => 256, IMG_HEIGHT => 256, }; use Cairo; my $surf = Cairo::PdfSurface->create_for_stream (sub { die 'write-error'; }, 'blub', IMG_WIDTH, IMG_HEIGHT); And this is a backtrace: Program terminated with signal 11, Segmentation fault. #0 _cairo_scaled_font_subsets_foreach_internal (font_subsets=0x0, font_subset_callback=0xb7c29110 <_cairo_pdf_surface_emit_unscaled_font_subset>, closure=0x818ed28, is_scaled=0) at cairo-scaled-font-subsets.c:511 511 collection.glyphs_size = font_subsets->max_glyphs_per_unscaled_subset_used; (gdb) bt #0 _cairo_scaled_font_subsets_foreach_internal (font_subsets=0x0, font_subset_callback=0xb7c29110 <_cairo_pdf_surface_emit_unscaled_font_subset>, closure=0x818ed28, is_scaled=0) at cairo-scaled-font-subsets.c:511 #1 0xb7c29a58 in _cairo_pdf_surface_finish (abstract_surface=0x818ed28) at cairo-pdf-surface.c:2438 #2 0xb7c143c3 in *INT_cairo_surface_finish (surface=0x818ed28) at cairo-surface.c:467 #3 0xb7c14470 in *INT_cairo_surface_destroy (surface=0x818ed28) at cairo-surface.c:392 #4 0xb7c1e0fa in _cairo_paginated_surface_finish (abstract_surface=0x818f018) at cairo-paginated-surface.c:171 #5 0xb7c143c3 in *INT_cairo_surface_finish (surface=0x818f018) at cairo-surface.c:467 #6 0xb7c14470 in *INT_cairo_surface_destroy (surface=0x818f018) at cairo-surface.c:392 #7 0xb7c97c64 in XS_Cairo__Surface_DESTROY (my_perl=0x816d008, cv=0x81fb234) at CairoSurface.xs:249 #8 0x080d0373 in Perl_pp_entersub () #9 0x080666bd in ?? () #10 0x0816d008 in ?? () #11 0x081cce00 in ?? () #12 0xbfa10fc8 in ?? () #13 0x0806abc4 in Perl_call_sv () Backtrace stopped: frame did not save the PC -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=258451#c1
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=258451#c2
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=258451#c3
Anna Bernathova
https://bugzilla.novell.com/show_bug.cgi?id=258451#c4
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=258451#c5
Anna Bernathova
https://bugzilla.novell.com/show_bug.cgi?id=258451
Mark Gordon
https://bugzilla.novell.com/show_bug.cgi?id=258451
User jpr@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=258451#c6
JP Rosevear
https://bugzilla.novell.com/show_bug.cgi?id=258451
JP Rosevear
participants (1)
-
bugzilla_noreply@novell.com