Downloads  |  Buy

TurboFloat crash in macOS when checking out a lease after unclean shutdown

TurboFloat crash in macOS when checking out a lease after unclean shutdown

Postby bkendall » October 17th, 2019, 8:42 pm

TurboFloat Library v4.1.9.0
TurboFloat Server 4.1.9.0
Operating system: macOS 10.14.6

If an application running in macOS uses TurboFloat to check out a lease and crashes without dropping the lease and cleaning up, the next time it runs, TF_RequestLease will hang indefinitely. This is a serious issue for us because our software is a plug-in for a third party application that does crash on a pretty regular basis. I don't think we can ship floating license support for macOS while this bug is present.

We have tested in both Windows and Linux and confirmed this bug only affects macOS.

Reproducing the crash can be done with the TurboFloat example Xcode project.

1. Edit the TurboFloat sample project as indicated to get it loading product details from TurboActivate.dat, obtaining a handle using a product GUID, and checking out a license from a TurboFloat server

2. Once the license is checked out and the program prints "Type X and press Enter to drop the lease", terminate the program uncleanly (for example by clicking the "Stop" button at the top of the Xcode window)

3. Re-run the program. It will freeze when it calls TF_RequestLease.

Thanks.
bkendall
 
Posts: 5
Joined: February 16th, 2019, 1:42 pm

Re: TurboFloat crash in macOS when checking out a lease after unclean shutdown

Postby Wyatt » October 17th, 2019, 9:13 pm

We'll attempt to reproduce this tomorrow and get back to you.
User avatar
Wyatt
Site Admin
 
Posts: 6092
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: TurboFloat crash in macOS when checking out a lease after unclean shutdown

Postby Wyatt » November 1st, 2019, 2:34 pm

We haven't forgotten about this. We're releasing a feature next week then we'll dig into this report.
User avatar
Wyatt
Site Admin
 
Posts: 6092
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire

Re: TurboFloat crash in macOS when checking out a lease after unclean shutdown

Postby Tagore » November 1st, 2019, 4:04 pm

Great, thanks for the update.
Tagore
 
Posts: 2
Joined: February 16th, 2019, 1:42 pm

Re: TurboFloat crash in macOS when checking out a lease after unclean shutdown

Postby Wyatt » Today, 11:58 am

We can't reproduce a crash. But we can reproduce a "hang" on macOS when trying to "restore" a lease when an app had previous crashed. We're working on a fix.
User avatar
Wyatt
Site Admin
 
Posts: 6092
Joined: July 11th, 2007, 10:30 pm
Location: New Hampshire


Return to LimeLM, TurboActivate, & TurboFloat Support