On Fri, 5 Jul 2013, Dominique Pellé wrote:
Christian Robinson <[email protected]> wrote:
If you have cygwin, you have gdb.
Well, had to install it...
My question is, will this work for a *native* Windows binary being
built using cygwin & Make_ming.mak? (See below.)
You can get stack trace by running Vim in gdb as follows:
$ gdb --args vim
$ gdb gvimd.exe
(gdb) run
Instant crash when I do this.
... and when it crashes, you can get the stack with:
(gdb) bt
(gdb) run
Starting program: [...]/vim/src/gvimd.exe
[New Thread 8840.0x3a78]
Program received signal SIGSEGV, Segmentation fault.
WinMain@16 (hInstance=0x400000, hPrevInst=0x0, lpszCmdLine=0xc45105 "",
nCmdShow=10) at os_w32exe.c:138
138 return 0;
(gdb) bt
#0 WinMain@16 (hInstance=0x400000, hPrevInst=0x0, lpszCmdLine=0xc45105 "",
nCmdShow=10) at os_w32exe.c:138
#1 0x005c32fd in main (argc=<error reading variable: Cannot access memory at
address 0x0>,
argv=<error reading variable: Cannot access memory at address 0x4>,
__p__environ=<error reading variable: Cannot access memory at address 0x8>)
at
/usr/src/mingw-runtime/mingw-runtime-3.20-1/src/mingwrt-3.20-mingw32/main.c:73
Basically, I doubt a "native" (non-Cygwin) binary can be debugged with
cygwin's gdb.
What is the value of 'balloonexpr'?
As yet I have not been able to make my 'balloonexpr' *alone* crash
Vim, I have to have nearly my entire Vim configuration active for the
crash to happen. Even with hours of effort I cannot yet isolate a
minimum combination.
I do not get this crash with my Cygwin (non-Windows native) build of
gVim that uses GTK2.
- Christian
--
I am opposed to millionaires, but it would be dangerous to offer me the
position. -- Mark Twain
Christian J. Robinson <[email protected]> http://christianrobinson.name/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.