unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: michel@sentient.nl, 8145@debbugs.gnu.org
Subject: bug#8145: Crash in multibyte_chars_in_text
Date: Wed, 2 Mar 2011 01:22:12 +0100	[thread overview]
Message-ID: <AANLkTinEzFadwSR=BOdFZu+YyrdWtqQ_=GLutme6JxEr@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikZO=nrR=7x7NAYXDQQ3S2JZsqJmD67c=qPcojd@mail.gmail.com>

On Tue, Mar 1, 2011 at 11:20 PM, Lennart Borgman
<lennart.borgman@gmail.com> wrote:
> On Tue, Mar 1, 2011 at 11:18 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>>> From: Lennart Borgman <lennart.borgman@gmail.com>
>>> Date: Tue, 1 Mar 2011 23:02:29 +0100
>>> Cc: Eli Zaretskii <eliz@gnu.org>, "8145@debbugs.gnu.org" <8145@debbugs.gnu.org>
>>> With your original reciepe (but using C:) I get this backtrace:
>>
>> This backtrace is unreliable, because:
>>
>>> Breakpoint 1, w32_abort () at w32fns.c:7175
>>> warning: Source file is more recent than executable.
>>           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Ah shit. I always build my patched version last... - and when I do
> that I also do a trunk checkout. Maybe I should change that... ;-)
>
> I will make a new build and test.

Here is the backtrace:

Breakpoint 1, w32_abort () at w32fns.c:7175
7175      button = MessageBox (NULL,
(gdb) bt
#0  w32_abort () at w32fns.c:7175
#1  0x011a41f0 in multibyte_chars_in_text (ptr=0x82e0d0
"\343\251/ab/cd", nbytes=8) at character.c:546
#2  0x01024bba in make_specified_string (contents=0x82e0d0
"\343\251/ab/cd", nchars=-1, nbytes=8, multibyte=1)
    at alloc.c:2352
#3  0x0106b28b in Fsubstitute_in_file_name (filename=52106113) at fileio.c:1692
#4  0x01021d14 in Ffuncall (nargs=2, args=0x82e220) at eval.c:2842
#5  0x010c7d14 in Fbyte_code (bytestr=19539641, vector=19539669,
maxdepth=16) at bytecode.c:689
#6  0x01020db8 in Feval (form=19539630) at eval.c:2257
#7  0x0101f5f3 in internal_lisp_condition_case (var=49260570,
bodyform=19539630, handlers=18905790) at eval.c:1355
#8  0x010c8579 in Fbyte_code (bytestr=19539761, vector=19539789,
maxdepth=20) at bytecode.c:879
#9  0x01020db8 in Feval (form=19539750) at eval.c:2257
#10 0x0101f5f3 in internal_lisp_condition_case (var=49260570,
bodyform=19539750, handlers=18905790) at eval.c:1355
#11 0x010c8579 in Fbyte_code (bytestr=18920481, vector=19539725,
maxdepth=12) at bytecode.c:879
#12 0x010224e9 in funcall_lambda (fun=19539693, nargs=0,
arg_vector=0x82eb58) at eval.c:3028
#13 0x01021f31 in Ffuncall (nargs=1, args=0x82eb54) at eval.c:2891
#14 0x0102172c in run_hook_with_args (nargs=1, args=0x82eb54,
cond=to_completion) at eval.c:2580
#15 0x010214bf in Frun_hooks (nargs=1, args=0x82ec0c) at eval.c:2443
#16 0x01021c26 in Ffuncall (nargs=2, args=0x82ec08) at eval.c:2824
#17 0x0102182e in call1 (fn=49416842, arg1=49306154) at eval.c:2643
#18 0x01005c3a in safe_run_hooks_1 () at keyboard.c:1822
#19 0x0101f6fd in internal_condition_case (bfun=0x1005c07
<safe_run_hooks_1>, handlers=49260594,
    hfun=0x1005c42 <safe_run_hooks_error>) at eval.c:1408
#20 0x01005cda in safe_run_hooks (hook=49306154) at keyboard.c:1848
#21 0x01004fb6 in command_loop_1 () at keyboard.c:1545
#22 0x0101f6fd in internal_condition_case (bfun=0x100489d
<command_loop_1>, handlers=49314202,
    hfun=0x1004292 <cmd_error>) at eval.c:1408
#23 0x01004602 in command_loop_2 (ignore=49260570) at keyboard.c:1129
#24 0x0101f1ee in internal_catch (tag=49416482, func=0x10045df
<command_loop_2>, arg=49260570) at eval.c:1152
#25 0x01004569 in command_loop () at keyboard.c:1094
#26 0x01003eae in recursive_edit_1 () at keyboard.c:731
#27 0x010b1de6 in read_minibuf (map=49249694, initial=52094721,
prompt=18990361, backup_n=0, expflag=0,
    histvar=49322682, histpos=0, defalt=51275457, allow_props=0,
inherit_input_method=0) at minibuf.c:652
#28 0x010b3b7c in Fcompleting_read (prompt=18990361,
collection=49445962, predicate=49322202, require_match=49683298,
    initial_input=52094721, hist=49322682, def=51275457,
inherit_input_method=49260570) at minibuf.c:1719
#29 0x01021ee9 in Ffuncall (nargs=8, args=0x82f220) at eval.c:2875
#30 0x010c7d14 in Fbyte_code (bytestr=19100593, vector=19100613,
maxdepth=36) at bytecode.c:689
#31 0x010224e9 in funcall_lambda (fun=19100517, nargs=4,
arg_vector=0x82f474) at eval.c:3028
#32 0x01021f31 in Ffuncall (nargs=5, args=0x82f470) at eval.c:2891
#33 0x010c7d14 in Fbyte_code (bytestr=19015369, vector=19015389,
maxdepth=20) at bytecode.c:689
#34 0x010224e9 in funcall_lambda (fun=19015341, nargs=2,
arg_vector=0x82f6b4) at eval.c:3028
#35 0x01021f31 in Ffuncall (nargs=3, args=0x82f6b0) at eval.c:2891
#36 0x010c7d14 in Fbyte_code (bytestr=19015577, vector=19015605,
maxdepth=12) at bytecode.c:689
#37 0x01020db8 in Feval (form=19015566) at eval.c:2257
#38 0x010c5921 in Fcall_interactively (function=50296242,
record_flag=49260570, keys=49281797) at callint.c:338
#39 0x01021d68 in Ffuncall (nargs=4, args=0x82fb70) at eval.c:2849
#40 0x010218a8 in call3 (fn=49429394, arg1=50296242, arg2=49260570,
arg3=49260570) at eval.c:2674
#41 0x0101333b in Fcommand_execute (cmd=50296242,
record_flag=49260570, keys=49260570, special=49260570)
    at keyboard.c:10180
#42 0x01004f5d in command_loop_1 () at keyboard.c:1528
#43 0x0101f6fd in internal_condition_case (bfun=0x100489d
<command_loop_1>, handlers=49314202,
    hfun=0x1004292 <cmd_error>) at eval.c:1408
#44 0x01004602 in command_loop_2 (ignore=49260570) at keyboard.c:1129
#45 0x0101f1ee in internal_catch (tag=49312298, func=0x10045df
<command_loop_2>, arg=49260570) at eval.c:1152
#46 0x010045ba in command_loop () at keyboard.c:1108
#47 0x01003eae in recursive_edit_1 () at keyboard.c:731
#48 0x01004012 in Frecursive_edit () at keyboard.c:793
#49 0x01002767 in main (argc=2, argv=0xb23d70) at emacs.c:1684

Lisp Backtrace:
"substitute-in-file-name" (0x82e224)
"byte-code" (0x82e3d0)
"byte-code" (0x82e720)
"rfn-eshadow-update-overlay" (0x82eb58)
"run-hooks" (0x82ec0c)
"completing-read" (0x82f224)
"read-file-name" (0x82f474)
"find-file-read-args" (0x82f6b4)
"byte-code" (0x82f860)
"call-interactively" (0x82fb74)
(gdb)





  reply	other threads:[~2011-03-02  0:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-01 11:47 bug#8145: Crash in multibyte_chars_in_text Michel de Ruiter
2011-03-01 18:45 ` Eli Zaretskii
2011-03-01 19:57   ` Lennart Borgman
2011-03-01 21:35     ` Michel de Ruiter
2011-03-01 22:02       ` Lennart Borgman
2011-03-01 22:18         ` Eli Zaretskii
2011-03-01 22:20           ` Lennart Borgman
2011-03-02  0:22             ` Lennart Borgman [this message]
2011-03-01 22:13       ` Eli Zaretskii
2011-03-01 22:08     ` Eli Zaretskii
2011-03-01 22:19       ` Lennart Borgman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to='AANLkTinEzFadwSR=BOdFZu+YyrdWtqQ_=GLutme6JxEr@mail.gmail.com' \
    --to=lennart.borgman@gmail.com \
    --cc=8145@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=michel@sentient.nl \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).