9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] crash on big images
@ 2010-03-18 19:43 erik quanstrom
  0 siblings, 0 replies; 2+ messages in thread
From: erik quanstrom @ 2010-03-18 19:43 UTC (permalink / raw)
  To: 9fans

when viewing large images on a real plan 9 terminal,
i commonly see ilock deadlocks  for example:

acid: src(0xf01b9432)
/sys/src/9/port/alloc.c:104
 99	{
 100		Private *pv;
 101
 102		pv = p->private;
 103		ilock(&pv->lk);
>104		pv->lk.pc = getcallerpc(&p);
 105		pv->msg[0] = 0;
 106	}
 107
 108	static void
 109	punlock(Pool *p)
acid: src(0xf01ee456)
/sys/src/libc/port/pool.c:1221
 1216	void*
 1217	poolalloc(Pool *p, ulong n)
 1218	{
 1219		void *v;
 1220
>1221		p->lock(p);
 1222		paranoia {
 1223			poolcheckl(p);
 1224		}
 1225		verbosity {
 1226			pooldumpl(p);

i'm not really sure what's going on.

- erik



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

* [9fans] crash on big images
@ 2010-03-18 19:47 erik quanstrom
  0 siblings, 0 replies; 2+ messages in thread
From: erik quanstrom @ 2010-03-18 19:47 UTC (permalink / raw)
  To: 9fans

sorry, those were the pc and lockpc, respectively.

- erik



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

end of thread, other threads:[~2010-03-18 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-18 19:43 [9fans] crash on big images erik quanstrom
2010-03-18 19:47 erik quanstrom

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