Ticket #1272 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Padre crashes on Save, OS X 10.6.7

Reported by: johnh Owned by: tome
Priority: major Milestone:
Component: not classified yet Version: 0.86
Keywords: osx Cc:

Description

Started up and ran OK as far as I could see, but crashed without any dialogs as soon as I tried to save.

Attached is the .crash log file with lots of detail.

Attachments

padre_2011-07-30-105901_Wintermute-9.crash (37.0 KB) - added by johnh 3 years ago.
Crash log file
wx_save_segfault_and_perl_V.txt (48.3 KB) - added by tome 3 years ago.
Another Wx Save segfault AND perl -V
diff.patch (843 bytes) - added by tome 3 years ago.
Patch to remove trailing | from file save dialog - locally fix crash on OSX on Save

Change History

Changed 3 years ago by johnh

Crash log file

Changed 3 years ago by tome

Another Wx Save segfault AND perl -V

comment:1 Changed 3 years ago by tome

See #1269 for another trace, this ticket should solve it as well.

comment:2 Changed 3 years ago by tome

  • Owner set to tome
  • Status changed from new to accepted

Thanks to Mark for saving the day on this one. I was working down a 32/64 bit or other compilation rabbit hole, but he showed me that it's the FileDialog? call that was causing us trouble.

I believe that when we remove the trailing | from the save dialog wildcard string (which seems to better fit the specification), this crash goes away and things work on OSX.

It would be great to test this patch on linux/windows before applying it, but it does fix a critical OSX bug.

See the patch.diff in the attachments.

Changed 3 years ago by tome

Patch to remove trailing | from file save dialog - locally fix crash on OSX on Save

comment:3 Changed 3 years ago by tome

  • Status changed from accepted to closed
  • Resolution set to fixed

Addressed by r15268

Note: See TracTickets for help on using tickets.