2025-07-20 17:08 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002351Spring engineMac OS Xpublic2011-06-15 16:46
Reporterabma 
Assigned Toabma 
PrioritynormalSeverityfeatureReproducibilityalways
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0002351: (macosx) for adress to line translation, the crashhandler should use "atos" instead of addr2line
Descriptionhttp://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/atos.1.html
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0002931resolvedabma crashhandler not working on macosx build 
+Relationships

-Notes

~0006723

hoijui (reporter)

can you please give more info.
for example, does addr2line fail, or does it not even exist?
isn't addr2line to be used for gcc builds, and atos for .. whatever mac compilers there are (XCode?)
if we really should use atos, we should change the target version of this issue to be 0.83.0, as it should be easy to implement, and could be useful in bug-hunting following the release.

~0006728

abma (administrator)

afaik there addr2line isn't installed by default on a mac... but it looks like atos can't translate to a line number, only to a symbol. so maybe we should ship with addr2line? (if possible...)

sorry, didn't investigate much, i only saw, that there is no addr2line...

~0006736

hoijui (reporter)

yeah.. line number is required for sure.

~0006737

abma (administrator)

Last edited: 2011-06-12 15:56

so maybe the crashhandler should check if addr2line is avaiable, if not print a message (how) to install it?

~0006738

hoijui (reporter)

i don't know.. are there multiple ways to do that? could we just ship one file with spring on mac?
lets ask the mac guy(s). eg daftalx.

~0006739

abma (administrator)

http://springrts.com/phpbb/viewtopic.php?f=65&t=26240

~0006741

daftalx (reporter)

you might want to try installing the GNU "binutils" package, which contains a number of useful tools including addr2line. This package has also been ported on Mac OS via MacPorts (one version per architecture basically, though {{{port install binutils}}} will get you the default "native" install).

hope this helps.
daft

~0006746

abma (administrator)

thx, i added it to the install build/install instractions.

(port install binutils)
+Notes

-Issue History
Date Modified Username Field Change
2011-02-15 22:39 abma New Issue
2011-02-16 03:29 abma Category General => Mac OS X
2011-06-10 18:19 hoijui Note Added: 0006723
2011-06-11 03:15 abma Note Added: 0006728
2011-06-12 15:18 hoijui Note Added: 0006736
2011-06-12 15:56 abma Note Added: 0006737
2011-06-12 15:56 abma Note Edited: 0006737
2011-06-12 17:36 hoijui Note Added: 0006738
2011-06-12 19:32 abma Note Added: 0006739
2011-06-12 19:32 abma Status new => feedback
2011-06-12 23:02 daftalx Note Added: 0006741
2011-06-15 16:46 abma Note Added: 0006746
2011-06-15 16:46 abma Status feedback => resolved
2011-06-15 16:46 abma Resolution open => fixed
2011-06-15 16:46 abma Assigned To => abma
2012-01-27 01:05 abma Relationship added related to 0002931
+Issue History