unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* MPS: Thread 1 "emacs" received signal SIGXFSZ, File size limit exceeded
@ 2024-07-02  8:49 Ihor Radchenko
  2024-07-02  9:00 ` Gerd Möllmann
  2024-07-02  9:14 ` Helmut Eller
  0 siblings, 2 replies; 4+ messages in thread
From: Ihor Radchenko @ 2024-07-02  8:49 UTC (permalink / raw)
  To: emacs-devel; +Cc: Gerd Möllmann, Eli Zaretskii, eller.helmut


I was just running my routine magit command and got the following:
(the problem is limited to scratch/igc branch - Emacs master works just
fine doing the same command):

Thread 1 "emacs" received signal SIGXFSZ, File size limit exceeded.
0x00007ffff311f891 in pselect () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff311f891 in pselect () at /lib64/libc.so.6
#1  0x00005555557d1def in really_call_select (arg=arg@entry=0x7fffffffc3c0) at thread.c:618
#2  0x000055555572a18a in flush_stack_call_func1 (func=func@entry=0x5555557d1d82 <really_call_select>, arg=arg@entry=0x7fffffffc3c0) at alloc.c:5676
#3  0x00005555557d29d1 in flush_stack_call_func (func=0x5555557d1d82 <really_call_select>, arg=0x7fffffffc3c0) at /home/yantar92/Git/emacs/src/lisp.h:4574
#4  thread_select
    (func=<optimized out>, max_fds=max_fds@entry=25, rfds=rfds@entry=0x7fffffffc4f0, wfds=wfds@entry=0x7fffffffc570, efds=efds@entry=0x0, timeout=timeout@entry=0x7fffffffcb30, sigmask=0x0) at thread.c:650
#5  0x00005555557faef4 in xg_select
    (fds_lim=25, rfds=rfds@entry=0x7fffffffcb60, wfds=wfds@entry=0x7fffffffcbe0, efds=efds@entry=0x0, timeout=timeout@entry=0x7fffffffcb30, sigmask=sigmask@entry=0x0) at xgselect.c:205
#6  0x00005555557a8ce4 in wait_reading_process_output
    (time_limit=time_limit@entry=90, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, wait_for_cell=wait_for_cell@entry=XIL(0), wait_proc=wait_proc@entry=0x0, just_wait_proc=0) at process.c:5743
#7  0x00005555555acbe1 in sit_for (timeout=timeout@entry=make_fixnum(90), reading=reading@entry=true, display_option=display_option@entry=1)
    at dispnew.c:6361
#8  0x00005555556d5efc in read_char
    (commandflag=1, map=map@entry=XIL(0x7fffa78cf74b), prev_event=XIL(0), used_mouse_menu=used_mouse_menu@entry=0x7fffffffd2fb, end_time=end_time@entry=0x0)
    at keyboard.c:2934
#9  0x00005555556d768a in read_key_sequence
    (keybuf=keybuf@entry=0x7fffffffd460, prompt=prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, disable_text_conversion_p=false)
    at keyboard.c:10759
#10 0x00005555556da3f3 in command_loop_1 () at keyboard.c:1440
#11 0x0000555555748c92 in internal_condition_case
    (bfun=bfun@entry=0x5555556d9208 <command_loop_1>, handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x5555556ca60c <cmd_error>) at eval.c:1629
#12 0x00005555556c5838 in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at keyboard.c:1179
#13 0x0000555555748bc4 in internal_catch (tag=tag@entry=XIL(0x12360), func=func@entry=0x5555556c5811 <command_loop_2>, arg=arg@entry=XIL(0x90))
    at eval.c:1308
#14 0x00005555556c57ee in command_loop () at keyboard.c:1157
#15 0x00005555556ca1c1 in recursive_edit_1 () at keyboard.c:765
#16 0x00005555556ca52e in Frecursive_edit () at keyboard.c:848
#17 0x00005555556c4aad in main (argc=1, argv=<optimized out>) at emacs.c:2651

Lisp Backtrace:
"magit-section-maybe-add-heading-map" (0xd7dfd408)
"magit-diff-wash-hunk" (0xd7dfd550)
"magit-wash-sequence" (0xd7dfd6c0)
"magit-diff-insert-file-section" (0xd7dfd898)
"magit-diff-wash-diff" (0x68b67a38)
"apply" (0x68b67a30)
0xa7ce32f8 PVEC_CLOSURE
--Type <RET> for more, q to quit, c to continue without paging--c
"magit-wash-sequence" (0xd7dfdd98)
"magit-diff-wash-diffs" (0xd7dfdf38)
"magit-git-wash" (0xd7dfe118)
"magit--insert-diff" (0xd7dfe260)
"magit-insert-unstaged-changes" (0xd7dfe458)
"magit-run-section-hook" (0xd7dfe660)
"magit-status-refresh-buffer" (0xd7dfe898)
"magit-refresh-buffer" (0xd7dfea88)
"magit-refresh" (0xd7dfebb0)
"let" (0xd7dfed08)
"catch" (0xd7dfee18)
"let" (0xd7dfef88)
"progn" (0xd7dff058)
"progn" (0xd7dff128)
"unwind-protect" (0xd7dff1f8)
"let*" (0xd7dff338)
"cl-letf" (0xd7dff3e8)
"unwind-protect" (0xd7dff4b8)
"progn" (0xd7dff588)
"with-async-calls" (0xd7dff638)
"yant/magit--autocommit" (0xe22aa6d0)
(gdb) c
Continuing.

Thread 1 "emacs" received signal SIGXCPU, CPU time limit exceeded.
0x00007ffff30482d9 in sigsuspend () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff30482d9 in sigsuspend () at /lib64/libc.so.6
#1  0x0000555555880de0 in suspendSignalHandler (sig=25, info=<optimized out>, uap=<optimized out>) at /home/yantar92/Dist/mps/code/pthrdext.c:99
#2  0x00007ffff3048050 in <signal handler called> () at /lib64/libc.so.6
#3  0x00007ffff311f891 in pselect () at /lib64/libc.so.6
#4  0x00005555557d1def in really_call_select (arg=arg@entry=0x7fffffffc3c0) at thread.c:618
#5  0x000055555572a18a in flush_stack_call_func1 (func=func@entry=0x5555557d1d82 <really_call_select>, arg=arg@entry=0x7fffffffc3c0) at alloc.c:5676
#6  0x00005555557d29d1 in flush_stack_call_func (func=0x5555557d1d82 <really_call_select>, arg=0x7fffffffc3c0) at /home/yantar92/Git/emacs/src/lisp.h:4574
#7  thread_select
    (func=<optimized out>, max_fds=max_fds@entry=25, rfds=rfds@entry=0x7fffffffc4f0, wfds=wfds@entry=0x7fffffffc570, efds=efds@entry=0x0, timeout=timeout@entry=0x7fffffffcb30, sigmask=0x0) at thread.c:650
#8  0x00005555557faef4 in xg_select
    (fds_lim=25, rfds=rfds@entry=0x7fffffffcb60, wfds=wfds@entry=0x7fffffffcbe0, efds=efds@entry=0x0, timeout=timeout@entry=0x7fffffffcb30, sigmask=sigmask@entry=0x0) at xgselect.c:205
#9  0x00005555557a8ce4 in wait_reading_process_output
    (time_limit=time_limit@entry=90, nsecs=nsecs@entry=0, read_kbd=read_kbd@entry=-1, do_display=do_display@entry=true, wait_for_cell=wait_for_cell@entry=XIL(0), wait_proc=wait_proc@entry=0x0, just_wait_proc=0) at process.c:5743
#10 0x00005555555acbe1 in sit_for (timeout=timeout@entry=make_fixnum(90), reading=reading@entry=true, display_option=display_option@entry=1)
    at dispnew.c:6361
#11 0x00005555556d5efc in read_char
    (commandflag=1, map=map@entry=XIL(0x7fffa78cf74b), prev_event=XIL(0), used_mouse_menu=used_mouse_menu@entry=0x7fffffffd2fb, end_time=end_time@entry=0x0)
    at keyboard.c:2934
#12 0x00005555556d768a in read_key_sequence
    (keybuf=keybuf@entry=0x7fffffffd460, prompt=prompt@entry=XIL(0), dont_downcase_last=dont_downcase_last@entry=false, can_return_switch_frame=can_return_switch_frame@entry=true, fix_current_buffer=fix_current_buffer@entry=true, prevent_redisplay=prevent_redisplay@entry=false, disable_text_conversion_p=false)
    at keyboard.c:10759
#13 0x00005555556da3f3 in command_loop_1 () at keyboard.c:1440
#14 0x0000555555748c92 in internal_condition_case
    (bfun=bfun@entry=0x5555556d9208 <command_loop_1>, handlers=handlers@entry=XIL(0x90), hfun=hfun@entry=0x5555556ca60c <cmd_error>) at eval.c:1629
#15 0x00005555556c5838 in command_loop_2 (handlers=handlers@entry=XIL(0x90)) at keyboard.c:1179
#16 0x0000555555748bc4 in internal_catch (tag=tag@entry=XIL(0x12360), func=func@entry=0x5555556c5811 <command_loop_2>, arg=arg@entry=XIL(0x90))
    at eval.c:1308
#17 0x00005555556c57ee in command_loop () at keyboard.c:1157
#18 0x00005555556ca1c1 in recursive_edit_1 () at keyboard.c:765
#19 0x00005555556ca52e in Frecursive_edit () at keyboard.c:848
#20 0x00005555556c4aad in main (argc=1, argv=<optimized out>) at emacs.c:2651

Lisp Backtrace:
"magit-section-maybe-add-heading-map" (0xd7dfd408)
"magit-diff-wash-hunk" (0xd7dfd550)
"magit-wash-sequence" (0xd7dfd6c0)
"magit-diff-insert-file-section" (0xd7dfd898)
--Type <RET> for more, q to quit, c to continue without paging--c
"magit-diff-wash-diff" (0x68b67a38)
"apply" (0x68b67a30)
0xa7ce32f8 PVEC_CLOSURE
"magit-wash-sequence" (0xd7dfdd98)
"magit-diff-wash-diffs" (0xd7dfdf38)
"magit-git-wash" (0xd7dfe118)
"magit--insert-diff" (0xd7dfe260)
"magit-insert-unstaged-changes" (0xd7dfe458)
"magit-run-section-hook" (0xd7dfe660)
"magit-status-refresh-buffer" (0xd7dfe898)
"magit-refresh-buffer" (0xd7dfea88)
"magit-refresh" (0xd7dfebb0)
"let" (0xd7dfed08)
"catch" (0xd7dfee18)
"let" (0xd7dfef88)
"progn" (0xd7dff058)
"progn" (0xd7dff128)
"unwind-protect" (0xd7dff1f8)
"let*" (0xd7dff338)
"cl-letf" (0xd7dff3e8)
"unwind-protect" (0xd7dff4b8)
"progn" (0xd7dff588)
"with-async-calls" (0xd7dff638)
"yant/magit--autocommit" (0xe22aa6d0)

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MPS: Thread 1 "emacs" received signal SIGXFSZ, File size limit exceeded
  2024-07-02  8:49 MPS: Thread 1 "emacs" received signal SIGXFSZ, File size limit exceeded Ihor Radchenko
@ 2024-07-02  9:00 ` Gerd Möllmann
  2024-07-02  9:14 ` Helmut Eller
  1 sibling, 0 replies; 4+ messages in thread
From: Gerd Möllmann @ 2024-07-02  9:00 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-devel, Eli Zaretskii, eller.helmut

Ihor Radchenko <yantar92@posteo.net> writes:

> I was just running my routine magit command and got the following:
> (the problem is limited to scratch/igc branch - Emacs master works just
> fine doing the same command):
>
> Thread 1 "emacs" received signal SIGXFSZ, File size limit exceeded.
> 0x00007ffff311f891 in pselect () from /lib64/libc.so.6
> (gdb) bt
> #0  0x00007ffff311f891 in pselect () at /lib64/libc.so.6
> #1  0x00005555557d1def in really_call_select (arg=arg@entry=0x7fffffffc3c0) at thread.c:618
> #2  0x000055555572a18a in flush_stack_call_func1 (func=func@entry=0x5555557d1d82 <really_call_select>, arg=arg@entry=0x7fffffffc3c0) at alloc.c:5676
> #3  0x00005555557d29d1 in flush_stack_call_func (func=0x5555557d1d82 <really_call_select>, arg=0x7fffffffc3c0) at /home/yantar92/Git/emacs/src/lisp.h:4574

Never seen something like that. Maybe someone else has an idea?



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MPS: Thread 1 "emacs" received signal SIGXFSZ, File size limit exceeded
  2024-07-02  8:49 MPS: Thread 1 "emacs" received signal SIGXFSZ, File size limit exceeded Ihor Radchenko
  2024-07-02  9:00 ` Gerd Möllmann
@ 2024-07-02  9:14 ` Helmut Eller
  2024-07-02 10:54   ` Ihor Radchenko
  1 sibling, 1 reply; 4+ messages in thread
From: Helmut Eller @ 2024-07-02  9:14 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-devel, Gerd Möllmann, Eli Zaretskii

On Tue, Jul 02 2024, Ihor Radchenko wrote:

> I was just running my routine magit command and got the following:
> (the problem is limited to scratch/igc branch - Emacs master works just
> fine doing the same command):
>
> Thread 1 "emacs" received signal SIGXFSZ, File size limit exceeded.

MPS uses SIGXFSZ and SIGXCPU to suspend threads.  So I guess you used
make-thread somewhere.  Under gdb, you can do the same as for SIGSEGV:

  handle SIGXFSZ nostop noprint pass

and it should "just work".



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: MPS: Thread 1 "emacs" received signal SIGXFSZ, File size limit exceeded
  2024-07-02  9:14 ` Helmut Eller
@ 2024-07-02 10:54   ` Ihor Radchenko
  0 siblings, 0 replies; 4+ messages in thread
From: Ihor Radchenko @ 2024-07-02 10:54 UTC (permalink / raw)
  To: Helmut Eller; +Cc: emacs-devel, Gerd Möllmann, Eli Zaretskii

Helmut Eller <eller.helmut@gmail.com> writes:

>> Thread 1 "emacs" received signal SIGXFSZ, File size limit exceeded.
>
> MPS uses SIGXFSZ and SIGXCPU to suspend threads.  So I guess you used
> make-thread somewhere.  Under gdb, you can do the same as for SIGSEGV:
>
>   handle SIGXFSZ nostop noprint pass
>
> and it should "just work".

Ouch. Indeed, that makes sense.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-07-02 10:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-02  8:49 MPS: Thread 1 "emacs" received signal SIGXFSZ, File size limit exceeded Ihor Radchenko
2024-07-02  9:00 ` Gerd Möllmann
2024-07-02  9:14 ` Helmut Eller
2024-07-02 10:54   ` Ihor Radchenko

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).