9front - general discussion about 9front
 help / color / mirror / Atom feed
From: umbraticus@prosimetrum.com
To: 9front@9front.org
Subject: Re: [9front] delete in page(1)
Date: Fri, 21 Jan 2022 21:10:33 +1300	[thread overview]
Message-ID: <54BF37272CB09CDCF27C49908F804900@prosimetrum.com> (raw)
In-Reply-To: <E7A7795549A08A34B4881C447544CF63@wopr.sciops.net>

Thanks for the performance tweaks.  I had bumped imemlimit, which
makes moving around in big pdfs nicer but not until the whole thing
is loaded. With the increased responsiveness I may reduce it again.

I like this new feature too but am able to crash by popping pages of
a large pdf. At first I thought it only happened when the whole doc
had not yet loaded but I think it may also occur even when every
thing is in memory. Of course being able to drop pages from a pdf is
probably of questionable utility...

; lstk
/proc/7624/text:amd64 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/amd64
acid: abort()+0x0 /sys/src/libc/9sys/abort.c:6
ppanic(fmt=0x406df9)+0x14b /sys/src/libc/port/malloc.c:166
	pv=0x4087d8
	msg=0x409010
	v=0x7fffffffc3f8
	n=0xffffc3f80000002d
D2B(v=0x41b078)+0x6a /sys/src/libc/port/pool.c:926
	a=0x41b070
poolfreel(v=0x41b078,p=0x4065d0)+0x23 /sys/src/libc/port/pool.c:1153
	ab=0x4087d8
poolfree(p=0x4065d0,v=0x41b078)+0x3e /sys/src/libc/port/pool.c:1287
free()+0x26 /sys/src/libc/port/malloc.c:250
freepage(p=0x4208c0,prev=0x4207e0)+0x5b /usr/umbraticus/src/local/page.c:1010
poppage(p=0x4208c0,del=0xe00000000)+0xb4 /usr/umbraticus/src/local/page.c:1051
	prev=0x4207e0
	t=0x41b920
	next=0x20a898
docmd(m=0x7fffffffead0,i=0xe)+0x622 /usr/umbraticus/src/local/page.c:1631
	del=0x0
	o=0x214dbf
	buf=0x4569c0
	fd=0x214dbf00000000
main(argc=0x0,argv=0x7fffffffefa8)+0xa11 /usr/umbraticus/src/local/page.c:1794
	_argc=0x69
	_args=0x0
	m=0x900000000
	i=0x41fd2000000001
	e=0xf012
	o=0x1fa00000400
	x=0x0
	buf=0x0
	pm=0x41fb80
	fd=0xe
	s=0x41fd20
	j=0x0
_main+0x40 /sys/src/libc/amd64/main9.s:15
acid: 
echo kill > /proc/7624/ctl

       reply	other threads:[~2022-01-21  8:19 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E7A7795549A08A34B4881C447544CF63@wopr.sciops.net>
2022-01-21  8:10 ` umbraticus [this message]
2022-01-23  1:06   ` qwx
2021-12-30 23:15 qwx
2021-12-31  0:48 ` umbraticus
2021-12-31  1:09   ` qwx
2021-12-31  1:22   ` qwx
2021-12-31  2:05     ` umbraticus
2021-12-31 19:10       ` qwx
2022-01-01 10:42         ` umbraticus
2022-01-02  0:20           ` qwx
2022-01-02  1:19             ` umbraticus

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=54BF37272CB09CDCF27C49908F804900@prosimetrum.com \
    --to=umbraticus@prosimetrum.com \
    --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).