<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>26344</bug_id>
          
          <creation_ts>2009-06-12 01:38:25 -0700</creation_ts>
          <short_desc>[gtk] crash when trying to hide then select an &lt;input&gt;</short_desc>
          <delta_ts>2010-03-03 13:19:46 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.fdn.fr/~arenevier/tmp/webkit_crash_select.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="arno.">a.renevier</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>gustavo</cc>
    
    <cc>jmalonzo</cc>
    
    <cc>stefan.roeck</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>125453</commentid>
    <comment_count>0</comment_count>
    <who name="arno.">a.renevier</who>
    <bug_when>2009-06-12 01:38:25 -0700</bug_when>
    <thetext>Hi, GtkLauncher crashes when setting .style.display = &quot;none&quot;; 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 ?? ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>132986</commentid>
    <comment_count>1</comment_count>
    <who name="Gustavo Noronha (kov)">gustavo</who>
    <bug_when>2009-07-19 04:14:44 -0700</bug_when>
    <thetext>Hey, can you post a more complete trace? Specially, the message that comes before #0 is very useful most of the times. This doesn&apos;t seem to be GTK+-specific, too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133016</commentid>
    <comment_count>2</comment_count>
    <who name="arno.">a.renevier</who>
    <bug_when>2009-07-19 14:01:13 -0700</bug_when>
    <thetext>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 &lt;http://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type &quot;show copying&quot;
and &quot;show warranty&quot; for details.
This GDB was configured as &quot;x86_64-linux-gnu&quot;.
For bug reporting instructions, please see:
&lt;http://www.gnu.org/software/gdb/bugs/&gt;...
(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&amp;) () from /home/arno/midori/WebKit/.libs/libwebkit-1.0.so.2
#3  0x00007fffeb0482e4 in ?? ()
#4  0x00007fffe39e90f8 in ?? ()
#5  0x0000000000000000 in ?? ()</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>195731</commentid>
    <comment_count>3</comment_count>
    <who name="arno.">a.renevier</who>
    <bug_when>2010-03-03 13:19:46 -0800</bug_when>
    <thetext>bug does not happen any more with latest webkit.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>