Crash during export ~ reference tasks Topic is solved

Moderator: abstr

JonR
Posts: 53
Joined: Sun Aug 04, 2019 2:42 pm

Crash during export ~ reference tasks

Post by JonR » Wed Sep 25, 2019 9:24 pm

Dan

Feel bad, I broke it again! But this seems straightforward - I was exporting a set of parents along with their children, each to a new separate list file. Then one time it crashed. Trying to reopen the newly created list also crashed.

I found a reference link task within the tree and by chance moved it out. Retrying the export of that parent with its tree of children then worked without crashing!

So it seems the reference link broke the new list because the source item was not exported along with it?

Thanks,

Jon

User avatar
abstr
Site Admin
Posts: 370
Joined: Sun Jul 28, 2019 12:22 pm

Re: Crash during export ~ reference tasks

Post by abstr » Thu Sep 26, 2019 3:27 am

Hi Jon

This sounds very familiar so I suspect that I have already fixed it in 7.3 but perhaps didn't fix 7.2 because the changes required were significant and I thought it an unusual edge case.

Seems you have become the de-facto 'canary in the coal mine' for finding edge cases ;)

JonR
Posts: 53
Joined: Sun Aug 04, 2019 2:42 pm

Re: Crash during export ~ reference tasks

Post by JonR » Thu Sep 26, 2019 9:27 am

Dan -Thanks. Looking forward to 7.3 even more. Are you calling it NG or did I imagine that?

Wry but too accurate - Canary, more like albatross... if I could only get a job where breaking things was rewarded!

Jon

User avatar
abstr
Site Admin
Posts: 370
Joined: Sun Jul 28, 2019 12:22 pm

Re: Crash during export ~ reference tasks

Post by abstr » Thu Sep 26, 2019 10:39 am

I've uncompleted it because I may yet fix it in 7.2

User avatar
abstr
Site Admin
Posts: 370
Joined: Sun Jul 28, 2019 12:22 pm

Re: Crash during export ~ reference tasks

Post by abstr » Thu Sep 26, 2019 10:45 am

Hmm, I just tried to reproduce this in 7.2.16 but was unable to.

If you have time can you:

1. Take './Resources/Examples/Introduction.tdl'
2. Add some references to create the problem
3. Attach the file here together with the steps to reproduce.

JonR
Posts: 53
Joined: Sun Aug 04, 2019 2:42 pm

Re: Crash during export ~ reference tasks

Post by JonR » Thu Sep 26, 2019 11:17 am

Hi - For me it happened exactly the same. Crashed on export then refused to open as exported file.

Maybe I should also mention I turned on the setting to permit multiple instances recently and noticed that the exported files are opened (or tried to be) in a second TDL instance...

Also that the thing that I added to the exported tree is the link back to a source item. If that makes a difference.

Hope that helps.

Jon
Attachments
TESTIntroduction.tdl
(6.23 KiB) Downloaded 297 times

User avatar
abstr
Site Admin
Posts: 370
Joined: Sun Jul 28, 2019 12:22 pm

Re: Crash during export ~ reference tasks

Post by abstr » Fri Sep 27, 2019 3:52 am

Hmm... Still can't reproduce it.

Can you record a bug report (Help > Record Bug Report), zip it up and attach it here please?

JonR
Posts: 53
Joined: Sun Aug 04, 2019 2:42 pm

Re: Crash during export ~ reference tasks

Post by JonR » Fri Sep 27, 2019 7:26 am

Dan
Wow, never done that before, what a useful app!

So I did the 'error' steps and then tried to reopen the file. Still both crashing.
Then I did a test again with NO link and voila it works. (Showing it's not something else going on)

Thanks,

Jon
Attachments
Test_Jon_ExportwithLink(crash).zip
(1.49 MiB) Downloaded 280 times
Test_Jon_ExportWITHOUTLink(success).zip
(933.92 KiB) Downloaded 278 times

User avatar
abstr
Site Admin
Posts: 370
Joined: Sun Jul 28, 2019 12:22 pm

Re: Crash during export ~ reference tasks

Post by abstr » Sat Sep 28, 2019 9:31 am

I see that you are using 7.2.14.

In 7.2.15 I added a fix that prevents 'orphan' reference tasks ever appearing in the UI ie. they get stripped out when the tasklist is loaded.

This is why I couldn't reproduce your problem :)

So now what I need to understand is how you came to have an orphan reference in the first place because these should also be impossible...

JonR
Posts: 53
Joined: Sun Aug 04, 2019 2:42 pm

Re: Crash during export ~ reference tasks

Post by JonR » Sat Sep 28, 2019 1:19 pm

Hi,

Sorry I thought I was up to date with updates.

As for the orphan thing I'm a bit confused but it wasn't an orphan until the subset of tasks was exported. At that point it became an orphan I guess. But why crash-inducing?

So anyway I updated and now fixed - no problem!

In fact I am wondering if this update might fix my other bigger problem so time will tell.

All I can say (on re-reading the enormous list of tweaks and features from v17 which just reading took 20mins) is TDL is so powerful and convenient and customisable now, far beyond anything else out there. Not in the trade myself but it seems to me you truly have a gift!...

Thanks again,

Jon

Locked