[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-zile] Crash on file oddities fixed?
From: |
Gary V. Vaughan |
Subject: |
Re: [Bug-zile] Crash on file oddities fixed? |
Date: |
Wed, 13 Apr 2011 01:28:36 +0700 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Wed, Apr 13, 2011 at 01:03:25AM +0700, Gary V. Vaughan wrote:
> Fix is obvious now :)
Although after fixing it, there is another crash a bit further down
which is not as obvious:
snowleopard:zile--savannah--0 me$ cat zile.log
/usr/local/bin/lua: /Users/me/Devo/zile--savannah--0/src/file.lua:369: variable
'strerror' is not declared
stack traceback:
[C]: in function 'error'
/Users/me/Devo/zile--savannah--0/src/std.lua:69: in function
</Users/me/Devo/zile--savannah--0/src/std.lua:67>
/Users/me/Devo/zile--savannah--0/src/file.lua:369: in function
'write_to_disk'
/Users/me/Devo/zile--savannah--0/src/file.lua:422: in function
</Users/me/Devo/zile--savannah--0/src/file.lua:388>
(tail call): ?
(tail call): ?
/Users/me/Devo/zile--savannah--0/src/lisp.lua:56: in function
</Users/me/Devo/zile--savannah--0/src/lisp.lua:36>
(tail call): ?
/Users/me/Devo/zile--savannah--0/src/bind.lua:68: in function
'process_command'
/Users/me/Devo/zile--savannah--0/src/main.lua:352: in function 'main'
./src/zile:39: in main chunk
[C]: ?
I fixed this by adding to the top of src/file.lua:
local strerror = posix.errno
But that elicits another crash a bit further down:
snowleopard:zile--savannah--0 me$ cat zile.log
/usr/local/bin/lua: /Users/me/Devo/zile--savannah--0/src/file.lua:370: variable
'errno' is not declared
stack traceback:
[C]: in function 'error'
/Users/me/Devo/zile--savannah--0/src/std.lua:69: in function
</Users/me/Devo/zile--savannah--0/src/std.lua:67>
/Users/me/Devo/zile--savannah--0/src/file.lua:370: in function
'write_to_disk'
/Users/me/Devo/zile--savannah--0/src/file.lua:423: in function
</Users/me/Devo/zile--savannah--0/src/file.lua:389>
(tail call): ?
(tail call): ?
/Users/me/Devo/zile--savannah--0/src/lisp.lua:56: in function
</Users/me/Devo/zile--savannah--0/src/lisp.lua:36>
(tail call): ?
/Users/me/Devo/zile--savannah--0/src/bind.lua:68: in function
'process_command'
/Users/me/Devo/zile--savannah--0/src/main.lua:352: in function 'main'
./src/zile:39: in main chunk
[C]: ?
I'll let you peel back any additional layers... it's late here and I
have a bus to catch in a few hours.
Happy (Thai) New Year!
Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)
pgpmOqx6Kj56P.pgp
Description: PGP signature
- [Bug-zile] Crash on file oddities fixed?, Reuben Thomas, 2011/04/12
- Re: [Bug-zile] Crash on file oddities fixed?, Gary V. Vaughan, 2011/04/12
- Re: [Bug-zile] Crash on file oddities fixed?, Reuben Thomas, 2011/04/12
- Re: [Bug-zile] Crash on file oddities fixed?, Gary V. Vaughan, 2011/04/12
- Re: [Bug-zile] Crash on file oddities fixed?,
Gary V. Vaughan <=
- Re: [Bug-zile] Crash on file oddities fixed?, Reuben Thomas, 2011/04/12
- Re: [Bug-zile] Crash on file oddities fixed?, Gary V. Vaughan, 2011/04/12
- Re: [Bug-zile] Crash on file oddities fixed?, Reuben Thomas, 2011/04/13
- Re: [Bug-zile] Crash on file oddities fixed?, Gary V. Vaughan, 2011/04/16
- Re: [Bug-zile] Crash on file oddities fixed?, Reuben Thomas, 2011/04/17