From: Fernan Bolando <fernanbolando@mailc.net>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: [9fans] troff pic bug report -> acid debug -> no fix yet
Date: Tue, 8 Mar 2011 09:49:51 +0800 [thread overview]
Message-ID: <AANLkTikrvnF5Q7FD_UjeGxywODNvyuuh5=3JWnNJ2EQn@mail.gmail.com> (raw)
Hi all
Here is a bug report for troffs pic preprocessor.
It crashes when the commands is in a square bracket and you loose
track of the labels
-----------> test file contents
pseudo@helios; cat test.p
.PS
define missing { [
O: box invis wid 2.5 ht 1;
circle diam 0.1 with .e at P1;
] }
missing with .c at 0,0
.PE
-------> crash report and acid
pseudo@helios; cat test.p | pic
.lf 1 -
pic: no such place as P1 near -:8
context is
circle diam 0.1 with .e at >>> P1; <<< with .c at 0,0
pic 44699: suicide: sys: trap: fault read addr=0x10 pc=0x89b9
pseudo@helios; acid 44699
/proc/44699/text:386 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/386
acid: src(0x89b9)
/sys/src/cmd/pic/circgen.c:49
44 case WITH:
45 with = ap->a_val.i;
46 break;
47 case AT:
48 ppos = ap->a_val.o;
>49 curx = ppos->o_x;
50 cury = ppos->o_y;
51 at++;
52 break;
53 case INVIS:
54 battr |= INVIS;
acid:
next reply other threads:[~2011-03-08 1:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-08 1:49 Fernan Bolando [this message]
2011-03-08 14:55 ` erik quanstrom
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='AANLkTikrvnF5Q7FD_UjeGxywODNvyuuh5=3JWnNJ2EQn@mail.gmail.com' \
--to=fernanbolando@mailc.net \
--cc=9fans@9fans.net \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).