GNU bug report logs - #16510
Assertion failure during GC while displaying etc/HELLO

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Mon, 20 Jan 2014 18:24:02 UTC

Severity: normal

Tags: moreinfo

Merged with 16556, 16675

Found in version 24.3.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 16510 in the body.
You can then email your comments to 16510 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#16510; Package emacs. (Mon, 20 Jan 2014 18:24:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juanma Barranquero <lekktu <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 20 Jan 2014 18:24:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Bug-Gnu-Emacs <bug-gnu-emacs <at> gnu.org>
Subject: Assertion failure during GC while displaying etc/HELLO
Date: Mon, 20 Jan 2014 19:22:31 +0100
Package: Emacs
Version: 24.3.50

I can reproduce it with many different fonts, like Droid Sans Mono and
Courier Prime, but not with Courier New.

emacs -Q -fn "Linux Libertine Mono-10"
C-h h

alloc.c:2908: Emacs fatal error: assertion failed: valid_font_driver
(((struct font *) vector)->driver)

Breakpoint 1, terminate_due_to_signal (sig=22,
backtrace_limit=2147483647) at emacs.c:351
351       signal (sig, SIG_DFL);
(gdb) bt
#0  terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:351
#1  0x01161e05 in die (msg=0x149acb0 "valid_font_driver (((struct font
*) vector)->driver)", file=0x149a8a0 "alloc.c", line=2908) at
alloc.c:6761
#2  0x0115c594 in cleanup_vector (vector=0x683a620) at alloc.c:2908
#3  0x0115c6b4 in sweep_vectors () at alloc.c:2959
#4  0x01161b51 in gc_sweep () at alloc.c:6649
#5  0x0115fbc0 in Fgarbage_collect () at alloc.c:5572
#6  0x010ee027 in maybe_gc () at lisp.h:4518
#7  0x0117fdd7 in Ffuncall (nargs=2, args=0x88cdf0) at eval.c:2757
#8  0x0117d28e in internal_condition_case_n (bfun=0x117fd1f
<Ffuncall>, nargs=2, args=0x88cdf0, handlers=58333250, hfun=0x1026bac
<safe_eval_handler>) at eval.c:1427
#9  0x01026ccc in safe_call (nargs=2, func=58465986) at xdisp.c:2563
#10 0x01026d09 in safe_call1 (fn=58465986, arg=60058702) at xdisp.c:2579
#11 0x01026d25 in safe_eval (sexpr=60058702) at xdisp.c:2587
#12 0x0105fa30 in display_mode_element (it=0x88d048, depth=3,
field_width=0, precision=0, elt=60058710, props=58333218, risky=0) at
xdisp.c:21636
#13 0x0105ff81 in display_mode_element (it=0x88d048, depth=1,
field_width=0, precision=0, elt=60158702, props=58333218, risky=0) at
xdisp.c:21717
#14 0x0105eaed in display_mode_line (w=0x3ad1690
<__register_frame_info+61675152>, face_id=MODE_LINE_FACE_ID,
format=60158710) at xdisp.c:21234
#15 0x0105e688 in display_mode_lines (w=0x3ad1690
<__register_frame_info+61675152>) at xdisp.c:21177
#16 0x0104cef6 in redisplay_window (window=61675157,
just_this_one_p=false) at xdisp.c:16373
#17 0x010446e3 in redisplay_window_0 (window=61675157) at xdisp.c:14054
#18 0x0117d04c in internal_condition_case_1 (bfun=0x10446ad
<redisplay_window_0>, arg=61675157, handlers=58316006, hfun=0x1044689
<redisplay_window_error>) at eval.c:1369
#19 0x01044670 in redisplay_windows (window=61675157) at xdisp.c:14034
#20 0x010436a6 in redisplay_internal () at xdisp.c:13633
#21 0x01041723 in redisplay () at xdisp.c:12919
#22 0x010f645b in read_char (commandflag=1, map=60697070,
prev_event=58333218, used_mouse_menu=0x88f793, end_time=0x0) at
keyboard.c:2563
#23 0x01103902 in read_key_sequence (keybuf=0x88f8b0, bufsize=30,
prompt=58333218, dont_downcase_last=false,
can_return_switch_frame=true, fix_current_buffer=true,
    prevent_redisplay=false) at keyboard.c:9071
#24 0x010f3f6d in command_loop_1 () at keyboard.c:1445
#25 0x0117cf39 in internal_condition_case (bfun=0x10f3bed
<command_loop_1>, handlers=58384674, hfun=0x10f3453 <cmd_error>) at
eval.c:1345
#26 0x010f38a2 in command_loop_2 (ignore=58333218) at keyboard.c:1170
#27 0x0117c4e6 in internal_catch (tag=58380034, func=0x10f387e
<command_loop_2>, arg=58333218) at eval.c:1109
#28 0x010f385a in command_loop () at keyboard.c:1149
#29 0x010f2ff0 in recursive_edit_1 () at keyboard.c:777
#30 0x010f31ac in Frecursive_edit () at keyboard.c:841
#31 0x010f13a5 in main (argc=4, argv=0x993018) at emacs.c:1643

Lisp Backtrace:
"Automatic GC" (0x1537e1c)
"eval" (0x88cdf4)
"redisplay_internal (C function)" (0x1537e1c)
(gdb)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16510; Package emacs. (Mon, 20 Jan 2014 19:37:02 GMT) Full text and rfc822 format available.

Message #8 received at 16510 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>, Dmitry Antipov <dmantipov <at> yandex.ru>
Cc: 16510 <at> debbugs.gnu.org
Subject: Re: bug#16510: Assertion failure during GC while displaying etc/HELLO
Date: Mon, 20 Jan 2014 21:36:22 +0200
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Mon, 20 Jan 2014 19:22:31 +0100
> 
> I can reproduce it with many different fonts, like Droid Sans Mono and
> Courier Prime, but not with Courier New.
> 
> emacs -Q -fn "Linux Libertine Mono-10"
> C-h h
> 
> alloc.c:2908: Emacs fatal error: assertion failed: valid_font_driver
> (((struct font *) vector)->driver)
> 
> Breakpoint 1, terminate_due_to_signal (sig=22,
> backtrace_limit=2147483647) at emacs.c:351
> 351       signal (sig, SIG_DFL);
> (gdb) bt
> #0  terminate_due_to_signal (sig=22, backtrace_limit=2147483647) at emacs.c:351
> #1  0x01161e05 in die (msg=0x149acb0 "valid_font_driver (((struct font
> *) vector)->driver)", file=0x149a8a0 "alloc.c", line=2908) at
> alloc.c:6761
> #2  0x0115c594 in cleanup_vector (vector=0x683a620) at alloc.c:2908
> #3  0x0115c6b4 in sweep_vectors () at alloc.c:2959
> #4  0x01161b51 in gc_sweep () at alloc.c:6649
> #5  0x0115fbc0 in Fgarbage_collect () at alloc.c:5572

Dmitry, can you take a look, please?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16510; Package emacs. (Tue, 21 Jan 2014 03:14:01 GMT) Full text and rfc822 format available.

Message #11 received at 16510 <at> debbugs.gnu.org (full text, mbox):

From: Dmitry Antipov <dmantipov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>, Juanma Barranquero <lekktu <at> gmail.com>
Cc: 16510 <at> debbugs.gnu.org
Subject: Re: bug#16510: Assertion failure during GC while displaying etc/HELLO
Date: Tue, 21 Jan 2014 07:13:24 +0400
On 01/20/2014 11:36 PM, Eli Zaretskii wrote:

> Dmitry, can you take a look, please?

For everything from the list below:

emacs -Q -fn "Linux Libertine Mono-10"
emacs -Q -fn "Droid Sans Mono-10"
emacs -Q -fn "Courier Prime-10"

C-h h doesn't trigger eassert (with ENABLE_CHECKING) and doesn't
crash (with release build) for me. (Courier Prime looks ugly, and
it's not packaged by Fedora project, so I install it manually from
http://quoteunquoteapps.com/courierprime).

Juanma, could you please describe your environment and run temacs
under valgrind, e.g.

valgrind --tool=memcheck ./temacs -Q -fn "Linux Libertine Mono-10"

Dmitry






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16510; Package emacs. (Tue, 21 Jan 2014 03:38:02 GMT) Full text and rfc822 format available.

Message #14 received at 16510 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Dmitry Antipov <dmantipov <at> yandex.ru>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 16510 <at> debbugs.gnu.org
Subject: Re: bug#16510: Assertion failure during GC while displaying etc/HELLO
Date: Tue, 21 Jan 2014 04:37:02 +0100
On Tue, Jan 21, 2014 at 4:13 AM, Dmitry Antipov <dmantipov <at> yandex.ru> wrote:

> Juanma, could you please describe your environment

I'm running Emacs (a 32-bit build from trunk, with MinGW gcc 4.7.2) on
Windows 7 Home Premium 64-bit. What else do you need to know?

> and run temacs
> under valgrind, e.g.
>
> valgrind --tool=memcheck ./temacs -Q -fn "Linux Libertine Mono-10"

Alas, there's no valgrind for Windows, AFAIK.

Anyway, the bug is a bit of a heisenbug (not uncommon for GC bugs).
Now, after updating trunk and rebuilding, I cannot trigger the
assertion failure with Droid Sans Mono or Linux Libertine Mono, but I
still can do it with Courier Prime, Source Code Pro, Inconsolata, Dark
Courier...

If there's anything you want me to try, just say so.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16510; Package emacs. (Tue, 21 Jan 2014 03:50:02 GMT) Full text and rfc822 format available.

Message #17 received at 16510 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Antipov <dmantipov <at> yandex.ru>
Cc: lekktu <at> gmail.com, 16510 <at> debbugs.gnu.org
Subject: Re: bug#16510: Assertion failure during GC while displaying etc/HELLO
Date: Tue, 21 Jan 2014 05:49:05 +0200
> Date: Tue, 21 Jan 2014 07:13:24 +0400
> From: Dmitry Antipov <dmantipov <at> yandex.ru>
> CC: 16510 <at> debbugs.gnu.org
> 
> Juanma, could you please describe your environment and run temacs
> under valgrind, e.g.
> 
> valgrind --tool=memcheck ./temacs -Q -fn "Linux Libertine Mono-10"

Valgrind is not available on MS-Windows.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16510; Package emacs. (Tue, 21 Jan 2014 16:16:02 GMT) Full text and rfc822 format available.

Message #20 received at 16510 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 16510 <at> debbugs.gnu.org, dmantipov <at> yandex.ru
Subject: Re: bug#16510: Assertion failure during GC while displaying etc/HELLO
Date: Tue, 21 Jan 2014 18:15:14 +0200
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Tue, 21 Jan 2014 04:37:02 +0100
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 16510 <at> debbugs.gnu.org
> 
> Anyway, the bug is a bit of a heisenbug (not uncommon for GC bugs).
> Now, after updating trunk and rebuilding, I cannot trigger the
> assertion failure with Droid Sans Mono or Linux Libertine Mono, but I
> still can do it with Courier Prime, Source Code Pro, Inconsolata, Dark
> Courier...

With today's trunk, I cannot get a crash with Dark Courier and Courier
Prime.

> If there's anything you want me to try, just say so.

Look at what valid_font_driver does, and see what kind of driver do
fails that test, and why.




Merged 16510 16556. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 26 Jan 2014 19:50:02 GMT) Full text and rfc822 format available.

Merged 16510 16556 16675. Request was from Eli Zaretskii <eliz <at> gnu.org> to control <at> debbugs.gnu.org. (Fri, 07 Feb 2014 07:21:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16510; Package emacs. (Sat, 22 Mar 2014 15:44:01 GMT) Full text and rfc822 format available.

Message #27 received at 16510 <at> debbugs.gnu.org (full text, mbox):

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 16510 <at> debbugs.gnu.org, Dmitry Antipov <dmantipov <at> yandex.ru>
Subject: Re: bug#16510: Assertion failure during GC while displaying etc/HELLO
Date: Sat, 22 Mar 2014 16:43:11 +0100
I can no longer reproduce this bug with any font.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16510; Package emacs. (Sat, 26 Dec 2015 12:58:01 GMT) Full text and rfc822 format available.

Message #30 received at 16510 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Dmitry Antipov <dmantipov <at> yandex.ru>,
 16510 <at> debbugs.gnu.org
Subject: Re: bug#16510: Assertion failure during GC while displaying etc/HELLO
Date: Sat, 26 Dec 2015 13:56:58 +0100
Juanma Barranquero <lekktu <at> gmail.com> writes:

> I can no longer reproduce this bug with any font.

Does this mean that this font-related bug report can be closed?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#16510; Package emacs. (Sat, 26 Dec 2015 13:06:01 GMT) Full text and rfc822 format available.

Message #33 received at 16510 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: lekktu <at> gmail.com, 16510 <at> debbugs.gnu.org, dmantipov <at> yandex.ru
Subject: Re: bug#16510: Assertion failure during GC while displaying etc/HELLO
Date: Sat, 26 Dec 2015 15:05:42 +0200
> From: Lars Ingebrigtsen <larsi <at> gnus.org>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  16510 <at> debbugs.gnu.org,  Dmitry Antipov <dmantipov <at> yandex.ru>
> Date: Sat, 26 Dec 2015 13:56:58 +0100
> 
> Juanma Barranquero <lekktu <at> gmail.com> writes:
> 
> > I can no longer reproduce this bug with any font.
> 
> Does this mean that this font-related bug report can be closed?

Yes, I think so.




bug closed, send any further explanations to 16510 <at> debbugs.gnu.org and Juanma Barranquero <lekktu <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 26 Dec 2015 13:10:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 24 Jan 2016 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 149 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.