Your message dated Sun, 07 Jan 2024 22:40:17 -0600 with message-id <6515466.K2JlShyGXD@riemann> and subject line Re: ghostscript: Segmentation fault when printing in color mode has caused the Debian Bug report #824207, regarding ghostscript: Segmentation fault when printing in color mode to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 824207: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=824207 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: ghostscript: Segmentation fault when printing in color mode
- From: Andreas Messer <andi@bastelmap.de>
- Date: Fri, 13 May 2016 20:19:11 +0200
- Message-id: <20160513181911.2261.74837.reportbug@proton>
Package: ghostscript Version: 9.06~dfsg-2+deb8u1 Severity: normal Dear Maintainer, when trying to make a print using colors from any application (gimp, inkscape...) no printing happens. Ghostscript segfaults due to mutex issue in glibc. The problem is related to an already fixed bug in ghostscript's recursive mutex handling: http://bugs.ghostscript.com/show_bug.cgi?id=695862 The problem only occurs on Intel Skylake based machines supporting TSX memory like XEON cpus. (Supporting hardware accelerated mutexes) These mutexes are sensitive to wrong usage, e.g. double unlocking which actually happens in ghostscript due to the buggy implementation Here is a backtrace: Core was generated by `/usr/bin/gs -dQUIET -dPARANOIDSAFER -dNOPAUSE -dBATCH -dNOINTERPOLATE -sDEVICE='. Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00007fc4823de140 in __lll_unlock_elision () from /lib/x86_64-linux-gnu/libpthread.so.0 (gdb) bt #0 0x00007fc4823de140 in __lll_unlock_elision () from /lib/x86_64-linux-gnu/libpthread.so.0 #1 0x00007fc48506c409 in gp_monitor_leave (mona=0x1fbece8) at ./base/gp_psync.c:197 #2 0x00007fc48502571a in gsicc_get_link_profile (pis=<optimized out>, dev=<optimized out>, gs_input_profile=0x1fe2600, gs_output_profile=0x1fe2600, rendering_params=0x7ffe6ab60850, memory=<optimized out>, devicegraytok=1) at ./base/gsicc_cache.c:797 #3 0x00007fc485025b8b in gsicc_get_link (pis=0x1e485d8, dev_in=0x20e1c58, pcs_in=0x1fbece8, pcs_in@entry=0x20f3860, output_colorspace=0x1, rendering_params=0x7ffe6ab60850, memory=0x0) at ./base/gsicc_cache.c:537 #4 0x00007fc485020cf9 in gx_remap_ICC (pcc=0x20f2f30, pcs=0x20f3860, pdc=0x20f32e8, pis=0x1e485d8, dev=0x20e1c58, select=gs_color_select_texture) at ./base/gsicc.c:353 #5 0x00007fc4851a1d4c in gx_remap_color (pgs=0x1e485d8) at ./base/gxcmap.c:558 #6 0x00007fc48518efb8 in do_stroke (pgs=0x1e485d8) at ./base/gspaint.c:402 #7 gs_stroke (pgs=0x1e485d8) at ./base/gspaint.c:495 #8 0x00007fc484f89b0a in interp (pi_ctx_p=0x1e4d518, pref=0x1e64730, perror_object=0x1fbece8, perror_object@entry=0x7ffe6ab61420) at ./psi/interp.c:1287 #9 0x00007fc484f8a84b in gs_call_interp (perror_object=0x7ffe6ab61420, pexit_code=0x7ffe6ab6141c, user_errors=1, pref=0x7ffe6ab612a0, pi_ctx_p=<optimized out>) at ./psi/interp.c:501 #10 gs_interpret (pi_ctx_p=<optimized out>, pref=pref@entry=0x7ffe6ab613e0, user_errors=1, pexit_code=0x7ffe6ab6141c, perror_object=0x7ffe6ab61420) at ./psi/interp.c:459 #11 0x00007fc484f7fcf8 in gs_main_interpret (perror_object=<optimized out>, pexit_code=<optimized out>, user_errors=<optimized out>, pref=0x7ffe6ab613e0, minst=<optimized out>) at ./psi/imain.c:241 #12 gs_main_run_string_end (minst=<optimized out>, user_errors=<optimized out>, pexit_code=<optimized out>, perror_object=<optimized out>) at ./psi/imain.c:607 #13 0x00007fc484f81169 in run_string (minst=minst@entry=0x1e21770, str=str@entry=0x7fc4852036a0 ".runstdin", options=options@entry=2) at ./psi/imainarg.c:834 #14 0x00007fc484f8181e in swproc (minst=minst@entry=0x1e21770, arg=0x7ffe6ab62c80 "", arg@entry=0x7ffe6ab62c7e "-_", pal=pal@entry=0x7ffe6ab61be0) at ./psi/imainarg.c:293 #15 0x00007fc484f82770 in gs_main_init_with_args (minst=0x1e21770, argc=argc@entry=22, argv=argv@entry=0x7ffe6ab62708) at ./psi/imainarg.c:211 #16 0x00007fc484f8363b in gsapi_init_with_args (lib=<optimized out>, argc=argc@entry=22, argv=argv@entry=0x7ffe6ab62708) at ./psi/iapi.c:174 #17 0x0000000000400a0f in main (argc=22, argv=0x7ffe6ab62708) at ./psi/dxmainc.c:86 Updating to ghostscript package from stretch fixes the issue for me. -- System Information: Debian Release: 8.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.3.3-proton (SMP w/8 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages ghostscript depends on: ii debconf [debconf-2.0] 1.5.56 ii gsfonts 1:8.11+urwcyr1.0.7~pre44-4.2 ii libc6 2.21-9 ii libgs9 9.06~dfsg-2+deb8u1 ghostscript recommends no packages. Versions of packages ghostscript suggests: ii ghostscript-x 9.06~dfsg-2+deb8u1 -- no debconf information
--- End Message ---
--- Begin Message ---
- To: 824207-done@bugs.debian.org
- Subject: Re: ghostscript: Segmentation fault when printing in color mode
- From: Steven Robbins <steve@sumost.ca>
- Date: Sun, 07 Jan 2024 22:40:17 -0600
- Message-id: <6515466.K2JlShyGXD@riemann>
- In-reply-to: <20160513181911.2261.74837.reportbug@proton>
On Fri, 13 May 2016 20:19:11 +0200 Andreas Messer <andi@bastelmap.de> wrote: > Package: ghostscript > Version: 9.06~dfsg-2+deb8u1 > Severity: normal > > Dear Maintainer, > > when trying to make a print using colors from any application (gimp, inkscape...) > no printing happens. Ghostscript segfaults due to mutex issue in glibc. The > problem is related to an already fixed bug in ghostscript's recursive mutex > handling: > > http://bugs.ghostscript.com/show_bug.cgi?id=695862 Thanks! The upstream bug notes indicate it was released with ghostscript 9.16. Debian shipped version 10.0.0 in the last stable release, so I'll close this bug.Attachment: signature.asc
Description: This is a digitally signed message part.
--- End Message ---