[Bug 1410774] perl-PDL-Graphics-PLplot-0.71-3.fc26 FTBFS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1410774



--- Comment #1 from Petr Pisar <ppisar@xxxxxxxxxx> ---
The t/plplot.t crashes when executing "3D color plot, low level interface" test
when calling plshades() Perl subroutine:

#0  pltr1 (x=19.590623970008657, y=1, tx=0x3fffe3c621e8, ty=0x3fffe3c621f0,
pltr_data=0x1dde5cc0) at /usr/src/debug/plplot-5.11.1/src/plcont.c:896
#1  0x00003fff8fe41cc4 in plshade_int (f2eval=<optimized out>,
f2eval_data=<optimized out>, defined=0x0, nx=<optimized out>, ny=<optimized
out>, xmin=-1, xmax=<optimized out>, 
    ymin=-1, ymax=<optimized out>, shade_min=<optimized out>,
shade_max=<optimized out>, sh_cmap=1, sh_color=0, sh_width=2, min_color=0,
min_width=<optimized out>, max_color=0, 
    max_width=<optimized out>, fill=0x3fff8fe2df10 <c_plfill>, rectangular=1,
pltr=0x3fff8fe1af00 <pltr1>, pltr_data=0x1dde5cc0,
UNUSED_c2eval_data=<optimized out>, 
    c2eval=<optimized out>) at /usr/src/debug/plplot-5.11.1/src/plshade.c:666
#2  0x00003fff8fe42b00 in plfshades (zops=0x3fff8fe80fd0 <s_plf2ops_c>,
zp=0x1001ddfc5c0, nx=<optimized out>, ny=<optimized out>, defined=0x0, xmin=-1,
xmax=1, ymin=-1, ymax=1, 
    clevel=0x1001ddfb0a0, nlevel=15, fill_width=2, cont_color=0, cont_width=0,
fill=0x3fff8fe2df10 <c_plfill>, rectangular=1, pltr=0x3fff8fe1af00 <pltr1>,
pltr_data=0x1dde5cc0)
    at /usr/src/debug/plplot-5.11.1/src/plshade.c:262
#3  0x00003fff8fe42ee8 in c_plshades (a=0x1001ddfc5c0, nx=<optimized out>,
ny=<optimized out>, defined=0x0, xmin=<optimized out>, xmax=<optimized out>,
ymin=<optimized out>, 
    ymax=<optimized out>, clevel=0x1001ddfb0a0, nlevel=15,
fill_width=<optimized out>, cont_color=0, cont_width=<optimized out>,
fill=0x3fff8fe2df10 <c_plfill>, rectangular=1, 
    pltr=0x3fff8fe1af00 <pltr1>, pltr_data=0x1dde5cc0) at
/usr/src/debug/plplot-5.11.1/src/plshade.c:211
#4  0x00003fff8fef7ce4 in pdl_plshades_pp_readdata (__tr=0x1001de05d60) at
PLplot.xs:29263
#5  0x00003fff905c1c24 in pdl__ensure_trans (trans=0x1001de05d60,
what=<optimized out>) at pdlapi.c:1227
#6  0x00003fff905c3010 in pdl_make_trans_mutual (trans=0x1001de05d60) at
pdlapi.c:849
#7  0x00003fff8ff19fac in XS_PDL_plshades_pp (my_perl=<optimized out>,
cv=<optimized out>) at PLplot.xs:56457
#8  0x00003fff90f1c8fc in Perl_pp_entersub (my_perl=0x1001cb80010) at
pp_hot.c:3987
#9  0x00003fff90f13508 in Perl_runops_standard (my_perl=0x1001cb80010) at
run.c:41
#10 0x00003fff90e87124 in S_run_body (oldscope=<optimized out>,
my_perl=<optimized out>) at perl.c:2483
#11 perl_run (my_perl=0x1001cb80010) at perl.c:2406
#12 0x0000000010000de8 in main (argc=<optimized out>, argv=<optimized out>,
env=<optimized out>) at perlmain.c:116

The crash is in plplot library when dereferencing grid variable, debugger
states the pointer is inaccessible:

void
pltr1( PLFLT x, PLFLT y, PLFLT *tx, PLFLT *ty, PLPointer pltr_data )
{
    PLINT   ul, ur, vl, vr;
    PLFLT   du, dv;
    PLFLT   xl, xr, yl, yr;

    PLcGrid *grid = (PLcGrid *) pltr_data;
    PLFLT   *xg   = grid->xg;
    PLFLT   *yg   = grid->yg;
    PLINT   nx    = grid->nx;
→   PLINT   ny    = grid->ny;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux