Comments (4)
Aras, I don't have an OSX/Intel system, so I've never compiled/run the code on
it,
and to be honest most of the code in Debug.{h,cpp} has only been tested on my
main
development platform.
In any case, it would be nice to fix that so that it works on OSX and other Unix
flavors too. Your patch seems to indicate that the sigcontext structure on
darwin
does not contain the EIP pointer, but the code still uses it a few lines later.
I'll
assume that you missed that and comment it out too. However, backtrace won't
work
properly when called from a signal handler if the instruction pointer of the
caller
is not set properly.
Here's a nice code snippet that shows how to do it in different Unix systems:
http://www.miriamruiz.es/weblog/?p=14
I've been looking how to do the same on OSX/Intel, but I haven't found
anything. I'm
sure that somebody at OTEE knows how to do it. Could you find that out?
Thanks!
Original comment by [email protected]
on 29 May 2007 at 9:21
from nvidia-texture-tools.
I've integrated your patch in revision 31, and added support for correct stack
traces
in some other platforms. OSX is still not supported, thought. Please, change the
status to verified if it works for you.
Original comment by [email protected]
on 29 May 2007 at 9:51
- Changed state: Fixed
from nvidia-texture-tools.
It builds now. Didn't try whether it does the correct thing in case of a crash
though. I can't find where I can mark
the bug as "verified", so I'll just leave it as it is.
As for OS X exception handling code, for the editor we use ObjectiveC specific
stuff (NSException etc.). I think I
saw some more useable code in Mono to walk the stack on different platforms.
Original comment by [email protected]
on 29 May 2007 at 10:27
from nvidia-texture-tools.
It's in the status box below the bug summary. It might only be available to
project
managers. I finally found how to get the instruction pointer on OSX and added
code
for that. It seems to work on PPC, so I hope it does work on x86 too. I'm
closing
this now.
Original comment by [email protected]
on 29 May 2007 at 11:03
- Changed state: Verified
from nvidia-texture-tools.
Related Issues (20)
- xyzToCieLab bug HOT 2
- Add CIE Lab DeltaE 1994 color differencing HOT 2
- Missing CubeSurface fold/unfold implementation HOT 2
- Missing files in vs10 solution HOT 5
- endImage() never called HOT 6
- nvcore will not compile in visual studio 2010 HOT 3
- Doesn't compile with VS 2013 HOT 1
- [PATCH] Linux compilation fixes HOT 2
- Can you add to support define custom rgba value?
- Crash when attempting to use Surface::toNormalMap(...) HOT 2
- [PATCH] Minor issue with debug checks in ErrorMetric.cpp HOT 3
- Division by zero in QuickCompressDXT.cpp, line 452
- Support all OutputFormat's as InputFormat's HOT 4
- undefined reference to nv::Fit::* HOT 3
- Patches for building on OSX HOT 1
- Broken normalization of normal maps
- Visual Studio Compile Errors
- "make" the texture tools will error on CompressKernel.gen.c.o HOT 2
- Compilation fails using gcc 4.9.1
- Please support tag somewhere normal map textures HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nvidia-texture-tools.