[bug]: segfault from CSS patch + table + drag and drop
There is unfortunately a severe problem with the CSS patch that was posted recently (the one that fixed the handling of CSS properties on the HTML element). It makes Dillo segfault when you drag the cursor across the text in a table cell. Test HTML and a gdb backtrace are attached. You can see that dw::fltk::FltkViewBase::drawRectangle() is called with a NULL color. I haven't determined exactly which circumstances trigger the problem - text in <p>s and <li>s appears to be OK, but text in a <td> reliably segfaults. Any suggestions as to other elements that I could test? (NB: I compile Dillo with -O0, your backtrace may look a bit different if you use a different optimisation level. Also, I always run Dillo from valgrind.) Regards, Jeremy Henty
On Sun, Sep 19, 2010 at 03:36:18PM +0100, Jeremy Henty wrote:
There is unfortunately a severe problem with the CSS patch that was posted recently (the one that fixed the handling of CSS properties on the HTML element). It makes Dillo segfault when you drag the cursor across the text in a table cell. Test HTML and a gdb backtrace are attached. You can see that dw::fltk::FltkViewBase::drawRectangle() is called with a NULL color.
That is probabely because I had to remove the background-color definition from the user-agent style (see the other mail regarding reintroduction of bg_color in dillorc). This should be fixed once we add bg_color or find another solution. Cheers, Johannes
participants (2)
-
Johannes.Hofmann@gmx.de
-
onepoint@starurchin.org