<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - weston-editor crashes when writing a long line"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65186">65186</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>weston-editor crashes when writing a long line
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>menzinoah@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>weston
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr></table>
      <p>
        <div>
        <pre>If you write a long line in weston-editor (just press a key and hold it for
some time) weston-editor crashes with Error message:

Error sending request: Numerical result out of range
Program received signal SIGABRT, Aborted.


gdb weston-editor:

--------------- snip ------------
input language is en 
input language is en
Error sending request: Numerical result out of range

Program received signal SIGABRT, Aborted.
0x00007ffff521b1c9 in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff521b1c9 in raise () from /usr/lib/libc.so.6
#1  0x00007ffff521c5c8 in abort () from /usr/lib/libc.so.6
#2  0x00007ffff7bd51b4 in wl_proxy_marshal (proxy=0x704680, 
    opcode=opcode@entry=5) at wayland-client.c:376
#3  0x00000000004062bb in wl_text_input_set_surrounding_text (
    anchor=<optimized out>, cursor=<optimized out>, text=<optimized out>, 
    wl_text_input=<optimized out>) at text-client-protocol.h:464
#4  text_entry_update (entry=entry@entry=0x712e40) at editor.c:644
#5  0x000000000040652d in text_entry_insert_at_cursor (
    entry=entry@entry=0x712e40, text=text@entry=0x7fffffffe3f0 "i", 
    cursor=cursor@entry=0, anchor=anchor@entry=0) at editor.c:687
#6  0x000000000040676f in key_handler (window=<optimized out>, 
    input=<optimized out>, time=<optimized out>, key=<optimized out>, 
    sym=<optimized out>, state=<optimized out>, data=0x7fffffffe550)
    at editor.c:1109
#7  0x0000000000408578 in keyboard_repeat_func (task=0x629ca0, 
    events=<optimized out>) at window.c:2913
#8  0x000000000040dc07 in display_run (display=0x624750) at window.c:5240
#9  0x0000000000405d5c in main (argc=1, argv=<optimized out>) at editor.c:1184


weston -v:

Date: 2013-05-30 CEST
[15:09:51.334] weston 1.1.90
               <a href="http://wayland.freedesktop.org/">http://wayland.freedesktop.org/</a>
               Bug reports to:
<a href="https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.1.90">https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.1.90</a>
               Build: 1.1.0-174-gb846a8d-dirty screenshooter: Scale damage by
output scale in screen recorder (2013-05-29 10:22:15 -0400)
[15:09:51.334] OS: Linux, 3.9.4-1-ARCH, #1 SMP PREEMPT Sat May 25 16:14:55 CEST
2013, x86_64</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>