User forums > Help
Building from the new SF repo
stefanos_:
--- Quote from: oBFusCATed on March 30, 2013, 07:54:03 pm ---
--- Quote from: stefanos_ on March 30, 2013, 03:27:40 pm ---I hope it helps a bit; I don't know how to use it properly, therefore show some respect :D
--- End quote ---
No, probably next time try to use the bt command, so the place where it have crashed is visible.
But don't worry this time because I get the crash, too.
--- End quote ---
I have done so, and I hope it did it properly :D
Here you are: http://pastebin.com/s2LbzixV
Jenna:
--- Quote from: stefanos_ on April 01, 2013, 08:19:41 pm ---
--- Quote from: oBFusCATed on March 30, 2013, 07:54:03 pm ---
--- Quote from: stefanos_ on March 30, 2013, 03:27:40 pm ---I hope it helps a bit; I don't know how to use it properly, therefore show some respect :D
--- End quote ---
No, probably next time try to use the bt command, so the place where it have crashed is visible.
But don't worry this time because I get the crash, too.
--- End quote ---
I have done so, and I hope it did it properly :D
Here you are: http://pastebin.com/s2LbzixV
--- End quote ---
The crash happens, because the pointers holding the wxFileHistory-object for the projects and the files in MainFrame get recreated, but the pointers stored in the starthere-page are not updated.
Can you please test the attached patch ?
oBFusCATed:
--- Quote from: jens on April 01, 2013, 09:41:16 pm ---Can you please test the attached patch ?
--- End quote ---
Don't bother, I'm currently fixing this in a rather brutal way:)
Jenna:
--- Quote from: oBFusCATed on April 01, 2013, 11:11:18 pm ---
--- Quote from: jens on April 01, 2013, 09:41:16 pm ---Can you please test the attached patch ?
--- End quote ---
Don't bother, I'm currently fixing this in a rather brutal way:)
--- End quote ---
The patch already by resetting the two pointers in the startherepage class at the end of MainFrame::InitializeRecentFilesHistory(), that's the only place where the pointers get recreated in MainFrame.
Another (probably better) approach would be to have a (probably protected?) getter-function in MainFrame for the pointers, make both classes friends and always fetch the pointers if needed (not too expensive, because this happens not very often).
stefanos_:
yep, the patch works just fine. Shall I fetch the latest updates and adjust to those?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version