Re: [dev] [st] Exit upon attempting to render glyph

From: Alex Pilon <alp_AT_alexpilon.ca>
Date: Wed, 9 Aug 2017 12:24:54 -0400

On Wed, Aug 09, 2017 at 08:36:49AM -0700, David B. Lamkins wrote:
> Upon attempting to render Unicode 1f596, st exits.

I have the same problem, but with a different input, that I haven't
identified yet. However...

> See attached strace excerpt.

I'd recommend getting the Xlib stderr by running st from another
st, so that we can read the message that's obviously being printed out
below, and anything else of use, if any.

> write(2, "X Error of failed request: BadL"..., 95) = 95
> write(2, "Major opcode of failed request: "..., 36) = 36
> write(2, " (RENDER)\n", 10) = 10
> write(2, " ", 2) = 2
> write(2, "Minor opcode of failed request: "..., 35) = 35
> write(2, " (RenderAddGlyphs)", 18) = 18
> write(2, "\n", 1) = 1
> write(2, " ", 2) = 2
> write(2, "Serial number of failed request:"..., 38) = 38
> write(2, "\n ", 3) = 3
> write(2, "Current serial number in output "..., 45) = 45
> write(2, "\n", 1) = 1

I'd also suggest compiling with -g, and getting a backtrace with
gdb. Something like this roughly:

    $ gdb ./st
    (gdb) start
    (gdb) continue
    [trigger the crash]
    (gdb) bt
    [copy-paste the backtrace below]

Regards,

Alex Pilon

Received on Wed Aug 09 2017 - 18:24:54 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 09 2017 - 18:36:37 CEST