[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 <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |anicka@novell.com --- Comment #1 from JP Rosevear <jpr@novell.com> 2007-07-26 13:52:56 MST --- Is this still a problem? Where is the package in the build service? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=258451#c2 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|anicka@novell.com | Resolution| |FIXED --- Comment #2 from JP Rosevear <jpr@novell.com> 2007-08-09 10:19:03 MST --- No response in 2 weeks. Please reopen if this is still a problem. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=258451#c3 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | --- Comment #3 from Anna Bernathova <anicka@novell.com> 2007-08-13 10:12:14 MST --- As might be simply confirmed with running the piece of code above, cairo in stable still segfaults in exactly the same way like before. As far as I am aware, perl-Cairo is not in BS yet (I do not have any convenient way to maintain perl modules in BS automatically like I do now). -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=258451#c4 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |NEEDINFO Info Provider| |anicka@novell.com --- Comment #4 from JP Rosevear <jpr@novell.com> 2007-08-15 11:53:04 MST --- I did the following: #temporarily disable test that started to fail after last Cairo update [#258451\] #mv t/CairoSurface.t t/CairoSurface.tt ie commented out disabling this test and the build went fine Have you tested since the upgrade to cairo 1.4.10? -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=258451#c5 Anna Bernathova <anicka@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|anicka@novell.com | --- Comment #5 from Anna Bernathova <anicka@novell.com> 2007-08-20 02:48:10 MST --- The problematic part of the test was abandoned by upstream in last version (released and updated meanwhile) because Cairo segfaults for them exactly the same way as for us and they cannot fix it, that is why the build was OK. Have you tried that piece of test that I have extracted from older version of CairoSurface.t? It segfaults for me exactly the same way like before - and that is why I asked you to try this test, not the current upstream testsuite. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=258451 Mark Gordon <mtgordon@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtgordon@novell.com Keywords| |should_go_upstream -- 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.
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 <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |WONTFIX --- Comment #6 from JP Rosevear <jpr@novell.com> 2008-03-29 10:50:09 MST --- I see: - enable fixed tests again in the perl-Cairo changelog. Hopefully that fixes it, but if upstream hasn't enabled the problematic code again then its WONTFIX anyhow I think. -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=258451 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|should_go_upstream | -- 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.
participants (1)
-
bugzilla_noreply@novell.com