This project is read-only.

Crashes on many 'combo boxes'


When trying to use certain combo boxes on some sites, the application will crash (your demo, as well as your browser implemented in my own application). A test website for this would be something like
(try to use the states combo box and the application crashes)
This could be an awesomium issue, i'm unsure.


Koichi wrote Oct 13, 2010 at 11:33 AM

Sadly, I confirm, any drop down <SELECT> tag causes the application to crash.
Khrona Navi demo doesn't crash when clicking on those tags, though.

Koichi wrote Oct 13, 2010 at 2:47 PM

I have figured it out!

CjcAwesomiumWrapper::RenderBuffer declares a private constant:
const Awesomium::RenderBuffer* renderBuffer;

But within the public method ReplaceBuffer it attempts to free the pointed memory:
delete this->renderBuffer;

But a constant can't be deleted, so the runtime throws an error at assert:

So I comment out that line.
But then no options are displayed.
And it's unclear which code should free the RenderBuffer occupied memory.

Koichi wrote Oct 13, 2010 at 5:27 PM

I have fixed affected files and uploaded them.

Note, that it doesn't display expanded combo boxes properly yet.
But, at least that doesn't crash the application anymore.

wrote Feb 14, 2013 at 9:14 PM