[GHC] #9517: hp2ps generates invalid postscript file

GHC ghc-devs at haskell.org
Wed Aug 27 15:50:29 UTC 2014


#9517: hp2ps generates invalid postscript file
-----------------------------+----------------------------------
       Reporter:  JamesM     |                   Owner:
           Type:  bug        |                  Status:  new
       Priority:  normal     |               Milestone:
      Component:  Profiling  |                 Version:  7.8.3
       Keywords:             |        Operating System:  MacOS X
   Architecture:  x86        |         Type of failure:  Other
     Difficulty:  Unknown    |               Test Case:
     Blocked By:             |                Blocking:
Related Tickets:             |  Differential Revisions:
-----------------------------+----------------------------------
 Some of the outputs have a name such as foo(...). However, the postscript
 generation does not add an extra closing parenthesis after the foo(...).
 Example from attachment on line 410.

 ((447)modifyEdge.newEdges.(...) show

 This should presumably be:

 ((447)modifyEdge.newEdges.\(...\)) show

 Output from ps2pdf:
 Error: /syntaxerror in -file-
 Operand stack:

 Execution stack:
    %interp_exit   .runexec2   --nostringval--   --nostringval--
 --nostringval--   2   %stopped_push   --nostringval--   --nostringval--
 --nostringval--   false   1   %stopped_push   1900   1   3   %oparray_pop
 1899   1   3   %oparray_pop   1883   1   3   %oparray_pop   1771   1   3
 %oparray_pop   --nostringval--   %errorexec_pop   .runexec2
 --nostringval--   --nostringval--   --nostringval--   2   %stopped_push
 Dictionary stack:
    --dict:1163/1684(ro)(G)--   --dict:0/20(G)--   --dict:79/200(L)--
 Current allocation mode is local
 Last OS error: No such file or directory
 Current file position is 40721
 GPL Ghostscript 9.07: Unrecoverable error, exit code 1

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9517>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list