Xfree86's "smart" scheduler seems to break Xprt. If the "smart scheduler" is
active the print jobs are incomplete, usually huge chunks in PostScript jobs are
missing (other symptoms of the problems are random crashes).
Compile with |#define UseSmartScheduler NO| or run Xprt with -dumbSched
Does anyone have a clue what may go wrong here ?
For the log:
I checked-in a workaround for the bug with bug 491 ("RFE: Need workaround for
bug 467 ("Xfree86's smart scheduler breaks Xprt").
During writing the workaround I found an intersting detail:
First I tried to set |SmartScheduleDisable = TRUE| in |PrinterInitOutput()| -
but that had no effect on the problem. The variable still remained |TRUE|, e.g.
the value was never changed but the problem still occured.
Initalising |SmartScheduleDisable = TRUE| like I did for the current workaround
in bug 491 seems to work - and running Xprt with the |-dumbSched| works, too.
Looking at dix/main.c something between |ProcessCommandLine()| and
|PrinterInitOutput()| is causing the problem.
Maybe the signal handling for the smart scheduler interfers with the detail that
the Xprint DDXs create child processes...
BTW: Who wrote the XF86 "smart scheduler" initially ?
Keith Packard wrote it - see http://keithp.com/~keithp/talks/usenix2000/smart.html
Closing WONTFIX because nobody cares about Xprint. Reopen if you plan to address this bug.