Re: [Gtkwave-users] gtkwave crashes by adding -W or -T in macOS
Brought to you by:
gtkwave,
joel1234567
From: Soya O. <p5h60esu@s.okayama-u.ac.jp> - 2019-02-24 05:49:16
|
Thanks for your reply! I didn’t expect that there are problems in libraries. I inspected shared libraries which gtkwave uses, and found gtkwave uses macports tcl/tk 8.6 version(i.e. not uses Apple-supplied tcl/tk 8.5). I also compiled with tcl/tk 8.5.13 version supplied by macports. It does not crash, but still closes itself and says `Mac OS X 10.10030 or later required !`. Thanks. > On Feb 24, 2019, at 04:59, by...@nc... wrote: > > It sounds the same as what is found elsewhere in these two reports: > > https://github.com/MTG/sms-tools/issues/29 > https://core.tcl.tk/tcl/tktview/fd1e6bbe81?plaintext > https://stackoverflow.com/questions/30031063/nsexception-with-tkinter-on-mac > > "If you are using Mac OS X 10.7 or later, the Apple-supplied Tcl/Tk 8.5 still has serious bugs that can cause application crashes." > > I don't have a recent version of OSX so I can't test this crash. I'll look around. > > -Tony > > ----------------------------------------- > > From: "Soya OHNISHI" > To: "gtkwave" > Cc: > Sent: Saturday February 23 2019 6:26:57AM > Subject: [Gtkwave-users] gtkwave crashes by adding -W or -T in macOS > > Hi. > > I learn how to use Tcl script with gtkwave installed from macports now. > > However, when I add option ‘-W’ or ‘-T <tcl script name>’ , gtkwave crashes and raises exception. Following is error messages containing stack-trace. > > 019-02-23 19:39:39.650 gtkwave[57824:8138693] -[NSApplication _setup:]: unrecognized selector sent to instance 0x7fc6b37099e0 > 2019-02-23 19:39:39.652 gtkwave[57824:8138693] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSApplication _setup:]: unrecognized selector sent to instance 0x7fc6b37099e0' > *** First throw call stack: > ( > 0 CoreFoundation 0x00007fff2ae3423b __exceptionPreprocess + 171 > 1 libobjc.A.dylib 0x00007fff520c8c76 objc_exception_throw + 48 > 2 CoreFoundation 0x00007fff2aeccd94 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132 > 3 CoreFoundation 0x00007fff2adaa700 ___forwarding___ + 1456 > 4 CoreFoundation 0x00007fff2adaa0c8 _CF_forwarding_prep_0 + 120 > 5 libtk8.6.dylib 0x0000000100ff2875 TkpInit + 298 > 6 libtk8.6.dylib 0x0000000100f6683c Initialize + 2445 > 7 gtkwave 0x00000001003d687d gtkwaveInterpreterInit + 64 > 8 libtk8.6.dylib 0x0000000100f57476 Tk_MainEx + 688 > 9 gtkwave 0x00000001003a045d main_2 + 17802 > 10 gtkwave 0x000000010039becf main + 21 > 11 libdyld.dylib 0x00007fff52ce2015 start + 1 > ) > libc++abi.dylib: terminating with uncaught exception of type NSException > Abort trap: 6 > > This problem occurred from macports version. That's why I also tried osx-app version, but it crashes too. > > And I tried to use ver3.3.99 binary from source code by './configure && make && sudo make install', but it says `Tcl support not compiled into this executable` and closes itself, so I cannot use Tcl script feature in the first place. > > I use macOS HighSierra. > > Thanks. > > > > > _______________________________________________ > Gtkwave-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtkwave-users > < a=""> /> > <> > _______________________________________________ > Gtkwave-users mailing list > Gtk...@li... > https://lists.sourceforge.net/lists/listinfo/gtkwave-users |