Hi there,
I've developed my application with TChart on Windows and recently I've got the access to Mac. I tried to open and compile my application for this platform. It worked well. When I opened my project for the first time all was perfect. When I close it and wanted to open it again, I was not able to do. Typhon suddenly crashed. On Windows, I was able to open and compile the project. But not for Mac.
So I created dummy project with just simple form and TCHart component on it. With one TLineSeries and two buttons. One reads the data.dat file and another close the application. I created it on Mac. I was able to compile it. But when close and the re-open doesn't work. When I tried to re-open it, the terminal output looks like see below. But no problems on Windows.
I have CT6.5 and Typhon compiled with Qt4 widgets. In the attachment is the dummy project.
Thanks for the help.
With best regards
Premek
/Applications/Typhon64.app/Contents/MacOS/typhonstart chartmac.ctpr
chartmac.ctpr is a file
is a file
TTyphonManager.Run starting /usr/local/codetyphon/typhon/bin64/typhon.app/Contents/MacOS/typhon ...
Hint: (IDE) [TMainIDE.ParseCmdLineOptions] PrimaryConfigPath="/Users/premyslberan/.typhon64"
Hint: (IDE) [TMainIDE.ParseCmdLineOptions] SecondaryConfigPath="/etc/typhon"
Hint: (IDE) [TBuildManager.SetBuildTarget] Old=x86_64-darwin-qt New=x86_64-darwin-qt FPC=True LCL=False
TComponentTreeView.SetSelection: Updating component node values.
TApplication.HandleException Access violation
Stack trace:
$0000000000000000
$000000010021B60F
$000000010021BC0B
$00000001000587D5
$000000010001220E
$0000000100215181
$000000010005A66C
$0000000100B116AA
$00000001002205C6
$0000000100212EBB
$0000000100212DF1
$000000010005DD95
$00000001002113E1
$000000010022A9AD
$00000001007CD6F9
$00000001007CCA16
$00000001007B51F6
2018-09-18 15:07:47.139 typhon[87191:4093145] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
typhon.pp - unhandled exception
Hint: (IDE) [TMainIDE.Destroy] B -> inherited Destroy... TMainIDE
Hint: (IDE) [TMainIDE.Destroy] END