Lisp HUG Maillist Archive

Failed to start OSX LW7 after upgrading to EI Capitan

Hello,

I am having the problem to start up LW7 after upgrading to EI Capitan, and crashed with the following stacktrace. I tried to re-install the software but it didn’t help. It would be appreciated for any pointers how to fix this.

Thanks,

Yoshi

HOST CONFIGURATION:

  minisoba.local (x86 486), Darwin 15.0.0

LWSerialNumber:

Site: Unknown

Backtrace:
#<The COMMON-LISP-USER package, 50/64 internal, 0/4 external>
#<MP:PROCESS Name "Cocoa Event Loop" Priority 70000000 State "Running">

Condition: Protocol "NSGlyphStorage" is not defined by the system and 64-bit Objective-C does not support dynamic definition of protocols.

Call to ERROR {offset 123}
  SYSTEM::ESTRING : "Protocol ~S is not defined by the system and 64-bit Objective-C does not support dynamic definition of protocols."
  SYSTEM::EARGS   : ("NSGlyphStorage")

Call to OBJC::MAKE-PROTOCOL-FOR-NAME {offset 176}
  OBJC::NAME                   : "NSGlyphStorage"
  OBJC::INCORPORATED-PROTOCOLS : NIL
  OBJC::INSTANCE-METHODS       : (("layoutOptions" COCOA:NS-UINTEGER) ("attributedString" OBJC:OBJC-OBJECT-POINTER) ("setIntAttribute:value:forGlyphAtIndex:" :VOID COCOA:NS-INTEGER COCOA:NS-INTEGER COCOA:NS-UINTEGER) ("insertGlyphs:length:forStartingGlyphAtIndex:characterIndex:" :VOID (:CONST (:POINTER COCOA:NS-GLYPH)) COCOA:NS-UINTEGER COCOA:NS-UINTEGER COCOA:NS-UINTEGER))
  OBJC::CLASS-METHODS          : NIL
  OBJC::VERSION-SPEC           : COCOA::APP-KIT-LOADED-P

Call to OBJC::INIT-PROTOCOL {offset 274}
  OBJC::NAME : "NSGlyphStorage"

UNWIND-PROTECT frame

Call to MAPHASH {offset 525}
  FUNCTION   : #<Function 1 subfunction of OBJC::INIT-ALL-PROTOCOLS 41009BC404>
  HASH-TABLE : #<EQUAL Hash Table{23} 40E01A91EB>

Call to OBJC::INIT-ALL-PROTOCOLS {offset 60}

Call to OBJC::INIT-ALL-OBJC-CLASSES {offset 83}

Call to OBJC:ENSURE-OBJC-INITIALIZED {offset 284}
  DBG::|rest-|  : (:MODULES ("/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation" "/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa" :DARWIN-LW-OBJC))
  OBJC::MODULES : ("/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation" "/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa" :DARWIN-LW-OBJC)

Call to CAPI-COCOA-LIBRARY::ENSURE-COCOA-INITIALIZED {offset 116}

Call to CAPI-COCOA-LIBRARY::RUN-COCOA-EVENT-LOOP {offset 42}
  CAPI-COCOA-LIBRARY::EARLY-INITIALIZER : #<Closure CAPI-COCOA-LIBRARY::EARLY-INITIALIZER subfunction of (METHOD CAPI-LIBRARY:START-ENVIRONMENT-USING-LOOK-AND-FEEL ((EQL :COCOA) T)) 4060001E3C>
  CAPI-COCOA-LIBRARY::INITIALIZER       : #<Closure CAPI-COCOA-LIBRARY::INITIALIZER subfunction of (METHOD CAPI-LIBRARY:START-ENVIRONMENT-USING-LOOK-AND-FEEL ((EQL :COCOA) T)) 4060001E14>



_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: Failed to start OSX LW7 after upgrading to EI Capitan

Yoshiharu Iguchi <minisoba@gmail.com> writes:

> Hello,
>
> I am having the problem to start up LW7 after upgrading to EI Capitan,
> and crashed with the following stacktrace. I tried to re-install the
> software but it didn’t help. It would be appreciated for any pointers
> how to fix this.

Hi,

The LispWorks guys told me to put the following into my init file until
they provide an official patch for this:

#+cocoa(remhash "NSGlyphStorage" objc::*interned-protocols*)

--
  regards,
    Espen Vestre
    Netfonds Bank AS

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: Failed to start OSX LW7 after upgrading to EI Capitan

It is a known problem -- I will send you a patch.

-- 
Martin Simmons
LispWorks Ltd
http://www.lispworks.com/

>>>>> On Fri, 27 Nov 2015 18:32:05 +0800, Yoshiharu Iguchi said:
> 
> Hello,
> 
> I am having the problem to start up LW7 after upgrading to EI Capitan, and crashed with the following stacktrace. I tried to re-install the software but it didn’t help. It would be appreciated for any pointers how to fix this.
> 
> Thanks,
> 
> Yoshi
> 
> HOST CONFIGURATION:
> 
>   minisoba.local (x86 486), Darwin 15.0.0
> 
> LWSerialNumber:
> 
> Site: Unknown
> 
> Backtrace:
> #<The COMMON-LISP-USER package, 50/64 internal, 0/4 external>
> #<MP:PROCESS Name "Cocoa Event Loop" Priority 70000000 State "Running">
> 
> Condition: Protocol "NSGlyphStorage" is not defined by the system and 64-bit Objective-C does not support dynamic definition of protocols.
> 
> Call to ERROR {offset 123}
>   SYSTEM::ESTRING : "Protocol ~S is not defined by the system and 64-bit Objective-C does not support dynamic definition of protocols."
>   SYSTEM::EARGS   : ("NSGlyphStorage")
> 
> Call to OBJC::MAKE-PROTOCOL-FOR-NAME {offset 176}
>   OBJC::NAME                   : "NSGlyphStorage"
>   OBJC::INCORPORATED-PROTOCOLS : NIL
>   OBJC::INSTANCE-METHODS       : (("layoutOptions" COCOA:NS-UINTEGER) ("attributedString" OBJC:OBJC-OBJECT-POINTER) ("setIntAttribute:value:forGlyphAtIndex:" :VOID COCOA:NS-INTEGER COCOA:NS-INTEGER COCOA:NS-UINTEGER) ("insertGlyphs:length:forStartingGlyphAtIndex:characterIndex:" :VOID (:CONST (:POINTER COCOA:NS-GLYPH)) COCOA:NS-UINTEGER COCOA:NS-UINTEGER COCOA:NS-UINTEGER))
>   OBJC::CLASS-METHODS          : NIL
>   OBJC::VERSION-SPEC           : COCOA::APP-KIT-LOADED-P
> 
> Call to OBJC::INIT-PROTOCOL {offset 274}
>   OBJC::NAME : "NSGlyphStorage"
> 
> UNWIND-PROTECT frame
> 
> Call to MAPHASH {offset 525}
>   FUNCTION   : #<Function 1 subfunction of OBJC::INIT-ALL-PROTOCOLS 41009BC404>
>   HASH-TABLE : #<EQUAL Hash Table{23} 40E01A91EB>
> 
> Call to OBJC::INIT-ALL-PROTOCOLS {offset 60}
> 
> Call to OBJC::INIT-ALL-OBJC-CLASSES {offset 83}
> 
> Call to OBJC:ENSURE-OBJC-INITIALIZED {offset 284}
>   DBG::|rest-|  : (:MODULES ("/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation" "/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa" :DARWIN-LW-OBJC))
>   OBJC::MODULES : ("/System/Library/Frameworks/Foundation.framework/Versions/C/Foundation" "/System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa" :DARWIN-LW-OBJC)
> 
> Call to CAPI-COCOA-LIBRARY::ENSURE-COCOA-INITIALIZED {offset 116}
> 
> Call to CAPI-COCOA-LIBRARY::RUN-COCOA-EVENT-LOOP {offset 42}
>   CAPI-COCOA-LIBRARY::EARLY-INITIALIZER : #<Closure CAPI-COCOA-LIBRARY::EARLY-INITIALIZER subfunction of (METHOD CAPI-LIBRARY:START-ENVIRONMENT-USING-LOOK-AND-FEEL ((EQL :COCOA) T)) 4060001E3C>
>   CAPI-COCOA-LIBRARY::INITIALIZER       : #<Closure CAPI-COCOA-LIBRARY::INITIALIZER subfunction of (METHOD CAPI-LIBRARY:START-ENVIRONMENT-USING-LOOK-AND-FEEL ((EQL :COCOA) T)) 4060001E14>
> 
> 
> 
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> lisp-hug@lispworks.com
> http://www.lispworks.com/support/lisp-hug.html
> 

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Updated at: 2020-12-10 08:32 UTC