rminnich / nix-os

Automatically exported from code.google.com/p/nix-os
Other
12 stars 4 forks source link

plumber bomb #6

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. plumb url
2. ...
3. crash

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

here's the fix
; diff -c fsys.c /mnt/term/usr/quanstro/nix-os/sys/src/cmd/plumb/
fsys.c:10,16 - /mnt/term/usr/quanstro/nix-os/sys/src/cmd/plumb//fsys.c:10,16

  enum
  {
-   Stack = 16*1024
+   Stack = 8*1024
  };

  typedef struct Dirtab Dirtab;

Original issue reported on code.google.com by quans...@gmail.com on 16 Sep 2011 at 2:16

GoogleCodeExporter commented 9 years ago
Reducing the stack size fixes the problem?
Why?

Original comment by nemo.m...@gmail.com on 16 Sep 2011 at 9:46

GoogleCodeExporter commented 9 years ago
Just send the fix through codereview and we'll take a closer look.
thanks again.

Original comment by nemo.m...@gmail.com on 16 Sep 2011 at 9:47

GoogleCodeExporter commented 9 years ago
i doubled the stack size.  the back trace was a pretty standard-looking
i smashed the stack deal.

Original comment by quans...@gmail.com on 17 Sep 2011 at 9:31