pike issueshttps://git.lysator.liu.se/pikelang/pike/-/issues2022-08-28T23:36:23Zhttps://git.lysator.liu.se/pikelang/pike/-/issues/3894Image.JPEG crashes with corrupt image2022-08-28T23:36:23ZPeter BortasImage.JPEG crashes with corrupt imageImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3894
Reported by Thomas Bopp, Uni-GH Paderborn <astra@upb.de>
The crash only happens on the IA64 architecture (with redhat). We
encountered it when moving to a new server...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3894
Reported by Thomas Bopp, Uni-GH Paderborn <astra@upb.de>
The crash only happens on the IA64 architecture (with redhat). We
encountered it when moving to a new server. I have written a standalone
test program which reproduces the crash. A single call causes only an error
(invalid marker or something like that) and the second call crashes the
program:
*** glibc detected *** double free or corruption (!prev):
0x6000000000245700 ***Pike 7.6Henrik (Grubba) GrubbströmHenrik (Grubba) Grubbströmhttps://git.lysator.liu.se/pikelang/pike/-/issues/2315Image.XWD.decode doesn't handle XY (bitplane) images2022-08-28T15:57:29ZPeter BortasImage.XWD.decode doesn't handle XY (bitplane) imagesImported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2315
Reported by @marcus
If an XY format window dump is given to Image.XWD.decode(), it just returns
0.
```
kronan:~% xwd -xy >/tmp/grab.xwd
kronan:~%
pike ...Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2315
Reported by @marcus
If an XY format window dump is given to Image.XWD.decode(), it just returns
0.
```
kronan:~% xwd -xy >/tmp/grab.xwd
kronan:~%
pike Pike
v7.2 release 144 running Hilfe v2.0 (Incremental Pike Frontend)
> Image.XWD.decode(Stdio.read_file("/tmp/grab.xwd"));
Result: 0
>
```https://git.lysator.liu.se/pikelang/pike/-/issues/8005Image.PS.decode fails on WIN32.2020-03-06T10:51:28ZPeter BortasImage.PS.decode fails on WIN32.Imported from https://youtrack.roxen.com/issue/PIKE-5
Reported by @grubba
REP 6.1.198/Pike 8.0.408:
#### From REPs testsuite
```
Running test C:/disttest/install test/ep_6_1/server-6.1.198/packages/print/test/tests/RoxenTest_rep_imag...Imported from https://youtrack.roxen.com/issue/PIKE-5
Reported by @grubba
REP 6.1.198/Pike 8.0.408:
#### From REPs testsuite
```
Running test C:/disttest/install test/ep_6_1/server-6.1.198/packages/print/test/tests/RoxenTest_rep_imageproc.pike
################ Background failure
Image Processor: Pike Image Processor: image_resize failed to decode ([ /* 3 elements */
"filepath": "C:/disttest/install test/ep_6_1/server-6.1.198/packages/print/test/data/1163486.pdf",
"mimetype": "application/pdf",
"resize": ({ /* 1 element */
([ /* 2 elements */
"filepath": "/tmp/roxentest/output11268.jpg",
"mimetype": "image/jpeg"
])
})
]):
Failed to start process (3).
-:1: _static_modules.Builtin()->create_process()->create(({"/bin/sh -c gs ","-quiet","-sDEVICE=ppmraw","-r100","-dBATCH","-dNOPAUSE","-dUseCIEColor",,,3}),mapping[3])
c:/disttest/install test/ep_6_1/server-6.1.198/pike/lib/modules/_Image_PS.pmod:156: _Image_PS.decode(0,mapping[4])
C:/disttest/install test/ep_6_1/server-6.1.198/packages/imageproc/modules/image-pike.pike (602b93f3):166: RoxenModule(Test REP/image-pike#0)->do_image_resize(mapping[3])
C:/disttest/install test/ep_6_1/server-6.1.198/packages/imageproc/modules/image-pike.pike (602b93f3):126: RoxenModule(Test REP/image-pike#0)->image_resize(mapping[1])
C:/disttest/install test/ep_6_1/server-6.1.198/packages/imageproc/modules/image.pike (3b2788c1):525: RoxenModule(Test REP/image#0)->do_processing(,,,1)
C:/disttest/install test/ep_6_1/server-6.1.198/packages/imageproc/modules/image.pike (3b2788c1):474: RoxenModule(Test REP/image#0)->processor(RoxenModule(Test REP/image#0)->ThreadSafePrioQueue(),0)
| ################ C:/disttest/install test/ep_6_1/server-6.1.198/packages/print/test/tests/RoxenTest_rep_imageproc.pike:36: FAILED
| res
```