[MacPorts] #65743: cherrytree @0.99.48: crash on launch

MacPorts noreply at macports.org
Fri Sep 16 07:06:46 UTC 2022


#65743: cherrytree @0.99.48: crash on launch
-------------------------+----------------------
  Reporter:  afield1235  |      Owner:  mascguy
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:
      Port:  cherrytree  |
-------------------------+----------------------

Comment (by kencu):

 Replying to [comment:28 afield1235]:
 > No Dice

 Ah, too bad. I have no more ideas for you, unless you want to get fancy :>

 You need to build cherrytree with the debug variant turned on, and ideally
 with optimizations turned off.

 To do that you edit the cherrytree Portfile:

 {{{bbedit `port file cherrytree`}}} and add a line like this:

 {{{
 configure.optflags -g
 }}}

 right under {{{compiler.cxx_standard   2017}}} so it looks like this:

 {{{
 compiler.cxx_standard   2017
 configure.optflags -g
 patchfiles-append       patch-cherrytree-all-apple-is-not-homebrew-for-
 goodness-sake.diff
 # Fix crash on launch; see: https://trac.macports.org/ticket/65743
 patchfiles-append       patch-ct_filesystem-empty-string.diff
 }}}

 then you build cherrytree like this:

 {{{
 sudo port uninstall cherrytree
 sudo port -v -s -k install cherrytree +debug
 }}}

 and then when it is done, you do this:

 {{{
 lldb cherrytree
 }}}
 then hit {{{r}}} to make it run, and when it crashes, you type {{{bt}}}
 and copy and paste up the results here.

 If you are really being helpful, you also read the frame variables, and do
 the same for the top four or five frames, like I did above.

 Then we might have a chance of seeing what is going on with an error we (I
 at least) can't reproduce.

-- 
Ticket URL: <https://trac.macports.org/ticket/65743#comment:30>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list