From: Yagnesh Raghava Yakkala <hi@yagnesh.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 18815@debbugs.gnu.org
Subject: bug#18815: 25.0.50; emacs crash
Date: Tue, 28 Oct 2014 03:36:04 +0900 [thread overview]
Message-ID: <8738a9mkbv.fsf@sealion.lowtem.hokudai.ac.jp> (raw)
In-Reply-To: <83vbn52zyw.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Oct 2014 19:18:31 +0200")
Hello Eli,
On Oct 28 2014, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Yagnesh Raghava Yakkala <hi@yagnesh.org>
>> Cc: 18815@debbugs.gnu.org
>> Date: Mon, 27 Oct 2014 07:57:40 +0900
>>
>> (gdb) frame 5
>> #5 0x000000000050fa9d in bidi_level_of_next_char (bidi_it=0x7fffffff3768) at bidi.c:3092
>> 3092 type = bidi_type_of_next_char (bidi_it);
>> (gdb) p bidi_it->string
>> $1 = {
>> lstring = 17660721,
>> s = 0x0,
>> schars = 8,
>> bufpos = 0,
>> from_disp_str = false,
>> unibyte = true
>> }
>> (gdb) p bidi_it->string.lstring
>> $2 = 17660721
>> (gdb) xtype
>> Lisp_String
>> (gdb) xstring
>> $3 = (struct Lisp_String *) 0x10d7b30
>> " (%l,%c)"
>
> This string comes from column-number-mode. But if I invoke
> column-number-mode, I still cannot reproduce the problem, so there's
> something else at work here. Can you describe what you do to
> reproduce the crash?
Crashes on different tasks. Using magit, some times C-x C-f. But one reliable
way was, selecting a url in a buffer with M-x ffap and RET.
> Also, please show what the following commands produce:
>
> (gdb) frame 3
> (gdb) p bidi_it->charpos
> (gdb) p bidi_it->next_for_neutral
> (gdb) p bidi_it->prev_for_neutral
> (gdb) p bidi_it->bracket_pairing_pos
> (gdb) p bidi_it->bracket_enclosed_type
> (gdb) p bidi_cache_idx
> (gdb) p bidi_cache_start
Turns out, I don't even know how to run those commands and get the output from
gnome-terminal. With the execution of first command above, bidi.c file came
out in a little box on the top of gnome-terminal which is hindering me to copy
and paste.
Anyway, I tried "M-x gud-gdb" first time ever and got this, let me know I made
a mistake in executing listed commands.
--8<---------------cut here---------------start------------->8---
(gdb) run
Starting program: /home/yagnesh/bin/emacs
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffec5b1700 (LWP 31087)]
[New Thread 0x7fffeb29f700 (LWP 31088)]
[New Thread 0x7fffe9681700 (LWP 31089)]
bidi.c:2856: Emacs fatal error: assertion failed: bidi_it->next_for_neutral.charpos > bidi_it->charpos || (bidi_it->next_for_neutral.charpos == bidi_it->charpos && bidi_it->type == PDI)
Fatal error 6: Aborted
Backtrace:
/home/yagnesh/bin/emacs[0x59d66f]
/home/yagnesh/bin/emacs[0x573081]
/home/yagnesh/bin/emacs[0x5fb968]
/home/yagnesh/bin/emacs[0x50f332]
/home/yagnesh/bin/emacs[0x50f83c]
/home/yagnesh/bin/emacs[0x50fa9d]
/home/yagnesh/bin/emacs[0x510094]
/home/yagnesh/bin/emacs[0x45368b]
/home/yagnesh/bin/emacs[0x45396e]
/home/yagnesh/bin/emacs[0x450dbb]
/home/yagnesh/bin/emacs[0x48871a]
/home/yagnesh/bin/emacs[0x484c83]
/home/yagnesh/bin/emacs[0x4857f3]
/home/yagnesh/bin/emacs[0x4857f3]
/home/yagnesh/bin/emacs[0x4857f3]
/home/yagnesh/bin/emacs[0x4857f3]
/home/yagnesh/bin/emacs[0x48415c]
/home/yagnesh/bin/emacs[0x483cb1]
/home/yagnesh/bin/emacs[0x46eed4]
/home/yagnesh/bin/emacs[0x46448c]
/home/yagnesh/bin/emacs[0x61a4c6]
/home/yagnesh/bin/emacs[0x4643fa]
/home/yagnesh/bin/emacs[0x4632b3]
/home/yagnesh/bin/emacs[0x463d5e]
/home/yagnesh/bin/emacs[0x674772]
/home/yagnesh/bin/emacs[0x4242e9]
/home/yagnesh/bin/emacs[0x57b27e]
/home/yagnesh/bin/emacs[0x58a3ae]
/home/yagnesh/bin/emacs[0x577c32]
/home/yagnesh/bin/emacs[0x61a352]
/home/yagnesh/bin/emacs[0x5774bf]
/home/yagnesh/bin/emacs[0x6197a0]
/home/yagnesh/bin/emacs[0x57746d]
/home/yagnesh/bin/emacs[0x576a91]
/home/yagnesh/bin/emacs[0x576c79]
/home/yagnesh/bin/emacs[0x574a78]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7ffff13cab45]
/home/yagnesh/bin/emacs[0x4152d9]
Program received signal SIGABRT, Aborted.
0x00007ffff176079b in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/pt-raise.c:37
37 ../nptl/sysdeps/unix/sysv/linux/pt-raise.c: No such file or directory.
(gdb) frame 5
#5 0x000000000050fa9d in bidi_level_of_next_char (bidi_it=0x7fffffff36a8) at bidi.c:3092
(gdb) p bidi_it->string
$1 = {lstring = 17660721, s = 0x0, schars = 8, bufpos = 0, from_disp_str = false, unibyte = true}
(gdb) p bidi_it->string.lstring
$2 = 17660721
(gdb) xtype
Undefined command: "xtype". Try "help".
(gdb) source ~/git/build-emacs/emacs/src/.gdbinit
Warning: /home/yagnesh/../lwlib: No such file or directory.
SIGINT is used by the debugger.
Are you sure you want to change it? (y or n) [answered Y; input not from terminal]
DISPLAY = :0
TERM = dumb
Breakpoint 1 at 0x573002: file emacs.c, line 361.
Temporary breakpoint 2 at 0x59bd81: file sysdep.c, line 915.
(gdb) xtype
Lisp_String
(gdb) xstring
$3 = (struct Lisp_String *) 0x10d7b30
" (%l,%c)"
(gdb) frame 3
#3 0x000000000050f332 in bidi_resolve_neutral (bidi_it=0x7fffffff36a8) at bidi.c:2852
(gdb) p bidi_it->charpos
$4 = 7
(gdb) p bidi_it->next_for_neutral
$5 = {
charpos = 7,
type = STRONG_L,
orig_type = UNKNOWN_BT
}
(gdb) p bidi_it->prev_for_neutral
$6 = {
charpos = 6,
type = STRONG_L,
orig_type = STRONG_L
}
(gdb) p bidi_it->bracket_pairing_pos
$7 = -1
(gdb) p bidi_it->bracket_enclosed_type
$8 = UNKNOWN_BT
(gdb) p bidi_cache_idx
$9 = 3
(gdb) p bidi_cache_start
$10 = 2
(gdb)
--8<---------------cut here---------------end--------------->8---
Thanks.,
--
ఎందరో మహానుభావులు అందరికి వందనములు.
YYR
next prev parent reply other threads:[~2014-10-27 18:36 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-24 11:41 bug#18815: 25.0.50; emacs crash Yagnesh Raghava Yakkala
2014-10-24 12:55 ` Eli Zaretskii
2014-10-24 13:21 ` Eli Zaretskii
2014-10-24 17:36 ` Yagnesh Raghava Yakkala
2014-10-24 19:24 ` Eli Zaretskii
2014-10-25 3:43 ` Yagnesh Raghava Yakkala
2014-10-25 6:45 ` Eli Zaretskii
2014-10-26 5:29 ` Yagnesh Raghava Yakkala
2014-10-26 15:49 ` Eli Zaretskii
2014-10-26 22:57 ` Yagnesh Raghava Yakkala
2014-10-27 17:18 ` Eli Zaretskii
2014-10-27 18:36 ` Yagnesh Raghava Yakkala [this message]
2014-10-27 19:10 ` Eli Zaretskii
2014-10-28 3:14 ` Yagnesh Raghava Yakkala
2014-10-28 3:38 ` Eli Zaretskii
2014-10-28 4:42 ` Yagnesh Raghava Yakkala
2019-10-13 1:30 ` Lars Ingebrigtsen
2019-10-13 7:11 ` 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=8738a9mkbv.fsf@sealion.lowtem.hokudai.ac.jp \
--to=hi@yagnesh.org \
--cc=18815@debbugs.gnu.org \
--cc=eliz@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.