Subject: bug#11080: 24.0.94; Assertion failure in signal handler

From: Johan Bockgård <[email-masked]>
Date: Sat, 24 Mar 2012 17:29:55 +0100

Eli Zaretskii <[email-masked]> writes:

>> From: Johan Bockgård <[email-masked]>
>> Date: Sat, 24 Mar 2012 00:24:22 +0100
>> 
>> 
>> emacs -Q
>> 
>> ;; "foo" is any non-existing or non-xbm file.
>> ;; Eval:
>> (face-remap-add-relative 'default '(:stipple "foo"))
>> 
>> C-h k x
>> 
>> Move the mouse pointer over one of the links in the lower window.
>> 
>>    =>
>> 
>> eval.c:3403: Emacs fatal error: assertion failed: !handling_signal
>
> Please show the full backtrace, all the way up to the `main' function,
> and also the Lisp backtrace.  It is important to see all that to
> understand how come this code was called with handling_signal
> non-zero.  Thanks.

There is no Lisp backtrace. This is the rest:

#18 0x000000000057b459 in event_handler_gdk (gxev=0x7fffffffcf80, 
    ev=0x17d59c0, data=0x0) at xterm.c:5834
#19 0x00007ffff7548216 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#20 0x00007ffff7549fc6 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#21 0x00007ffff754a06e in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#22 0x00007ffff65bca5d in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff65bd258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ffff65bd429 in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ffff78d4fc1 in gtk_main_iteration ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#26 0x000000000057e2f0 in XTread_socket (terminal=0x112fa60, expected=1, 
    hold_quit=0x7fffffffd210) at xterm.c:7184
#27 0x0000000000628c68 in read_avail_input (expected=1) at keyboard.c:6857
#28 0x0000000000629705 in handle_async_input () at keyboard.c:7185
#29 0x0000000000629724 in process_pending_signals () at keyboard.c:7201
#30 0x000000000077823b in wait_reading_process_output (time_limit=30, 
    microsecs=0, read_kbd=-1, do_display=1, wait_for_cell=15632898, 
    wait_proc=0x0, just_wait_proc=0) at process.c:4341
#31 0x0000000000425241 in sit_for (timeout=120, reading=1, do_display=1)
    at dispnew.c:6063
#32 0x000000000061ad37 in read_char (commandflag=1, nmaps=2, 
    maps=0x7fffffffd9c0, prev_event=15632898, used_mouse_menu=0x7fffffffdb08, 
    end_time=0x0) at keyboard.c:2690
#33 0x000000000063149a in read_key_sequence (keybuf=0x7fffffffdcd0, 
    bufsize=30, prompt=15632898, dont_downcase_last=0, 
    can_return_switch_frame=1, fix_current_buffer=1) at keyboard.c:9326
#34 0x0000000000617099 in command_loop_1 () at keyboard.c:1448
#35 0x00000000006f1c04 in internal_condition_case (
    bfun=0x61696d <command_loop_1>, handlers=15685090, 
    hfun=0x616048 <cmd_error>) at eval.c:1515
#36 0x0000000000616552 in command_loop_2 (ignore=15632898) at keyboard.c:1159
#37 0x00000000006f14cf in internal_catch (tag=15680882, 
    func=0x61652c <command_loop_2>, arg=15632898) at eval.c:1272
#38 0x0000000000616505 in command_loop () at keyboard.c:1138
#39 0x000000000061589a in recursive_edit_1 () at keyboard.c:758
#40 0x0000000000615c71 in Frecursive_edit () at keyboard.c:822
#41 0x00000000006133de in main (argc=2, argv=0x7fffffffe5b8) at emacs.c:1715
(gdb)