cptaffe / plan9front

Automatically exported from code.google.com/p/plan9front
0 stars 0 forks source link

Acme suicide: fault read. #171

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I snarfed some text from rc and when I clicked `paste' inside Acme, Acme 
crashed.
See the attached file for the error message.

Original issue reported on code.google.com by ystery...@gmail.com on 13 Apr 2013 at 2:42

Attachments:

GoogleCodeExporter commented 9 years ago
that looks like some bug in acme. its calling error("text.insert"); which aborts
the program. the "couldn't find destination for message" is just the error 
string 
from the last syscall (sounds like a message from the plumber) and unlikely to 
be
related to this.

if you can reproduce the problem, attach acid to the broken process and make a
stacktrace with lstk(). if theres no sensitive information in the process memory
image, you can also use snapfs to make a snapshot of the process memory and 
attach
it to this bug report.

also note that thers no magic ~ in plan9... you can use the enviroment variable
$home tho :-)

Original comment by cinap_le...@felloff.net on 15 Apr 2013 at 8:25

GoogleCodeExporter commented 9 years ago
Hi,
thanks for the reply. I can reproduce the bug by snarfing some text from rc, 
and pasting it once, clicking,  pressing space and then repasting.
The error message mentions Terminus. If it matters, I have this set in my 
profile:
 font=/lib/font/bit/terminus/terminus.16.font

> also note that thers no magic ~ in plan9... you can use the enviroment 
variable
> $home tho :-)
Ah, thanks. I forgot about $home :-).

Original comment by ystery...@gmail.com on 15 Apr 2013 at 1:16

Attachments:

GoogleCodeExporter commented 9 years ago
i was unable to reproduce this. the error string, as i said, doesnt matter. its 
just 
the last error strig thats left in the buffer. its completely unrelated to the 
bug
as the code just aborts() itself in textinsert() on a specific condition.

it would be trivial to just ignore this and return from textinsert() instead of
aborting the whole program by changing the error() call with a return statement,
but this doesnt fix the root cause of the bug.

i suggest you to post your bug report to the 9fans mailinglist and ask the acme
authors.

Original comment by cinap_le...@felloff.net on 15 Apr 2013 at 5:18

GoogleCodeExporter commented 9 years ago
> I can reproduce the bug by snarfing some text from rc, and pasting it once, 
clicking,  pressing space and then repasting.

I can't reproduce this. This sequence given here is something I do several 
times a day, but I can't recall the last time acme crashed on me for any 
reason. The source of the snarfed text varies, it can be rio (which is what the 
reporter probably means by "rc",) or acme itself, or vncv; none cause acme to 
crash.

Original comment by tereniao...@gmail.com on 29 Oct 2013 at 2:20

GoogleCodeExporter commented 9 years ago
unable to reproduce, original reporter vanished, no activity for almost a year, 
closing the issue.

Original comment by cinap_le...@felloff.net on 19 Mar 2014 at 2:44