[gs-bugs] [Bug 691917] Regression: Display Postscript context switching fails
bugzilla-daemon at ghostscript.com
bugzilla-daemon at ghostscript.com
Mon Feb 14 19:57:13 UTC 2011
http://bugs.ghostscript.com/show_bug.cgi?id=691917
--- Comment #4 from Herbert Swan <hhwswn at gmail.com> 2011-02-14 19:57:00 UTC ---
Created an attachment (id=7244)
--> (http://bugs.ghostscript.com/attachment.cgi?id=7244)
Additional context-switch test program
Thank you for the interest you have taken in this problem so far.
I am attaching an additional test case which may make your analysis of this bug
a little easier. When run with version 7.07, this test case dispenses with the
input from stdio and simply paints the string
This is a complete sentence.
onto the display device, and prints the string
abA3124cdeab5B3124cdeab5C3124cdeab5D3124cdf5EFG
to the stdout device. This string shows how control is exchanged between the
child context (lower case letters) and the parent (upper case letters and
numerals). As I mentioned before, this test file works as expected with
version 7.07 but does a SIGSEGV with version 9.00. When run with the arguments
run -dNOOUTERSAVE -dNOPAUSE sentence.ps
under gdb in Linux, I get the following stack status:
(gdb) info stack
#0 0x0000000100000000 in ?? ()
#1 0x0000002a957187e3 in interp (pi_ctx_p=0x502368, pref=0x7fbfffe990,
perror_object=0x7fbfffea60) at ./psi/interp.c:1682
#2 0x0000002a95714cb4 in gs_call_interp (pi_ctx_p=0x502368, pref=0x7fbfffe990,
user_errors=1, pexit_code=0x7fbfffea78, perror_object=0x7fbfffea60) at
./psi/interp.c:484
#3 0x0000002a95714b06 in gs_interpret (pi_ctx_p=0x502368, pref=0x7fbfffe990,
user_errors=1, pexit_code=0x7fbfffea78, perror_object=0x7fbfffea60) at
./psi/interp.c:442
#4 0x0000002a95708925 in gs_main_interpret (minst=0x5022c0, pref=0x7fbfffe990,
user_errors=1, pexit_code=0x7fbfffea78, perror_object=0x7fbfffea60) at
./psi/imain.c:240
#5 0x0000002a9570944d in gs_main_run_string_end (minst=0x5022c0,
user_errors=1, pexit_code=0x7fbfffea78, perror_object=0x7fbfffea60) at
./psi/imain.c:556
#6 0x0000002a9570930f in gs_main_run_string_with_length (minst=0x5022c0,
str=0x6bc970 "<6578616d706c65732f73656e74656e63652e7073>.runfile", length=50,
user_errors=1, pexit_code=0x7fbfffea78, perror_object=0x7fbfffea60) at
./psi/imain.c:514
#7 0x0000002a9570927c in gs_main_run_string (minst=0x5022c0, str=0x6bc970
"<6578616d706c65732f73656e74656e63652e7073>.runfile", user_errors=1,
pexit_code=0x7fbfffea78, perror_object=0x7fbfffea60) at ./psi/imain.c:496
#8 0x0000002a9570c040 in run_string (minst=0x5022c0, str=0x6bc970
"<6578616d706c65732f73656e74656e63652e7073>.runfile", options=3) at
./psi/imainarg.c:814
#9 0x0000002a9570bfe3 in runarg (minst=0x5022c0, pre=0x2a95c501fb "",
arg=0x548e70 "examples/sentence.ps", post=0x2a95c502fd ".runfile", options=3)
at ./psi/imainarg.c:805
#10 0x0000002a9570bd0f in argproc (minst=0x5022c0, arg=0x7fbffff9b1
"examples/sentence.ps") at ./psi/imainarg.c:738
#11 0x0000002a9570a81c in gs_main_init_with_args (minst=0x5022c0, argc=4,
argv=0x7fbffff698) at ./psi/imainarg.c:215
#12 0x0000002a9570db87 in gsapi_init_with_args (lib=0x5021c0, argc=4,
argv=0x7fbffff698) at ./psi/iapi.c:173
#13 0x0000000000400b01 in main (argc=4, argv=0x7fbffff698) at
./psi/dxmainc.c:84
Thank you again for any further efforts you may choose to devote to this
problem. Happy hunting!
--
Configure bugmail: http://bugs.ghostscript.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the gs-bugs
mailing list