problem with built .dll

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

problem with built .dll

Postby maori » Thu Jan 08, 2009 11:16

Hi Guys

had to do a complete o/system reinstall yesterday :oops:

so i decided to get the latest cegui so downloaded
CEGUI 0.6.2b Library Source
and the dependency pack
CEGUI 0.6.2b Binary Downloads for Microsoft Visual C++ 9 (2008)


as i got my myself the vs2008 pro for xmas
and have the following sdk's
Microsoft DirectX SDK (August 2008)
Microsoft Platform SDK for Windows Server 2003 R2
and update SP1 for vs2008


compiled CEGUI and placed the required .dll's in my applications directory but it gave me the following error when trying to start the newly compiled exe
Unhandled exception at 0x02132639 (CEGUIBase_d.dll) in MyExe.exe: 0xC00000FD: Stack overflow.


any one able to point me in the right direction of where i may have missed something


TIA

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Thu Jan 08, 2009 14:52

Hi,

The only cause I can think of at the moment is one relating to recursive event calls - meaning what you're doing in an event handler causes the event to re-fire prior to exiting the handler - at least this is the one that always bites me ;)

Can you grab a callstack from the debugger at the point where you get the stack overflow? This should help narrow it down somewhat.

CE.

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Postby maori » Thu Jan 08, 2009 15:03

heya CE

the line in the callstack is

> CEGUIBase_d.dll!std::_Iterator_base::_Orphan_me() Line 180 + 0x9 bytes C++


if you need a full callstack list is there an easy way to grab it all out ?



TIA

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Thu Jan 08, 2009 19:55

maori wrote:if you need a full callstack list is there an easy way to grab it all out ?

That would be more useful ;) I think you can click in the window and do Ctrl-A, Ctrl-C

HTH

CE.

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Postby maori » Thu Jan 08, 2009 20:05

no probs

sorry for the long post funny thing is this app worked fine with Vs2005 and the dll's from cegui

removed the callstack messages to fix forum prob :P
Last edited by maori on Sun Jan 11, 2009 19:40, edited 3 times in total.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Thu Jan 08, 2009 20:16

Hi,

yeah it's definitely as I said, a recursive event issue.

It seems something odd is going on with a Tooltip, are you subscribing to any events on the Tooltip or something? If so, what do those handlers look like?

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Postby maori » Thu Jan 08, 2009 20:40

Hi CE

only tooltips i have is on the button

Code: Select all

PushButton* MyBtn = static_cast<PushButton*>(winMgr.createWindow("TaharezLook/Button", "ubutton"));
                    sheet->addChildWindow(MyBtn);
                    MyBtn->setSize(UVector2(cegui_reldim(0.08f), cegui_reldim(0.05f)));
                    MyBtn->setPosition(UVector2(cegui_reldim(0.46f), cegui_reldim(0.04f)));
               
          MyBtn->setTooltipText("Test Tooltip");
                    MyBtn->setText("users");
                   
      MyBtn->subscribeEvent(PushButton::EventClicked, CEGUI::Event::Subscriber (&USERB::OpenUsers, userb));


so dont think i'am subscribing to the tooltip there or am i wrong (possibly got it wrong )

TIA

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Fri Jan 09, 2009 09:36

Hi,

I think you broke the forum :lol:

I have a theory about this issue; I might have introduced a bug in 0.6.2 affecting tooltips that appear directly under the mouse, when I addressed this ticket., I have to test it out and get back to you (which will not be today).

CE.

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Postby maori » Fri Jan 09, 2009 13:03

hiya

I think you broke the forum


ooopps broke my CEGUI now the forum damn and this year was beginning to look good as well :oops:

I might have introduced a bug in 0.6.2 affecting tooltips that appear directly under the mouse, when I addressed this ticket., I have to test it out and get back to you


ahhh great stuff CE thanks sure hope that is the cause as i said in the last version i had 0.6.0 iirc worked fine with vs2005 and the code i have just this latest 0.6.2b and vs2008 gives this prob

Thanks for all your hard work and effort's

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Postby maori » Sun Jan 11, 2009 19:39

hiya

just to update you it deffinatly a tooltip prob

i remmed out the

Code: Select all

MyBtn->setTooltipText("Test")


and it dosnt crash :)

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Sun Jan 11, 2009 20:12

maori wrote:
I think you broke the forum

ooopps broke my CEGUI now the forum damn and this year was beginning to look good as well :oops:

:hammer: happy new year :pint:

sorry, I have nothing intelligent to say to help you here, so I'm :arrow:

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Postby maori » Sun Jan 11, 2009 20:23

LOL

happy new year to you aswell Pompei2 :pint:

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Sun Jan 11, 2009 22:21

I've not tested this as I've been busy with other things, but I am 99.9% certain that it's a bug that I introduced, so apologies for that and I'll add a ticket so we remember to fix it ;)

CE.

maori
Just can't stay away
Just can't stay away
Posts: 161
Joined: Tue Sep 23, 2008 13:05
Location: Plumstead , UK

Postby maori » Sun Jan 11, 2009 22:32

Thanks CE

if you could post a fix in here once done i would be gratefull :P no hurry though


Return to “Help”

Who is online

Users browsing this forum: No registered users and 14 guests