Kirix Support Forums

wxWebConnect::InitEngin crash at runtime

Please post all general questions, comments, bug reports, and any other wxWebConnect feedback here.

wxWebConnect::InitEngin crash at runtime

Postby Sem on Wed Jun 23, 2010 4:59 am

hello,
compiling wxWebConnect worked fine ( wxWidgets trunk + mingw-tdm ) but it always crash.
I tried to debug and found why it crashes and where :

Code: Select all
wxWebControl::InitEngine
   GeckoEngine::Init
        m_appshell = nsCreateInstance(appshell_cid);


Using watches in nsCreateInstance
Code: Select all
comp_mgr->CreateInstance(cid,
                            0,
                            nsISupportsIID,
                            (void**)&res.p);


this set res.p but m_appshell.p is always 0x0 . I can't find why.

Thanks for help,
regards,
Sem
Sem
Registered User
 
Posts: 3
Joined: Wed Jun 23, 2010 4:52 am

Re: wxWebConnect::InitEngin crash at runtime

Postby Ben on Wed Jun 23, 2010 3:46 pm

What version of XULRunner are you using?

Ben
Ben Williams
Kirix Support Team
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Re: wxWebConnect::InitEngin crash at runtime

Postby Sem on Wed Jun 23, 2010 5:18 pm

hello,
i tried the one from wxwebconnect-1.1 zip and tried xulrunner-1.9.2 from mozilla,
and FindXulRunner found the correct path,
best regards,
Sem
Sem
Registered User
 
Posts: 3
Joined: Wed Jun 23, 2010 4:52 am

Re: wxWebConnect::InitEngin crash at runtime

Postby Ben on Thu Jun 24, 2010 3:16 pm

Hi Sam,

I think that this is a mingw issue-- probably some structure alignment issue. I can't provide any more information, because I don't use mingw and don't have a mingw development environment set up. If you find the fix, please let me know. It's probably something small.

Best,
Ben
Ben Williams
Kirix Support Team
User avatar
Ben
Kirix Support Team
 
Posts: 525
Joined: Mon Dec 19, 2005 6:29 am

Re: wxWebConnect::InitEngin crash at runtime

Postby Sem on Thu Jun 24, 2010 4:02 pm

hi,
i didn't find yet and didn't have time to search, but if i do, i will let you know, of course,
regards,
Sem
Sem
Registered User
 
Posts: 3
Joined: Wed Jun 23, 2010 4:52 am

Return to wxWebConnect Questions, Thoughts & Feedback