From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Mon, 4 Feb 2013 11:29:23 -0500 To: 9fans@9fans.net Message-ID: <3243abe28febd221187665c1e00c59e1@kw.quanstro.net> In-Reply-To: <7bf7b21d67c87a11fff5ebda89f0c34a@proxima.alt.za> References: <7bf7b21d67c87a11fff5ebda89f0c34a@proxima.alt.za> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] usb/serial - hangs Topicbox-Message-UUID: 14cbf1ac-ead8-11e9-9d60-3106f5b1d025 On Mon Feb 4 10:54:40 EST 2013, lucio@proxima.alt.za wrote: > > On Mon Feb 4 10:29:57 EST 2013, lucio@proxima.alt.za wrote: > >> Does this look familiar to anyone? > >> > >> > >> term% usb/serial > >> usb/serial: startdevs: opening #0 /dev/usb/ep5.0 > >> serial: open i/o ep data: '/dev/usb/ep5.3/data' permission denied > >> usb/serial: devmain: serial: no endpoints found for ifc 0 > >> serial 11096: suicide: sys: trap: fault read addr=0xd160d162 pc=0x00015973 > > > > backtrace? > > > > term% acid 11096 > /proc/11096/text:386 plan 9 executable > /sys/lib/acid/port > /sys/lib/acid/386 > acid: stk() > treeinsert(node=0xd160d15e,tree=0x4d160)+0x15 /sys/src/libc/port/pool.c:264 > pooldel(p=0x24ff8,node=0x4d160)+0xdd /sys/src/libc/port/pool.c:414 > blockmerge(b=0x4d160,a=0x49140,pool=0x24ff8)+0x54 /sys/src/libc/port/pool.c:465 > poolfreel(v=0x49148,p=0x24ff8)+0xd1 /sys/src/libc/port/pool.c:1213 > poolfree(p=0x24ff8,v=0x49148)+0x41 /sys/src/libc/port/pool.c:1327 > free(v=0x49150)+0x23 /sys/src/libc/port/malloc.c:250 > _schedinit(arg=0x487b0)+0x105 /sys/src/libthread/sched.c:60 > main(argc=0x1,argv=0xdfffefb4)+0x38 /sys/src/libthread/main.c:38 > _main+0x31 /sys/src/libc/386/main9.s:16 > > Curiously, the shell prompt never reappears, I deleted the window. i would hazzard a guess that since this is on the line where the stack is free'd that the stack is too small. try bumping up mainstacksize. but the underlying problem is that you're getting permission denied. nothing is immediately obvious to me on that. maybe ratrace will help narrow it down. - erik