discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TextEdit : critical error prevents loading


From: Yavor Doganov
Subject: Re: TextEdit : critical error prevents loading
Date: Tue, 10 Jul 2018 12:01:48 +0300
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Gojō) APEL/10.8 EasyPG/1.0.0 Emacs/25.2 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

Patrick CARDONA wrote:
> Sorry, I can't get now the answer : I may do something wrong...

Yes, you do:

> > (gdb) break -[NSException raise]
> > Function "-[NSException raise]" not defined.
> > Make breakpoint pending on future shared library load? (y or [n]) y
> > Breakpoint 1 (-[NSException raise]) pending.

Here, type "r" and when it stops, instead of typing "bt" as I asked
initially, continue with these commands:

> > (gdb) fr 7
> > (gdb) po ppdPath

But nevermind, I was able to reproduce with the .ppd file you sent.
It is valid according to cupstestppd so I believe the problem is in
the parser, namely -addPPDKeyword:withScanner:withPPDPath:.  It
assumes the value is either quoted or unquoted string, which is not
always the case.  I'm not sure the attached patch is correct but I
would appreciate if you test it.

Do you need instructions how to apply the patch and rebuild the
gnustep-gui package?

Attachment: test.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]