Hi, GtkLauncher crashes when setting .style.display = "none"; then calling .select() method of an input. #0 0x00007fb99025de35 in WebCore::RenderTextControl::setSelectionRange () from /home/arno/midori/WebKit/.libs/libwebkit-1.0.so.2 #1 0x00007fb99025e210 in WebCore::RenderTextControl::select () from /home/arno/midori/WebKit/.libs/libwebkit-1.0.so.2 #2 0x00007fb9904d8041 in WebCore::jsHTMLInputElementPrototypeFunctionSelect () from /home/arno/midori/WebKit/.libs/libwebkit-1.0.so.2 #3 0x00007fb9812b92f4 in ?? () #4 0x00007fb980a260f8 in ?? () #5 0x0000000000000000 in ?? ()
Hey, can you post a more complete trace? Specially, the message that comes before #0 is very useful most of the times. This doesn't seem to be GTK+-specific, too.
22:59 ~ % gdb ~/midori/WebKit/Programs/GtkLauncher GNU gdb (GDB) 6.8.50.20090628-cvs-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... (gdb) run http://www.fdn.fr/~arenevier/tmp/webkit_crash_select.html Starting program: /home/arno/midori/WebKit/Programs/GtkLauncher http://www.fdn.fr/~arenevier/tmp/webkit_crash_select.html [Thread debugging using libthread_db enabled] [New Thread 0x7fffe8dd0950 (LWP 15116)] [Thread 0x7fffe8dd0950 (LWP 15116) exited] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7576e80 in WebCore::RenderTextControl::setSelectionRange(int, int) () from /home/arno/midori/WebKit/.libs/libwebkit-1.0.so.2 Current language: auto; currently asm (gdb) where #0 0x00007ffff7576e80 in WebCore::RenderTextControl::setSelectionRange(int, int) () from /home/arno/midori/WebKit/.libs/libwebkit-1.0.so.2 #1 0x00007ffff75772b0 in WebCore::RenderTextControl::select() () from /home/arno/midori/WebKit/.libs/libwebkit-1.0.so.2 #2 0x00007ffff77e9101 in WebCore::jsHTMLInputElementPrototypeFunctionSelect(JSC::ExecState*, JSC::JSObject*, JSC::JSValue, JSC::ArgList const&) () from /home/arno/midori/WebKit/.libs/libwebkit-1.0.so.2 #3 0x00007fffeb0482e4 in ?? () #4 0x00007fffe39e90f8 in ?? () #5 0x0000000000000000 in ?? ()
bug does not happen any more with latest webkit.