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

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

bug#27398: segfault in turn_on_face


From: Björn Griebenow
Subject: bug#27398: segfault in turn_on_face
Date: Fri, 16 Jun 2017 13:46:03 +0200

Hi Emacs Team,
 
I have encountered a bug which segfaults Emacs in "-nw" mode but not in graphical mode.
 
I can reproduce the bug with:
- Emacs 25.1 (prebuild by Debian as version 25.1+1-4)
- Emacs 25.2 (fresh build from git repository (emacs-25.2 branch))
 
My terminal application is rxvt-unicode-256color and Emacs is started on a remote machine over SSH.
 
 
This is the stack trace with the debian build: (also attached to the mail)
 
(gdb) bt
#0  turn_on_face (f=0xc3e680, face_id=22) at term.c:1895
#1  0x00000000004b3e12 in tty_write_glyphs (f=<optimized out>, string=<optimized out>, len=<optimized out>) at term.c:767
#2  0x000000000041d2ba in update_frame_line (address@hidden, address@hidden) at dispnew.c:4838
#3  0x0000000000420a76 in update_frame_1 (address@hidden, address@hidden, inhibit_id_p=<optimized out>, address@hidden, address@hidden) at dispnew.c:4540
#4  0x000000000042225e in update_frame (address@hidden, force_p=<optimized out>, address@hidden, address@hidden) at dispnew.c:3122
#5  0x0000000000454f8c in redisplay_internal () at xdisp.c:14044
#6  0x00000000004562e1 in echo_area_display (address@hidden) at xdisp.c:11361
#7  0x000000000045641a in message3_nolog (address@hidden) at xdisp.c:10344
#8  0x000000000045656c in message3 (address@hidden) at xdisp.c:10273
#9  0x000000000055f29c in Fmessage (nargs=<optimized out>, args=<optimized out>) at editfns.c:3698
#10 0x0000000000565fd9 in Ffuncall (nargs=4, address@hidden) at eval.c:2673
#11 0x000000000059b243 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, address@hidden, args=<optimized out>, address@hidden) at bytecode.c:880
#12 0x0000000000565bf6 in funcall_lambda (fun=140737488344096, address@hidden, arg_vector=0x1bb18e4, address@hidden) at eval.c:2855
#13 0x0000000000565ecb in Ffuncall (address@hidden, address@hidden) at eval.c:2754
#14 0x00000000005661ca in call1 (address@hidden, arg1=<optimized out>) at eval.c:2552
#15 0x000000000056d28a in mapcar1 (leni=22, address@hidden, address@hidden, address@hidden) at fns.c:2522
#16 0x000000000056d692 in Fmapc (function=13266240, sequence=49588339) at fns.c:2606
#17 0x00000000005660c5 in Ffuncall (nargs=3, address@hidden) at eval.c:2696
#18 0x000000000059b243 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, address@hidden, args=<optimized out>, address@hidden) at bytecode.c:880
#19 0x0000000000565bf6 in funcall_lambda (fun=140737488344496, address@hidden, arg_vector=0x1bb0364, address@hidden) at eval.c:2855
#20 0x0000000000565ecb in Ffuncall (nargs=2, address@hidden) at eval.c:2754
#21 0x000000000059b243 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, address@hidden, args=<optimized out>, address@hidden) at bytecode.c:880
#22 0x0000000000565bf6 in funcall_lambda (fun=140737488344928, address@hidden, arg_vector=0x1ba4a04, address@hidden) at eval.c:2855
#23 0x0000000000565ecb in Ffuncall (nargs=1, address@hidden) at eval.c:2754
#24 0x000000000059b243 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, address@hidden, args=<optimized out>, address@hidden) at bytecode.c:880
#25 0x0000000000565bf6 in funcall_lambda (fun=140737488345776, address@hidden, arg_vector=0x1bac8e4, address@hidden) at eval.c:2855
#26 0x0000000000565ecb in Ffuncall (nargs=1, args=0x7fffffffd8c0) at eval.c:2754
#27 0x0000000000566129 in funcall_nil (nargs=<optimized out>, args=<optimized out>) at eval.c:2332
#28 0x0000000000564235 in run_hook_with_args (nargs=1, args=0x7fffffffd8c0, funcall=0x566120 <funcall_nil>) at eval.c:2509
#29 0x0000000000564413 in run_hook_with_args (funcall=<optimized out>, args=<optimized out>, nargs=<optimized out>) at eval.c:2355
#30 Frun_hook_with_args (args=0x7fffffffd8c0, nargs=1) at eval.c:2374
#31 run_hook (hook=<optimized out>) at eval.c:2522
#32 Frun_hooks (nargs=2, args=0x7fffffffd9b0) at eval.c:2356
#33 0x0000000000565fd9 in Ffuncall (nargs=3, address@hidden) at eval.c:2673
#34 0x000000000059b243 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, address@hidden, args=<optimized out>, address@hidden <pure+1202844>)
    at bytecode.c:880
#35 0x0000000000565bf6 in funcall_lambda (fun=140737488346256, address@hidden, arg_vector=0x97f43c <pure+1202844>, address@hidden) at eval.c:2855
#36 0x0000000000565ecb in Ffuncall (nargs=1, address@hidden) at eval.c:2754
#37 0x000000000059b243 in exec_byte_code (bytestr=<optimized out>, vector=<optimized out>, maxdepth=<optimized out>, args_template=<optimized out>, address@hidden, args=<optimized out>, address@hidden <pure+1198820>)
    at bytecode.c:880
#38 0x0000000000565bf6 in funcall_lambda (fun=0, address@hidden, address@hidden, arg_vector=0x97e484 <pure+1198820>, address@hidden) at eval.c:2855
#39 0x0000000000564f48 in apply_lambda (fun=9954389, args=<optimized out>, address@hidden) at eval.c:2794
#40 0x00000000005652aa in eval_sub (address@hidden) at eval.c:2241
#41 0x0000000000568b7c in Feval (form=18816083, lexical=<optimized out>) at eval.c:1988
#42 0x00000000005647e2 in internal_condition_case (address@hidden <top_level_2>, address@hidden, address@hidden <cmd_error>) at eval.c:1309
#43 0x00000000004f40c0 in top_level_1 (address@hidden) at keyboard.c:1124
#44 0x0000000000564783 in internal_catch (address@hidden, address@hidden <top_level_1>, address@hidden) at eval.c:1074
#45 0x00000000004f190d in command_loop () at keyboard.c:1085
#46 0x00000000004f6147 in recursive_edit_1 () at keyboard.c:692
#47 0x00000000004f64a8 in Frecursive_edit () at keyboard.c:763
#48 0x0000000000419212 in main (argc=2, argv=0x7fffffffe0b8) at emacs.c:1626
(gdb)
 
What can I do to help to investigate this bug?
 
 
Thank you very much.
 
Björn Griebenow
 

Attachment: emacs_segfault_backtrace.txt
Description: Text document


reply via email to

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