On Wednesday, 7. November 2001 15:08, you wrote:
> On Mon, 24 Sep 2001 07:25:08 -0700 john wrote:
> > well as someone said that doesn't work for everyone.
> >
> > If I could reproduce the problem I could debug it :(
> >
> > john
>
> Sorry if this is a bit outdated, but this bug still seems to exist.
>
> In figinset.C there seems to be a problem with execlp if one uses
> ghostscript 6.51 +
>
> The gs process starts but never exits. Why I don't know. One can go
> into /proc and see the commandline arguments, but this doesn't explain
> where it hangs. If you're curious I could try to strace gs. But for now
> I'll just report the workaround.
>
Confirmed. On my system the backtrace of gs looks like:
...
(gdb) symbol-file /usr/bin/gs_x11
Reading symbols from /usr/bin/gs_x11...(no debugging symbols found)...done.
(gdb) attach 6343
Attaching to process 6343
0x4035a47e in ?? ()
(gdb) bt
#0  0x4035a47e in ?? ()
#1  0x400e61da in ?? ()
#2  0x400e5fa6 in ?? ()
#3  0x400d8482 in ?? ()
#4  0x080fb8d3 in gdev_x_send_event ()
#5  0x081bc43a in gs_output_page ()
#6  0x080d240b in zflushpage ()
#7  0x080b962d in gs_errorinfo_put_string ()
#8  0x080b7aa1 in gs_interpret ()
#9  0x080b7990 in gs_interpret ()
#10 0x080b183a in gs_main_run_string_end ()
#11 0x080b1730 in gs_main_run_string_with_length ()
#12 0x080b16d1 in gs_main_run_string ()
#13 0x080b33d5 in gs_main_run_start ()
#14 0x080b3354 in gs_main_run_start ()
#15 0x080b3128 in gs_main_run_start ()
#16 0x080b2270 in gs_main_init_with_args ()
#17 0x0806ead1 in main ()
#18 0x402a57ee in ?? ()

> If using ghostscript 5.50 it always works fine.

Here too, but other programs like kghostview not working anymore.

> On my system lyx 1.1.6-fix3 works with Ghostscript 6.51 when setting
> \ps_command to "/usr/bin/gs "
> in lyxrc.defaults or equivalent

No help here with this configuration.

> It's the first argument to execlp which must end with a space (works
> also when setting the first string to " ")

Playing with execlp() didn't help me.
Seem to be the standard for SuSE 7.3 update, at least all of my colleagues 
have the same effect.

        Kornel
-- 
Kornel Benko
[EMAIL PROTECTED]

Reply via email to