Closed GoogleCodeExporter closed 9 years ago
The stack provided is not very useful unfortunately.
The debugger is not able to show the stack beyond the signal handler
'deathtrap' somehow.
I would suggest to comment out the set up of this signal handler, and try to
reproduce the bug. The stack trace will then hopefully be more useful. In other
words, try to comment out the line "catch_signals(deathtrap, SIG_ERR);" in
os_unix.c:1332 as follows:
diff -r fcd8be759157 src/os_unix.c
--- a/src/os_unix.c Fri Jun 21 18:31:23 2013 +0200
+++ b/src/os_unix.c Sat Jun 22 06:23:29 2013 +0200
@@ -1329,7 +1329,7 @@
/*
* Arrange for other signals to gracefully shutdown Vim.
*/
- catch_signals(deathtrap, SIG_ERR);
+ /* catch_signals(deathtrap, SIG_ERR); */
#if defined(FEAT_GUI) && defined(SIGHUP)
/*
Then provide the stack again.
I don't have IBM AIX so I cannot reproduce this. But I used
IBM AIX a long time ago and I remember one difference with Linux:
malloc(0) returned NULL on AIX whereas malloc(0) returns a
valid address of 0 allocated bytes on Linux. Well, I see that
Vim lalloc() treats 0 size allocation as error so I don't think
that's the issue anyway.
I also see that you're also using Vim-7.3.754. The latest version
is Vim-7.3.1224. It would be best to reproduce it with the latest
version if possible, in case the bug has already been fixed.
You could also try to download the latest Vim with Mercurial:
$ hg clone https://vim.googlecode.com/hg/ vim
Original comment by dominiqu...@gmail.com
on 22 Jun 2013 at 4:32
Is this still relevant? If yes, can you post an updated stack trace?
Original comment by chrisbr...@googlemail.com
on 9 Jan 2015 at 12:30
Hello,
Thanks for asking about the old vim 7.3 crash problem.
Compiled Jan 07 2015, the Vim version 7.4.567, (but used old makefiles, before
vim 7.4.475 and your patch solution for os_unix.c, from issue 265) and until
now I don't any problem !
Original comment by Zulolox4...@gmail.com
on 18 Jan 2015 at 11:52
Hi
It's working nice vim 7.4.567 on AIX 6.1 TL6, compiled with IBM XL C/C++ for
AIX, V11.1
Version: 11.01.0000.0006, not very old fix (6) for C compiler -> 2011 MAY 20
Best regards !
Original comment by Zulolox4...@gmail.com
on 19 Jan 2015 at 7:18
Closing, since the problem can't be reproduced.
Original comment by brammool...@gmail.com
on 20 Jan 2015 at 9:59
Original issue reported on code.google.com by
Zulolox4...@gmail.com
on 25 May 2013 at 6:17