[MacPorts] #65630: GraphicsMagick: disable SIGSEGV handler in library; add debug variant (was: GraphicsMagick: add debug variant)

MacPorts noreply at macports.org
Wed Aug 10 22:51:01 UTC 2022


#65630: GraphicsMagick: disable SIGSEGV handler in library; add debug variant
-----------------------------+------------------------
  Reporter:  mascguy         |      Owner:  ryandesign
      Type:  enhancement     |     Status:  reopened
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.7.2
Resolution:                  |   Keywords:  debug
      Port:  GraphicsMagick  |
-----------------------------+------------------------
Changes (by mascguy):

 * status:  closed => reopened
 * resolution:  wontfix =>


Old description:

> Presently, we're trying to diagnose a crash occurring for `darktable`,
> which appears to be originating from within this port:
>
> issue:64252
>
> Add support for `+debug`, to help with such cases.

New description:

 Presently, we're trying to diagnose a crash occurring for `darktable`,
 which appears to be originating from within this port:

 issue:64252

 There are two barriers, though:
 * The GraphicsMagick library installs a SIGSEGV handler, preventing the
 app from catching/handling the condition;
 * No `+debug` variant, which would assist with diagnostics.

 Relative to the signal handler, we should consider patching the code to
 disable that, for the library. Along with engaging with upstream, for a
 longer-term fix.

 As for the debug variant, that should be reasonably straightforward, and
 would be beneficial.

--

Comment:

 Let's expand the scope of this ticket to include the lib signal handler,
 per @jmroot in comment:3

-- 
Ticket URL: <https://trac.macports.org/ticket/65630#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list