Re: wxAssert problem in the cseditor code on windows
"Christian Van Brussel" <[email protected]>
| Newsgroups | gmane.comp.graphics.crystalspace.devel |
|---|---|
| Message-ID | <[email protected]> |
Not sure that the call to wxYield() in CS3DPanel::PushFrame() is necessary. Does it work if you remove it? > Good afternoon, > > Before getting the varedittest branch, I wanted to get csEditor to run > on Windows, based on the source present in my branch (which shouldn't be > different from the code in the trunk). I'm on > /CS/branches/soc2012/editor branch, by the way. The code builds, just > like it did on Ubuntu, but cseditor refuses to work. It's showing a > wxAssertFailure dialog and crashes. > > After some digging around, I've seen that it's because wxOnAssert seems > to be calling itself (appbase.cpp line 691) causing wxTrap() which in > turn, triggers a debugBreak(). > > The source for this seems to be in the CS3DPanel component. When > CS3DPanel::PushFrame() gets called, it calls wxYield(). However, this > function crashes, since it detects that another call to it was still > under way somewhere lower on the stack (I think; this is how the > function seems to work, but I couldn't actually find the other call on > the main thread's call stack). > > Here is the stack trace from the main thread leading up to the > DebugBreak(): > http://pastebin.com/0EYy2e3Y > > I cannot understand what part of the actual editor could be causing > this. If someone could shed some light upon this, I would be more than > grateful! > > Regards, > Andrei Bârsan > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Crystal-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/crystal-develop > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Crystal-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-develop