bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9498: "Not an in-range integer,..." when using Synergy


From: Yoshiaki Kasahara
Subject: bug#9498: "Not an in-range integer,..." when using Synergy
Date: Thu, 15 Sep 2011 11:15:32 +0900 (JST)

On Wed, 14 Sep 2011 08:10:00 -0400,
        Eli Zaretskii <address@hidden> said:

> Could you please go up one stack frame, to frame #3, and show the
> value of lisp_selection (with the same "pp" command)?

(gdb) pp lisp_selection
3206596321

On Wed, 14 Sep 2011 10:58:48 -0400,
        Chong Yidong <address@hidden> said:

> Could you also do
> 
> f 3
> pp selection_symbol

(gdb) pp selection_symbol
PRIMARY

Then I updated the source tree and tried again.


Breakpoint 3, error (
    m=0x6e7eb8 "Not an in-range integer, float, or cons of integers")
    at eval.c:1974
1974      va_start (ap, m);
(gdb) where
#0  error (m=0x6e7eb8 "Not an in-range integer, float, or cons of integers")
    at eval.c:1974
#1  0x00000000006050b6 in cons_to_signed (c=13044703648, min=-2147483648,
    max=2147483647) at data.c:2430
#2  0x0000000000526b37 in lisp_data_to_selection_data (display=0x10f1000,
    obj=13044703648, data_ret=0xbf8800, type_ret=0xbf8818, size_ret=0xbf8808,
    format_ret=0xbf8810, nofree_ret=0xbf8820) at xselect.c:1790
#3  0x0000000000524e25 in x_convert_selection (event=0x7fffffffcbc0,
    selection_symbol=11922226, target_symbol=12298082, property=271,
    for_multiple=0, dpyinfo=0x1003400) at xselect.c:937
#4  0x0000000000524bb7 in x_handle_selection_request (event=0x7fffffffcbc0)
    at xselect.c:858
#5  0x00000000005250c0 in x_handle_selection_event (event=0x7fffffffcbc0)
    at xselect.c:1018
#6  0x000000000057cef2 in swallow_events (do_display=1) at keyboard.c:4183
#7  0x00000000006822d8 in wait_reading_process_output (time_limit=30,
    microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=11855922,
    wait_proc=0x0, just_wait_proc=0) at process.c:4695
#8  0x000000000042284a in sit_for (timeout=120, reading=1, do_display=1)
    at dispnew.c:5967
#9  0x0000000000579be1 in read_char (commandflag=1, nmaps=2,
    maps=0x7fffffffd380, prev_event=11855922, used_mouse_menu=0x7fffffffd604,
    end_time=0x0) at keyboard.c:2690
#10 0x0000000000587039 in read_key_sequence (keybuf=0x7fffffffd8a0,
    bufsize=30, prompt=11855922, dont_downcase_last=0,
    can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9285
#11 0x00000000005771a9 in command_loop_1 () at keyboard.c:1446
#12 0x000000000061d2b3 in internal_condition_case (
    bfun=0x576df0 <command_loop_1>, handlers=11936514,
    hfun=0x5766c0 <cmd_error>) at eval.c:1491
#13 0x0000000000576ab2 in command_loop_2 (ignore=11855922) at keyboard.c:1157
#14 0x000000000061cc28 in internal_catch (tag=11928466,
    func=0x576a90 <command_loop_2>, arg=11855922) at eval.c:1248
#15 0x0000000000576a64 in command_loop () at keyboard.c:1136
#16 0x00000000005761c2 in recursive_edit_1 () at keyboard.c:756
#17 0x000000000057636f in Frecursive_edit () at keyboard.c:820
#18 0x0000000000574739 in main (argc=2, argv=0x7fffffffde40) at emacs.c:1706
(gdb) frame 1
#1  0x00000000006050b6 in cons_to_signed (c=13044703648, min=-2147483648,
    max=2147483647) at data.c:2430
2430        error ("Not an in-range integer, float, or cons of integers");
(gdb) p val
$1 = 3261175912
(gdb) pp c
3261175912
(gdb) up
#2  0x0000000000526b37 in lisp_data_to_selection_data (display=0x10f1000,
    obj=13044703648, data_ret=0xbf8800, type_ret=0xbf8818, size_ret=0xbf8808,
    format_ret=0xbf8810, nofree_ret=0xbf8820) at xselect.c:1790
1790          (*(long **) data_ret) [0] = cons_to_signed (obj, X_LONG_MIN, 
X_LONG_MAX);
(gdb) pp obj
3261175912
(gdb) up
#3  0x0000000000524e25 in x_convert_selection (event=0x7fffffffcbc0,
    selection_symbol=11922226, target_symbol=12298082, property=271,
    for_multiple=0, dpyinfo=0x1003400) at xselect.c:937
937       lisp_data_to_selection_data (SELECTION_EVENT_DISPLAY (event),
(gdb) pp lisp_selection
3261175912
(gdb) pp selection_symbol
PRIMARY






reply via email to

[Prev in Thread] Current Thread [Next in Thread]