#32719: mpd crash on Lion when playing m4a files ------------------------------+--------------------------------------------- Reporter: promac@… | Owner: milosh@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: mpd ------------------------------+--------------------------------------------- Comment(by promac@…): Replying to [comment:2 iggames@…]:
The upstream bug is stuck because no one can get the debug info he asked for. I took a stab at this myself, and found that I could not reproduce the crash if I disabled optimization (I was trying to include debug symbols with -g, and http://stackoverflow.com/questions/1370945/xcode-3-2 -llvm-no-local-symbols-when-debugging suggested that optimization might get in the way of this):
Edit the Port file: sudo port edit mpd Add line: configure.cflags-delete -O2 Uninstall: sudo port uninstall mpd Reinstall from local sources: sudo port -s install mpd
This suggestions a compiler bug, not necessarily a product bug. Should macports take some action here (such as removing the -O2 flag by default)? Or does the fact that -O2 causes the problem suggest a particular sort of fix in the product?
I can confirm that suppressing -O2 fixes this issue. That is exactly the same problem I have when running CGAL applications on Lion. Random crashes if I use -O2. -- Ticket URL: <https://trac.macports.org/ticket/32719#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS