Giter Club home page Giter Club logo

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
[deleted comment]

from maratis.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024

Original comment by [email protected] on 1 Jan 2013 at 1:36

  • Changed state: Fixed

from maratis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.