Sophie

Sophie

distrib > Mandriva > 9.1 > ppc > by-pkgid > 21b6b2e853b7a24a57beddaa2e4d2c11 > files > 1826

omni-0.7.2-20.2mdk.ppc.rpm

Post a note in our mailing list
   http://sourceforge.net/mail/?group_id=18713

Send mail to linuxprt@us.ibm.com

Please tell us the the following things in your note:
   - the version of Omni that you are using
   - the program (and version) that you are using as well as the
     parameters on the command line.
   - a debug stack trace.

For example, the DeviceTester program traps.

$ ../DeviceTester drawbox driver libCanon_BJC_2000.so cout output24.prn cerr output24.err printmode PRINT_MODE_24_CMYK scanlines 2048
Segmentation fault (core dumped)
$ gdb ../DeviceTester
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run drawbox driver libCanon_BJC_2000.so cout output24.prn cerr output24.err printmode PRINT_MODE_24_CMYK scanlines 2048
Starting program: /gs5.50/Omni/Omni.C++/Canon/../DeviceTester drawbox driver libCanon_BJC_2000.so cout output24.prn cerr output24.err printmode PRINT_MODE_24_CMYK scanlines 2048

Program received signal SIGSEGV, Segmentation fault.
0x4003a469 in GplCompressChooseMode (pbRow=0x0, pbLastRow=0x0, iRowLength=360,
    iCompressModes=2, pDelta=0x8053408) at GplCompression.cpp:2250
2250	         if (*(pbRow + i) == *(pbRow + i - 1))      // for TIFF testing
(gdb) bt
#0  0x4003a469 in GplCompressChooseMode (pbRow=0x0, pbLastRow=0x0,
    iRowLength=360, iCompressModes=2, pDelta=0x8053408)
    at GplCompression.cpp:2250
#1  0x40037c9b in GplCompression::compressRasterPlane (this=0x80530d8,
    pbBuffer=0x0, iPrinterBytesInArray=360, pbLastLine=0x0,
    pbCompress=0x8053130 "\202ÿ\202ÿ\227ÿ", cbCompressBuffer=720,
    iCompressModeSupported=2, pDelta=0x8053408, iWhichPlane=3)
    at GplCompression.cpp:338
#2  0x40037a2d in GplCompression::compressKRasterPlane (this=0x80530d8,
    pbdKPlaneIn=0x8054a00) at GplCompression.cpp:239
#3  0x4002c503 in DeviceBlitter::compressKRasterPlane (this=0x8052238,
    pbdKPlane=0x8054a00) at DeviceBlitter.cpp:341
#4  0x401f9c28 in Canon_Blitter::canonColorRasterize ()
   from /gs5.50/Omni/Omni.C++/Canon/libCanon_BJC_2000.so
#5  0x401f8736 in Canon_Blitter::rasterize ()
   from /gs5.50/Omni/Omni.C++/Canon/libCanon_BJC_2000.so
#6  0x400341b5 in PrintDevice::rasterize (this=0x8052188,
    pbBits=0x40235008 "", pbmi2=0x8054c50, prectlPageLocation=0xbffff818,
    eType=BITBLT_BITMAP) at PrintDevice.cpp:827
#7  0x804dc8e in drawPage (iMaxScanLines=2048, pDevice=0x8052188,
    fDrawBox=true, fDrawColors=false) at DeviceTester.cpp:1559
#8  0x804ec76 in main (argc=12, argv=0xbffff934) at DeviceTester.cpp:1883
(gdb) quit
The program is running.  Exit anyway? (y or n) y