GNU bug report logs -
#22148
25.1.50; Segmentation fault when saving file
Previous Next
Reported by: Sujith Manoharan <sujith <at> msujith.org>
Date: Sat, 12 Dec 2015 03:31:01 UTC
Severity: normal
Found in version 25.1.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Sat, 12 Dec 2015 09:00:51 +0530
> From: Sujith Manoharan <sujith <at> msujith.org>
>
> Emacs crashes when saving a .org file. It happened a few times
> when I would just open it, change a line and save it.
Is it possible for you to send that .org file (off-list), so I could
try debugging this on my system?
> I got the backtrace once in gdb, I've attached it below. The crash
> doesn't happen consistently, sometimes opening a mbox crashes too.
> I am using the master branch.
We'd appreciate if you could switch to tracking the emacs-25 branch
instead.
> Program received signal SIGSEGV, Segmentation fault.
> 0x000000000047c38b in encode_char (charset=charset <at> entry=0xb2fd88 <charset_table_init+16072>, c=c <at> entry=173) at charset.c:1760
> 1760 code_index = GET_TEMP_CHARSET_WORK_ENCODER (c);
What are the values of the following variables:
temp_charset_work
temp_charset_work->table
temp_charset_work->table.encoder
Also, is it possible to reproduce this in an unoptimized build?
> (gdb) bt
> #0 0x000000000047c38b in encode_char (charset=charset <at> entry=0xb2fd88 <charset_table_init+16072>, c=c <at> entry=173) at charset.c:1760
> #1 0x000000000048772b in char_encodable_p (c=c <at> entry=173, attrs=<optimized out>) at coding.c:8941
> #2 0x0000000000490088 in Ffind_coding_systems_region_internal (start=6, end=<optimized out>, exclude=<optimized out>) at coding.c:9039
Do you have any idea where in that file is that character whose
codepoint is 173? Seems like it could be at buffer position 6 or near
that. If that's true, can you tell what character is there?
Thanks.
This bug report was last modified 9 years and 208 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.