Page 1 of 1

[BUG??] Ogre Application crash with CEGUI

Posted: Wed Oct 15, 2008 21:43
by fame
Hi,

i'm trying to do some stuff with ogre and CEGUI.
If i don't use CEGUI everything just works fine.


Code: Select all


CEGUI::System *mSystem;
CEGUI::OgreCEGUIRenderer *mRenderer;

mRenderer = new CEGUI::OgreCEGUIRenderer(mWindow, Ogre::RENDER_QUEUE_OVERLAY, false, 3000, mSceneMgr);
mSystem = new CEGUI::System(mRenderer);


if i add those lines (just a simple example) i'm getting a Cg-Compile error:

Code: Select all

...
7f6754064000-7f6754065000 r--p 0001a000 08:03 381477                     /lib64/ld-2.6.1.so
7f6754065000-7f6754066000 rw-p 0001b000 08:03 381477                     /lib64/ld-2.6.1.so
7fff5c04c000-7fff5c063000 rwxp 7ffffffe6000 00:00 0                      [stack]
7fff5c063000-7fff5c065000 rw-p 7fffffffd000 00:00 0
7fff5c1fe000-7fff5c200000 r-xp 7fff5c1fe000 00:00 0                      [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error


I tried some different version of cegui: 0.5.0b-r3 and 0.6.1.

I'm running a gentoo amd64 here.
Thanks for your help!

Regards,
fame

Re: [BUG??] Ogre Application crash with CEGUI

Posted: Sun Oct 19, 2008 10:12
by Pompei2
fame wrote:

Code: Select all

...
7f6754064000-7f6754065000 r--p 0001a000 08:03 381477                     /lib64/ld-2.6.1.so
7f6754065000-7f6754066000 rw-p 0001b000 08:03 381477                     /lib64/ld-2.6.1.so
7fff5c04c000-7fff5c063000 rwxp 7ffffffe6000 00:00 0                      [stack]
7fff5c063000-7fff5c065000 rw-p 7fffffffd000 00:00 0
7fff5c1fe000-7fff5c200000 r-xp 7fff5c1fe000 00:00 0                      [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
(0) : fatal error C9999: *** exception during compilation ***
Cg compiler terminated due to fatal error


I tried some different version of cegui: 0.5.0b-r3 and 0.6.1.

I'm running a gentoo amd64 here.
Thanks for your help!

Regards,
fame

I get the same error (The fatal error C9999) quite often too, on gentoo intel 32, using nVidia drivers.
never figured out where it comes from ....
It crashed my application when I used std::list to queue all the shaders, when I then used my own list class it did not crash anymore.

Now everytime I have some bug/crash I see that error line in the console.

Posted: Sun Oct 26, 2008 10:01
by CrazyEddie
Hi,

Not sure what's causing the issue there, but I'll just confirm that CEGUI does not actually use the cg compiler at all, so it should not be caused directly by us :)

CE.