hpcups assertion failure in 3.15.7

Bug #1480332 reported by Scott Tsai
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
HPLIP
Confirmed
Undecided
Unassigned

Bug Description

/usr/lib/cups/filter/hpcups assertion failure
hplip and hplip-plugin 3.15.7 on Fedora, x86-64
NOTE: downgrading to hplip 3.15.4 works

"hpcups" command line: HP_LaserJet_Pro_MFP_M127fn 127 user 'SEEDNET\xe7\x94\xa8\xe6\x88\xb6\xe7\xae\xa1\xe7\x90\x86\xe7\xb3\xbb\xe7\xb5\xb1' 1 'PageSize=A4 Collate ColorModel=Gray Duplex=None job-uuid=urn:uuid:7643ad33-e921-37f6-66ae-bfede5a2bdc9 nofitplot job-originating-host-name=localhost time-at-creation=1438347273 time-at-processing=1438347273'

Program terminated with signal SIGABRT, Aborted.
#0 0x0000003bda6349c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
55 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
(gdb) bt
#0 0x0000003bda6349c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#1 0x0000003bda63665a in __GI_abort () at abort.c:89
#2 0x0000003bda62d187 in __assert_fail_base (fmt=<optimized out>,
    assertion=assertion@entry=0x7fad7827e768 "currSourceWidth+(2*leftMargin)<=currMediaWidth",
    file=file@entry=0x7fad7827e08f "genPCLm.cpp", line=line@entry=194,
    function=function@entry=0x7fad7827f860 "ubyte* shiftStripByLeftMargin(ubyte*, sint32, sint32, sint32, sint32, sint32, colorSpaceDisposition)") at assert.c:92
#3 0x0000003bda62d232 in __GI___assert_fail (assertion=0x7fad7827e768 "currSourceWidth+(2*leftMargin)<=currMediaWidth",
    file=0x7fad7827e08f "genPCLm.cpp", line=194,
    function=0x7fad7827f860 "ubyte* shiftStripByLeftMargin(ubyte*, sint32, sint32, sint32, sint32, sint32, colorSpaceDisposition)")
    at assert.c:101
#4 0x00007fad78277da7 in shiftStripByLeftMargin(unsigned char*, int, int, int, int, int, colorSpaceDisposition) ()
   from /usr/share/hplip/prnt/plugins/hbpl1.so
#5 0x00007fad7827d13f in PCLmGenerator::Encapsulate(void*, int, int, void**, int*) () from /usr/share/hplip/prnt/plugins/hbpl1.so
#6 0x00007fad7827786b in Hbpl1Wrapper::Encapsulate(void*, int, int, void**, int*) () from /usr/share/hplip/prnt/plugins/hbpl1.so
#7 0x000000000041dd24 in Hbpl1::Encapsulate (this=0xec3680, InputRaster=0xeb6a10, bLastPlane=<optimized out>)
    at prnt/hpcups/Hbpl1.cpp:230
#8 0x00000000004142c3 in RasterSender::Process (this=0xeb69f0, InputRaster=<optimized out>) at prnt/hpcups/RasterSender.cpp:48
#9 0x00000000004140f5 in Process (raster=<optimized out>, this=0xeb77c0) at prnt/hpcups/Pipeline.cpp:72
#10 Pipeline::Execute (this=0xeb77c0, InputRaster=<optimized out>) at prnt/hpcups/Pipeline.cpp:79
#11 0x0000000000413d3a in Job::SendRasters (this=this@entry=0x65d488 <filter+8>, BlackImageData=<optimized out>,
    BlackImageData@entry=0x0, ColorImageData=<optimized out>, ColorImageData@entry=0x0) at prnt/hpcups/Job.cpp:213
#12 0x0000000000404854 in HPCupsFilter::processRasterData (this=this@entry=0x65d480 <filter>, cups_raster=cups_raster@entry=0xeb6010)
    at prnt/hpcups/HPCupsFilter.cpp:755
#13 0x0000000000404eea in HPCupsFilter::StartPrintJob (this=0x65d480 <filter>, argc=6, argv=<optimized out>)
    at prnt/hpcups/HPCupsFilter.cpp:573
#14 0x0000003bda620700 in __libc_start_main (main=0x4023b0 <main(int, char**)>, argc=6, argv=0x7ffe21a57798, init=<optimized out>,
    fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe21a57788) at libc-start.c:289
#15 0x0000000000402479 in _start ()

Related branches

Revision history for this message
goutam kodu (goutam-hplip) wrote :

This is an issue with current hplip 3.15.7 drivers. I have provided the patch for the same in the bug report
https://bugs.launchpad.net/hplip/+bug/1476920.
This resolution for this issue will be released in next version of hplip.

Changed in hplip:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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