|
Bugzilla – Full Text Bug Listing |
| Summary: | "double free or corruption" for "bmpa*" Ghostscript devices | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE LINUX 10.0 | Reporter: | Johannes Meixner <jsmeix> |
| Component: | Printing | Assignee: | Dr. Werner Fink <werner> |
| Status: | RESOLVED FIXED | QA Contact: | Johannes Meixner <jsmeix> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | jsmeix |
| Version: | Beta 3 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
environment of jsmeix@nelson (i.e. output of "set")
environment of root@nelson (i.e. output of "set") |
||
|
Description
Johannes Meixner
2005-08-30 09:03:08 UTC
Ahmm ... why I get this so late???? Hopefully you know that ghostscript triggers many packages for rebuild and Rudi may reject a new version. I can not reproduce this: g31:espgs-8.15rc1 # cat /usr/share/doc/packages/ghostscript/examples/colorcir.ps|\ gs -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=bmp16 -sOutputFile='| cat >&3' \ /dev/fd/0 3>&1 1>&2 | file - /dev/stdin: PC bitmap data, Windows 3.x format, 595 x 842 x 4 Answering comment 3 from bug 114068 here: It happens both for jsmeix@nelson and for root@nelson after I switched from jsmeix to root using "su -". jsmeix@nelson:~> locale LANG=en_GB.iso885915 LC_CTYPE="en_GB.iso885915" LC_NUMERIC="en_GB.iso885915" LC_TIME="en_GB.iso885915" LC_COLLATE="en_GB.iso885915" LC_MONETARY="en_GB.iso885915" LC_MESSAGES="en_GB.iso885915" LC_PAPER="en_GB.iso885915" LC_NAME="en_GB.iso885915" LC_ADDRESS="en_GB.iso885915" LC_TELEPHONE="en_GB.iso885915" LC_MEASUREMENT="en_GB.iso885915" LC_IDENTIFICATION="en_GB.iso885915" LC_ALL=en_GB.iso885915 nelson:~ # locale LANG=POSIX LC_CTYPE=en_GB.UTF-8 LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= Created attachment 48166 [details]
environment of jsmeix@nelson (i.e. output of "set")
Created attachment 48167 [details]
environment of root@nelson (i.e. output of "set")
the locale en_GB.iso885915 does not exist, please use
en_GB.ISO-8859-15
~$ hostname nelson ~$ cat /usr/share/doc/packages/ghostscript/examples/colorcir.ps | \ gs -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=bmp16 -sOutputFile='| cat >&3' \ /dev/fd/0 3>&1 1>&2 | file - /dev/stdin: PC bitmap data, Windows 3.x format, 595 x 842 x 4 ??? /suse/werner> su Password: nelson:/suse/werner # cat /usr/share/doc/packages/ghostscript/examples/colorcir.ps | \ gs -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=bmp16 -sOutputFile='| cat >&3' \ /dev/fd/0 3>&1 1>&2 | file - /dev/stdin: PC bitmap data, Windows 3.x format, 595 x 842 x 4 nelson:/suse/werner # What does your script do? Werner, you must use the bmpa* devices not the bmp* devices, for example bmpa16 not bmp16, see the initial comment. Regarding comment #9: jsmeix@nelson:~> locale -a | grep en_GB en_GB en_GB.iso885915 en_GB.utf8 For me it looks as if en_GB.iso885915 exists but not en_GB.ISO-8859-15. Anyway: Using 100% POSIX fails as well: ---------------------------------------------------------------------------- jsmeix@nelson:~> export LC_ALL=POSIX jsmeix@nelson:~> export LANG=POSIX jsmeix@nelson:~> locale LANG=POSIX LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL=POSIX jsmeix@nelson:~> cat /usr/share/doc/packages/ghostscript/examples/colorcir.ps | gs -dBATCH -dSAFER -dQUIET -dNOPAUSE -sDEVICE=bmpa16 -sOutputFile='| cat >&3' /dev/fd/0 3>&1 1>&2 | file - ESP Ghostscript 8.15.0: ./src/gsmalloc.c(337): gs_copydevice(stype): free 0x89e6800 not found! *** glibc detected *** double free or corruption (fasttop): 0x089e67e8 *** /dev/stdin: writable, no read permission ---------------------------------------------------------------------------- Fixed double corruption and removed useless example driver bmpa* |