tech@mandoc.bsd.lv
 help / color / mirror / Atom feed
From: "Anthony J. Bentley" <anthony@anjbe.name>
To: tech@mandoc.bsd.lv
Subject: Crash with empty table cell
Date: Tue, 12 Feb 2019 23:01:14 -0700	[thread overview]
Message-ID: <77084.1550037674@desktop.ajb.soy> (raw)

Hi,

This simplified example from syncthing-bep(7) causes a crash:

.TS
center;
|l|l|.
_
T{
A
T}	T{
B
T}
_
T{
D
T}	T{
T}
_
.TE

Program received signal SIGSEGV, Segmentation fault.
strcmp () at /usr/src/lib/libc/arch/amd64/string/strcmp.S:59
59              movb    (%rdi),%al
(gdb) bt
#0  strcmp () at /usr/src/lib/libc/arch/amd64/string/strcmp.S:59
#1  0x00000e4f8ac99b7f in tbl_hrule (tp=0xe524e0aae00, spp=0xe51b8c5cd80, 
    spn=0xe524a503080, flags=0) at tbl_term.c:671
#2  0x00000e4f8ac98e8c in term_tbl (tp=0xe524e0aae00, sp=<optimized out>)
    at tbl_term.c:343
#3  0x00000e4f8ac959c1 in print_man_nodelist (n=0xe519e437000, 
    p=<optimized out>, mt=<optimized out>, meta=<optimized out>)
    at man_term.c:989
#4  terminal_man (arg=0xe524e0aae00, man=0xe521a68a600) at man_term.c:182
#5  0x00000e4f8ac88f61 in parse (curp=<optimized out>, fd=<optimized out>, 
    file=<optimized out>) at main.c:855
#6  0x00000e4f8ac882c2 in main (argc=0, argv=0x7f7ffffda3b0) at main.c:471

-- 
Anthony J. Bentley
--
 To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv

             reply	other threads:[~2019-02-13  6:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-13  6:01 Anthony J. Bentley [this message]
2019-03-18  8:03 ` Ingo Schwarze

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=77084.1550037674@desktop.ajb.soy \
    --to=anthony@anjbe.name \
    --cc=tech@mandoc.bsd.lv \
    --subject='Re: Crash with empty table cell' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).