WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
26344
[gtk] crash when trying to hide then select an <input>
https://bugs.webkit.org/show_bug.cgi?id=26344
Summary
[gtk] crash when trying to hide then select an <input>
arno.
Reported
2009-06-12 01:38:25 PDT
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 ?? ()
Attachments
Add attachment
proposed patch, testcase, etc.
Gustavo Noronha (kov)
Comment 1
2009-07-19 04:14:44 PDT
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.
arno.
Comment 2
2009-07-19 14:01:13 PDT
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 ?? ()
arno.
Comment 3
2010-03-03 13:19:46 PST
bug does not happen any more with latest webkit.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug