9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] suicide of the new /bin/gs
@ 2007-03-07 16:50 Heiko Dudzus
  2007-03-09  2:58 ` Joel C. Salomon
  0 siblings, 1 reply; 7+ messages in thread
From: Heiko Dudzus @ 2007-03-07 16:50 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 626 bytes --]

Some days ago there was a new ghostscript binary on sources.  I'm
having trouble with it:

| term% lp -dstdout goedel.dvi > goedel.ps
| term% lp goedel.dvi
| gs 3244: suicide: sys: fp: invalid operation fppc=0xd52cd status=0xb8a1 pc=0x000d4fc8
| cat: can't open /tmp/gsp3237: '/tmp/gsp3237' file does not exist
| term% yesterday -b -20070304 /386/bin/gs
| bind /n/dump/2007/0304/386/bin/gs /386/bin/gs
| term% lp goedel.dvi
| term% 

Printing to stdout works, printing to paper doesn't.  Using ps2pdf
also ends up in a gs suicide.

I attached a listing of stk(). I can send a snap(4) file on request.

Heiko

[-- Attachment #2: gs.stk --]
[-- Type: text/plain, Size: 1584 bytes --]

term% acid 3244
/proc/3244/text:386 plan 9 executable

/sys/lib/acid/port
/sys/lib/acid/386
acid: stk()
gs_screen_currentpoint(penum=0xdfffdbb4,ppt=0xdfffdb78)+0x7f /sys/src/cmd/gs/src/gshtscr.c:561
gx_ht_process_screen_memory(penum=0xdfffdbb4,pgs=0x300b78,phsp=0x64f268,accurate=0x0,mem=0x2ecd64)+0x4c /sys/src/cmd/gs/src/gsht.c:263
gs_sethalftone_prepare(pht=0x64f21c,pgs=0x300b78,pdht=0x64f288)+0x252 /sys/src/cmd/gs/src/gsht1.c:201
zsetcolorscreen(i_ctx_p=0x318c34)+0x1c8 /sys/src/cmd/gs/src/zht1.c:78
interp(pi_ctx_p=0x2ea80c,pref=0xdfffe0d8,perror_object=0xdfffe340)+0x898 /sys/src/cmd/gs/src/interp.c:1512
gs_call_interp(pref=0xdfffe31c,pi_ctx_p=0x2ea80c,pexit_code=0xdfffe348,perror_object=0xdfffe340,user_errors=0x1)+0x105 /sys/src/cmd/gs/src/interp.c:488
gs_interpret(pi_ctx_p=0x2ea80c,perror_object=0xdfffe340,pref=0xdfffe31c,user_errors=0x1,pexit_code=0xdfffe348)+0x59 /sys/src/cmd/gs/src/interp.c:446
gs_main_interpret(minst=0x2ea638,pref=0xdfffe31c,user_errors=0x1,pexit_code=0xdfffe348,perror_object=0xdfffe340)+0x45 /sys/src/cmd/gs/src/imain.c:214
gs_run_init_file(minst=0x2ea638,pexit_code=0xdfffe348,perror_object=0xdfffe340)+0x12d /sys/src/cmd/gs/src/imain.c:542
gs_main_init2(minst=0x2ea638)+0xf1 /sys/src/cmd/gs/src/imain.c:352
swproc(pal=0xdfffe65c,arg=0xdfffefc8,minst=0x2ea638)+0x2e8 /sys/src/cmd/gs/src/imainarg.c:270
gs_main_init_with_args(argv=0xdfffef54,argc=0x8,minst=0x2ea638)+0x292 /sys/src/cmd/gs/src/imainarg.c:207
main(argc=0x8,argv=0xdfffef54)+0x3b /sys/src/cmd/gs/src/gs.c:47
_main+0x26 /sys/src/ape/lib/ap/386/main9.s:12
acid: 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [9fans] suicide of the new /bin/gs
@ 2007-03-14 13:52 Heiko Dudzus
  2007-03-14 13:57 ` erik quanstrom
  0 siblings, 1 reply; 7+ messages in thread
From: Heiko Dudzus @ 2007-03-14 13:52 UTC (permalink / raw)
  To: 9fans

lucio@proxima.alt.za wrote:
> Hm, I submitted that patch after Andrey suggested it and I thought it
> had worked successfully for what it was intended (see previous mail
> about APE failures).  Perhaps it ought to have been tested more
> carefully and perhaps it was more pervasive than I thought.  It may be
> advisable to revert it.

Sorry, it seems like /sys/src/ape/lib/ap/plan9/kill.c is not the
problem.  I reverted it, then recompiled libap, then recompiled gs and
it still suicides.

At the moment I have no clue why gs got broken.  (Correct me if it
isn't considered broken).

Heiko



^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: [9fans] suicide of the new /bin/gs
@ 2007-03-14 14:49 Heiko Dudzus
  0 siblings, 0 replies; 7+ messages in thread
From: Heiko Dudzus @ 2007-03-14 14:49 UTC (permalink / raw)
  To: 9fans

erik quanstrom wrote:
> is this problem with the same gs and new ape or
> a problem with new gs and new ape, i.e. two variables?

The former, I guessed, because I'm not aware of a changed gs source.
(Found nothing in replica log for (at least) a year)

Heiko



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-03-14 14:49 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-07 16:50 [9fans] suicide of the new /bin/gs Heiko Dudzus
2007-03-09  2:58 ` Joel C. Salomon
2007-03-09 11:22   ` Heiko Dudzus
2007-03-09 17:23     ` lucio
2007-03-14 13:52 Heiko Dudzus
2007-03-14 13:57 ` erik quanstrom
2007-03-14 14:49 Heiko Dudzus

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).