9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Shawn Nock <shawn@provisoire.ca>
To: 9front@9front.org
Subject: Re: [9front] Nail: embrace, extend, extinguish
Date: Wed, 30 Dec 2020 14:03:44 GMT	[thread overview]
Message-ID: <6AFE18899FF6E30D9FAD95DA8ECCB678@provisoire.ca> (raw)
In-Reply-To: <1F6D86AF7FEFD3EC78F1AEBBB88368C1@eigenstate.org>

I've noticed an issue in a mailing list folder that frequently updates (lots of incoming messages). It seems to occur when I've marked more than one message for deletion, then run Put. During the Put, messages start going away... then I think I see the message list jump (like a new message was added), then I get a crash when it continues to delete messages.

This is the +Errors buffer:
mem user overflow
pool sbrkmem block 4139b0
hdr 0a110c09 00000040 002003e3 00205430 00413320 00000000
tail 00413320 00000000 00000000 00000000 00000000 00000000 | ef2800be 00000040
user data 20 33 41 00  00 00 00 00 | 20 33 41 00  00 00 00 00
panic: pool panic
Nail 9802: suicide: sys: trap: fault read addr=0x0 pc=0x20fb0a
Nail 9802: sys: trap: fault read addr=0x0 pc=0x20fb0a

Here's the output of the dumpmesg on the box after the crash:

=== 0x000000000041a540 38/ flags=0x0000 state=0x0000 Re: [tech] default response?
=== 0x0000000000419ea0 37/ flags=0x0000 state=0x0002 [tech] default response?
=== 0x000000000041ae20 40/ flags=0x0000 state=0x0000 Re: [tech] default response?
=== 0x000000000041a940 39/ flags=0x0000 state=0x0000 Re: [tech] default response?
=== 0x000000000041b8c0 42/ flags=0x0000 state=0x0000 Re: [tech] default response?
=== 0x000000000041bde0 43/ flags=0x0000 state=0x0000 Re: [tech] default response?
=== 0x000000000041b360 41/ flags=0x0000 state=0x0000 Re: [tech] default response?
=== 0x0000000000416d00 27/ flags=0x0000 state=0x0000 Re: [tech] Proposed reversed Gemini for uploads to servers - Feedback wanted
=== 0x0000000000419ac0 36/ flags=0x0000 state=0x0000 Re: [tech] Proposed reversed Gemini for uploads to servers - Feedback wanted
=== 0x0000000000416020 25/ flags=0x0000 state=0x0000 Re: [tech] Proposed reversed Gemini for uploads to servers - Feedback wanted
=== 0x0000000000414000 20/ flags=0x0000 state=0x0002 [tech] Proposed reversed Gemini for uploads to servers - Feedback wanted
=== 0x0000000000414540 21/ flags=0x0000 state=0x0000 Re: [tech] Proposed reversed Gemini for uploads to servers - Feedback wanted
=== 0x0000000000414a40 22/ flags=0x0000 state=0x0000 Re: [tech] Proposed reversed Gemini for uploads to servers - Feedback wanted
=== 0x0000000000417e40 \x01 flags=0x0000 state=0x0003 \x01
=== 0x0000000000416700 \x01 flags=0x0000 state=0x0003 \x01
=== 0x0000000000418400 32/ flags=0x0000 state=0x0000 Re: [tech] Proposed reversed Gemini for uploads to servers - Feedback wanted
=== 0x0000000000417360 29/ flags=0x0000 state=0x0000 Re: [tech] Proposed reversed Gemini for uploads to servers - Feedback wanted
=== 0x0000000000415ba0 \x01 flags=0x0000 state=0x0003 \x01
=== 0x0000000000415540 24/ flags=0x0000 state=0x0000 Re: Hello all
=== 0x0000000000414f80 23/ flags=0x0000 state=0x0000 Re: [tech] Proposed reversed Gemini for uploads to servers - Feedback wanted
=== 0x0000000000412ae0 \x01 flags=0x0000 state=0x0003 \x01
=== 0x00000000004134a0 18/ flags=0x0008 state=0x0000 Re: [tech] doubts (was Re: [spec] [rfc] SEDR 300 VOLUME I)
=== 0x0000000000413a60 19/ flags=0x0008 state=0x0000 Re: [tech] doubts (was Re: [spec] [rfc] SEDR 300 VOLUME I)
=== 0x000000000040ff40 16/ flags=0x0008 state=0x0000 Re: [tech] doubts (was Re: [spec] [rfc] SEDR 300 VOLUME I)
=== 0x0000000000413320 17/ flags=0x0008 state=0x0000 Re: [tech] doubts (was Re: [spec] [rfc] SEDR 300 VOLUME I)
=== 0x0000000000000000 <stdin>:14: (error) indir: can't read address 0xc9a5bc: bad arg in system call

Here's the stack trace:
abort()+0x0 /sys/src/libc/9sys/abort.c:6
ppanic(fmt=0x4048fb)+0x14b /sys/src/libc/port/malloc.c:166
	pv=0x406f48
	msg=0x40bd20
	v=0x4618c0
	n=0x4618c00000000a
panicblock(msg=0x404a0c,p=0x4061b8,b=0x4139b0)+0x52 /sys/src/libc/port/pool.c:718
blockcheck(b=0x4139b0,p=0x4061b8)+0x3f6 /sys/src/libc/port/pool.c:796
	t=0x4139e8
	n=0x90047a920
	i=0x4139e800000009
	q=0x4139d0
	a=0x4139b0
	dsize=0x4139d400000018
	bq=0x4139d0
	eq=0x4139d4
poolreallocl(ndsize=0x18,v=0x4139b8,p=0x4061b8)+0x61 /sys/src/libc/port/pool.c:982
	a=0x4139b0
	odsize=0x461990
	obsize=0x46199038312069
	nbsize=0x2075a000000000
	right=0x0
	left=0x416f70
	nv=0x47206574656c6564
	newb=0x406f48
poolrealloc(p=0x4061b8,v=0x4139b8,n=0x18)+0x46 /sys/src/libc/port/pool.c:1264
	nv=0x4061b8
realloc(size=0x10,v=0x4139b8)+0x58 /sys/src/libc/port/malloc.c:267
	nv=0x416f68
erealloc(p=0x4139c0,n=0x10)+0x1b /usr/glenda/src/Nail/util.c:27
	v=0x207600
addchild(m=0x413a60,p=0x40ff40)+0xd1 /usr/glenda/src/Nail/mbox.c:187
	q=0x412ae0
removemesg(m=0x4134a0)+0x79 /usr/glenda/src/Nail/mbox.c:676
	i=0x0
	p=0x40ff40
mbflush()+0x14e /usr/glenda/src/Nail/mbox.c:708
	i=0x2022ce00000015
	path=0x40f970
	fd=0xe
	m=0x4134a0
	j=0x1500000001
doevent(ev=0x40f0f0)+0x11f /usr/glenda/src/Nail/mbox.c:910
	f=0x40f108
	nf=0x40f10800000001
	p=0x406a40
mbmain(cmd=0x40fc60)+0x20d /usr/glenda/src/Nail/mbox.c:959
	a=0x40fd80
	ev=0x40f0f0
	psee=0xfefefefefefefefe
	pshow=0xfefefefefefefefe
	psend=0xfefefefefefefefe
launcheramd64(arg=0x40fc60,f=0x20238f)+0x10 /sys/src/libthread/amd64.c:11
0xfefefefefefefefe ?file?:0

A perhaps related issue, several times per day I see 'address out of range' Errors. Mostly it's not a nuisance; but perhaps it's related / prerequisite to the main issue?


Thanks,
S
-- 

  reply	other threads:[~2020-12-30 14:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-29  3:42 ori
2020-12-29 10:45 ` julien
2020-12-29 15:55   ` ori
2020-12-30 14:03     ` Shawn Nock [this message]
2020-12-30 17:20       ` ori
2020-12-31  4:49       ` ori
2020-12-29 10:46 ` Daniel Moch
2020-12-29 11:17   ` telephil9
2020-12-29 21:09   ` Lyndon Nerenberg

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=6AFE18899FF6E30D9FAD95DA8ECCB678@provisoire.ca \
    --to=shawn@provisoire.ca \
    --cc=9front@9front.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.
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 NNTP newsgroup(s).