Bug#889471: libcairo-perl: FTBFS: t/CairoSurface.t failure

Niko Tyni ntyni at debian.org
Sat Feb 3 17:55:23 UTC 2018


On Sat, Feb 03, 2018 at 07:19:24PM +0200, Niko Tyni wrote:
> Package: libcairo-perl
> Version: 1.106-2
> Severity: serious
> User: debian-perl at lists.debian.org
> Usertags: autopkgtest
> 
> As noticed by ci.debian.net, the test suite of this package
> recently started failing.
> 
>   Test Summary Report
>   -------------------
>   t/CairoSurface.t (Wstat: 139 Tests: 41 Failed: 0)
>     Non-zero wait status: 139
>     Parse errors: Bad plan.  You planned 88 tests but ran 41.
>   Files=9, Tests=256,  0 wallclock secs ( 0.08 usr  0.00 sys +  0.58 cusr  0.05 csys =  0.71 CPU)
>   Result: FAIL
>  
> Timing suggests src:cairo (1.15.8-3 -> 1.15.10-1) as the probable cause
> for this regression.

Confirmed by downgrading libcairo2; that makes the test suite pass again.
Copying the cairo maintainers FYI.

With libcairo2 1.15.10-1, t/CairoSurface.t the libcairo-perl test suite
segfaults:

  ok 36 - An object of class 'Cairo::ImageSurface' isa 'Cairo::ImageSurface'
  ok 37 - An object of class 'Cairo::ImageSurface' isa 'Cairo::Surface'
  ok 38 - An object of class 'Cairo::ImageSurface' isa 'Cairo::ImageSurface'
  ok 39 - An object of class 'Cairo::ImageSurface' isa 'Cairo::Surface'
  ok 40
  ok 41
  Segmentation fault
 
Backtrace with -O0:

  Core was generated by `perl -Iblib/lib -Iblib/arch t/CairoSurface.t'.
  Program terminated with signal SIGSEGV, Segmentation fault.
  #0  png_get_IHDR (png_ptr=0x55bf0389cdd0, info_ptr=0x55bf035c6480, width=width at entry=0x7ffcbf7e50c0, 
      height=height at entry=0x55bf0328eb01, bit_depth=bit_depth at entry=0x8, 
      color_type=color_type at entry=0xffffffffffffffff, interlace_type=0x7ffcbf7e4fb0, compression_type=0x0, 
      filter_type=0x0) at pngget.c:841
  841	pngget.c: No such file or directory.
  (gdb) bt
  #0  png_get_IHDR (png_ptr=0x55bf0389cdd0, info_ptr=0x55bf035c6480, width=width at entry=0x7ffcbf7e50c0, 
      height=height at entry=0x55bf0328eb01, bit_depth=bit_depth at entry=0x8, 
      color_type=color_type at entry=0xffffffffffffffff, interlace_type=0x7ffcbf7e4fb0, compression_type=0x0, 
      filter_type=0x0) at pngget.c:841
  #1  0x00007f1876db570f in read_png (png_closure=png_closure at entry=0x7ffcbf7e5020)
      at ../../../../src/cairo-png.c:595
  #2  0x00007f1876db5e65 in cairo_image_surface_create_from_png_stream (read_func=<optimized out>, 
      closure=<optimized out>) at ../../../../src/cairo-png.c:837
  #3  0x00007f1877050809 in XS_Cairo__ImageSurface_create_from_png_stream (my_perl=0x55bf03289260, 
      cv=0x55bf037f8a28) at CairoSurface.xs:494
  #4  0x000055bf01174121 in Perl_pp_entersub (my_perl=0x55bf03289260) at pp_hot.c:4231
  #5  0x000055bf0116bf46 in Perl_runops_standard (my_perl=0x55bf03289260) at run.c:41
  #6  0x000055bf010ed08f in S_run_body (oldscope=<optimized out>, my_perl=<optimized out>) at perl.c:2519
  #7  perl_run (my_perl=0x55bf03289260) at perl.c:2447
  #8  0x000055bf010c43a2 in main (argc=<optimized out>, argv=<optimized out>, env=<optimized out>)
      at perlmain.c:123
 
-- 
Niko Tyni   ntyni at debian.org



More information about the pkg-gnome-maintainers mailing list