User forums > Nightly builds
The 18 October 2008 build (5274) is out.
MortenMacFly:
--- Quote from: Pecan on November 07, 2008, 02:23:27 pm ---038812C7 D:\codeblocks\share\codeblocks\plugins\codesnippets.dll:038812C7
[...]
Does anyone know how to translate those absolute addresses to plugin locations?
--- End quote ---
Try:
addr2line -e [PATH_TO_CODESNIPPETS_DLL] [ADDRESS]
...meaning in the above case:
addr2line -e D:\codeblocks\share\codeblocks\plugins\codesnippets.dll 038812C7
But you need exact that DLL with debugging symbols in the path you point to. Otherwise you have no chance.
I for myself always keep the "devel" folder (the non-stripped one) for a reference exactly for this purpose. Do you remember when I asked you to keep this for the last nightlies, too?! ;-)
Pecan:
--- Quote from: MortenMacFly on November 07, 2008, 03:45:44 pm ---
Try:
addr2line -e [PATH_TO_CODESNIPPETS_DLL] [ADDRESS]
...meaning in the above case:
addr2line -e D:\codeblocks\share\codeblocks\plugins\codesnippets.dll 038812C7
But you need exact that DLL with debugging symbols in the path you point to. Otherwise you have no chance.
--- End quote ---
Thanks for the add2line tip.
--- Quote from: MortenMacFly on November 07, 2008, 03:45:44 pm ---I for myself always keep the "devel" folder (the non-stripped one) for a reference exactly for this purpose. Do you remember when I asked you to keep this for the last nightlies, too?! ;-)
--- End quote ---
I dont understand what you mean.
Can't I just compile the nightly to which he refers. Won't that produce the dll with the offending address? Then use addr2line against that "devel" Dll?
MortenMacFly:
--- Quote from: Pecan on November 08, 2008, 02:52:55 pm ---Can't I just compile the nightly to which he refers. Won't that produce the dll with the offending address? Then use addr2line against that "devel" Dll?
--- End quote ---
When you just compile C::B as a nightly you have the unstripped version in the "devel" folder, including all symbols. When you run the update script you produce the stripped version in the "output" folder but the unstripped one is of course still in the "devel" folder. (Sounds a bit confusing... try to read two times... ;-) If you provide the "devel" version as a nightly then the package is big but we get meaningful error reports with the addresses already resolved. If you provide the stripped version of the "output" folder we need to resolve the addresses ourselves using the unstripped "devel" version.
If you provide the stripped version as a nightly (as you do IMHO) you need to keep the unstripped version ("devel" folder), too. Only then you can resolve the code line from an address using addr2line. That's what I meant:
Either:
> Provide the nighlies with debugging symbols included (they crunch very well but may cost performance)
Or:
> Keep the unstripped version of the nightly so that we can resolve the addresses to lines using the tool. But then you are the only one who can do so.
Otherwise we have no useful error reports.
Pecan:
--- Quote from: MortenMacFly on November 09, 2008, 10:59:27 am ---
--- Quote from: Pecan on November 08, 2008, 02:52:55 pm ---Can't I just compile the nightly to which he refers. Won't that produce the dll with the offending address? Then use addr2line against that "devel" Dll?
--- End quote ---
Or:
> Keep the unstripped version of the nightly so that we can resolve the addresses to lines using the tool. But then you are the only one who can do so.
Otherwise we have no useful error reports.
--- End quote ---
I think you're confusing me with someone else.
But I think you've answered my question.
I thought it would be possible to revert my devel version to the SVN level of the 18 October nightly provided by KillerBot and find the offending line.
But if I understand you, it is possible to "recreate" the 18 October nightly on my own system and find the line via addr2line.
Is that correct?
Jenna:
--- Quote from: Pecan on November 09, 2008, 03:03:38 pm ---But if I understand you, it is possible to "recreate" the 18 October nightly on my own system and find the line via addr2line.
Is that correct?
--- End quote ---
You can try this, but it will most likely not work, if you and killerbot do not use the exactly same build-environment.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version