all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sujith Manoharan <sujith@msujith.org>
To: 22148@debbugs.gnu.org
Cc: Sujith Manoharan <sujith@msujith.org>
Subject: bug#22148: 25.1.50; Segmentation fault when saving file
Date: Fri, 18 Dec 2015 07:31:57 +0530	[thread overview]
Message-ID: <22131.26901.985486.906926@gargle.gargle.HOWL> (raw)
In-Reply-To: <838u506r1z.fsf@gnu.org>

Sorry for the delay, I did not get any email from debbugs for
new messages in the bug. I checked the spam folder too.

> Is it possible for you to send that .org file (off-list), so I could
> try debugging this on my system?

It's this file: http://msujith.net/dir/unravel.org

> We'd appreciate if you could switch to tracking the emacs-25 branch
> instead.

I've done that - and there doesn't seem to be any crash now.
Will update if any crash happens.

> > Program received signal SIGSEGV, Segmentation fault.
> > 0x000000000047c38b in encode_char (charset=charset@entry=0xb2fd88 <charset_table_init+16072>, c=c@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?

I'll run the master branch and see if I can reproduce this
again and check the values of the charset variables.

> > (gdb) bt
> > #0  0x000000000047c38b in encode_char (charset=charset@entry=0xb2fd88 <charset_table_init+16072>, c=c@entry=173) at charset.c:1760
> > #1  0x000000000048772b in char_encodable_p (c=c@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?

It is a normal character ('E'), nothing special.

Thanks for looking into this issue.





  reply	other threads:[~2015-12-18  2:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-12  3:30 bug#22148: 25.1.50; Segmentation fault when saving file Sujith Manoharan
2015-12-12  7:53 ` Eli Zaretskii
2015-12-18  2:01   ` Sujith Manoharan [this message]
2015-12-24  2:04     ` Sujith Manoharan
2015-12-24  3:47       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=22131.26901.985486.906926@gargle.gargle.HOWL \
    --to=sujith@msujith.org \
    --cc=22148@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.