[GEM-dev] 'model' crashes on OSX - GemWinCreateMac.cpp from today's CVS won't compile.

ben at ekran.org ben at ekran.org
Tue Mar 16 20:30:20 CET 2004


Hey Johannes,

sending the "texture 1" message to model before rendering seems to make no
difference, still crashes at the same point:

Program received signal SIGABRT, Aborted.
0x90042aac in kill ()
(gdb) where
#0  0x90042aac in kill ()
#1  0x9009ec5c in abort ()
#2  0x020f4e60 in __eprintf () at src/Pixes/pix_filmYUV.h:45
#3  0x02040ce0 in glmLinearTexture (model=0x0, h=0, w=0) at
src/Geos/model_loader.cpp:1164
#4  0x0203c0dc in model::render(GemState*) (this=0x426660,
state=0xbffff240) at src/Geos/model.cpp:212
#5  0x0200a110 in GemBase::gem_renderMess(GemCache*, GemState*)
(this=0x426660, cache=0x44b520, state=0xbffff240) at
src/Base/GemBase.cpp:78
.
.
.


> hmm; jamie checked some bug-fixes in yesterday, but i guess they are
> *not* concerned with this.
> time i'll get back to a mac to see for myself.

I tried again today, all kinds of crap in GemWinCreateMac.cpp like:

    // show and update main window
<<<<<<< GemWinCreateMac.cpp
        SetRect(&info.r, (short)hints.x_offset, (short)hints.y_offset,
                (short)(hints.width + hints.x_offset),
=======

    // this should put the title bar below the menu bar
        if (hints.y_offset < 50){
            hints.y_offset+=50;
        }

        SetRect(&info.r, (short)hints.x_offset, (short)hints.y_offset,
                (short)(hints.width + hints.x_offset),
>>>>>>> 1.14
                (short)(hints.height + hints.y_offset));

oh well, I guess I'll just have to be patient! ;)

Thanks
Ben







More information about the GEM-dev mailing list