Comments (9)
here is the output of gdb:
(gdb) run
Starting program:
/cygdrive/g/devel/maratis/maratis/trunk/dev/prod/cygwin/release/Maratis/Bin/Mara
tisPlayer.exe
[New Thread 5572.0xcec]
[New Thread 5572.0x1820]
Program received signal SIGSEGV, Segmentation fault.
0x0028ff18 in ?? ()
How to build in debug ?
Original comment by [email protected]
on 20 Oct 2012 at 2:00
from maratis.
Here it is building Maratis in debug : python scons.py build_mode=debug
Waiting...
Original comment by [email protected]
on 20 Oct 2012 at 2:17
from maratis.
The debug version of maratis is not verbose:
Starting program:
/cygdrive/g/devel/maratis/maratis/trunk/dev/prod/cygwin/debug/Maratis/Bin/Marati
sPlayer.exe
[New Thread 3944.0xf0c]
[New Thread 3944.0x1650]
Program received signal SIGSEGV, Segmentation fault.
0x0028ff18 in ?? ()
What the hell...
Original comment by [email protected]
on 20 Oct 2012 at 3:49
from maratis.
Hi,
no I don't think anyone changed windows.py,
I just did some work on iOS after your last commit.
Did you change something in your system, external libs, etc ?
I actually never tested the debug compilation with scons, do you have the same
crash in release ?
Original comment by [email protected]
on 21 Oct 2012 at 9:26
from maratis.
[deleted comment]
from maratis.
Here it is I got it : before relinking I just added the crtdll.a library in
order to link with __commit necessary/used by for npk_dev. But this lib seems
to prevent for any exec to run. Consequently I still dont know how to link with
npk_dev as it of course believes we are on a NPK_PLATFORM_WINDOWS and try to
run _commit( handle ); :
NPK_RESULT npk_flush( NPK_HANDLE handle )
{
if( handle != 0 )
{
#ifdef NPK_PLATFORM_WINDOWS
_commit( handle );
#else
fsync( handle );
#endif
}
return NPK_SUCCESS;
}
Anael: any idea ?
Original comment by [email protected]
on 24 Oct 2012 at 4:54
from maratis.
ok, I see.
I guess we are forced to do a fix of npk
by simply forcing NPK_PLATFORM_LINUX using the __CYGWIN__ define (in npk_conf.h)
we should return the info to the npk team : http://code.google.com/p/npk/
Original comment by [email protected]
on 25 Oct 2012 at 8:09
from maratis.
Yes I have thought too of forcing NPK_PLATFORM_LINUX on cygwin as there is no
NPK_PLATFORM_POSIX.
I have already created a ticket on npk website.
For the moment I have 'fixed' npk_dev.c directly by doing _commit if __CYGWIN__
not def.
Original comment by [email protected]
on 26 Oct 2012 at 9:34
from maratis.
Original comment by [email protected]
on 1 Jan 2013 at 1:36
- Changed state: Fixed
from maratis.
Related Issues (20)
- Premake script update HOT 2
- MWindow::onEvent should return a bool HOT 7
- Physics constraint - Setting parentObjectId HOT 3
- [MGui] MGuiWindow ignores m_highLightColor HOT 1
- [Typo] HOT 1
- [bug] Physics shapes and objects are never deleted HOT 1
- [MGui] Windows Z-order HOT 2
- GLFW needs upgrade HOT 1
- Casting error MguiColorPicker.cpp
- MWIN_EVENT bug in main.cpp HOT 1
- Missing include in main.cpp HOT 4
- Blender Export (mma-mta) HOT 2
- Freeimage error with vs2010 HOT 2
- [MGui] Patch - Windows selection, Z-order, overlapping, input HOT 6
- [MGui] MGuiEditText is too wide
- sound listener and render to texture
- Windows 32 Built corrupt (windows 7) HOT 1
- Getting the current framerate from MGame
- access materials and shader from script
- Experimental CMake build
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 maratis.