Crash of athena gui

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Crash of athena gui

Paul Ackersviller-2
This is from the 7.3a BETA out of mercurial,on HP-XU 11.31; I don't think
plugins or build options should matter, as a similar motif version works fine.

I don't know a lot about gui programming, so am simply sending along the
stack trace.  It's from a 64-bit build, but 32-bits behaves the same.

Program received signal SIGSEGV, Segmentation fault
  si_code: 0 - SEGV_UNKNOWN - Unknown Error.
0x800003ffbffbcea8 in SetTextWidthAndHeight+0x88 () from /usr/lib/pa20_64/libXaw.2
(gdb) bt
#0  0x800003ffbffbcea8 in SetTextWidthAndHeight+0x88 () from /usr/lib/pa20_64/libXaw.2
#1  0x800003ffbffbd4d8 in Initialize+0xc0 () from /usr/lib/pa20_64/libXaw.2
#2  0x800003ffbff191e0 in CallInitialize+0x188 () from /usr/lib/pa20_64/libXt.3
#3  0x800003ffbff19178 in CallInitialize+0x120 () from /usr/lib/pa20_64/libXt.3
#4  0x800003ffbff19178 in CallInitialize+0x120 () from /usr/lib/pa20_64/libXt.3
#5  0x800003ffbff19860 in xtCreate+0x188 () from /usr/lib/pa20_64/libXt.3
#6  0x800003ffbff1a0b8 in _XtCreateWidget+0x330 () from /usr/lib/pa20_64/libXt.3
#7  0x800003ffbff51f84 in _XtVaCreateWidget+0x5c () from /usr/lib/pa20_64/libXt.3
#8  0x800003ffbff52230 in XtVaCreateManagedWidget+0x120 () from /usr/lib/pa20_64/libXt.3
#9  0x40000000001f65cc in gui_mch_add_menu (menu=0x80000001000b1e28, idx=728680) at gui_athena.c:804
#10 0x4000000000117d60 in gui_create_initial_menus (menu=0x80000001000b1e28) at menu.c:1875
#11 0x40000000001ef2ec in gui_init () at gui.c:508
#12 0x40000000001d5080 in set_termname (term=???) at term.c:1845
#13 0x40000000001d5a00 in termcapinit (name=0x8000000100055c98 "\200") at term.c:2510
#14 0x40000000001eea18 in gui_start () at gui.c:91
#15 0x4000000000102224 in main (argc=Error accessing memory address 0xffffffffffffffc5: Bad address.
) at main.c:637

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Crash of athena gui

Bram Moolenaar

Paul Ackersviller wrote:

> This is from the 7.3a BETA out of mercurial,on HP-XU 11.31; I don't think
> plugins or build options should matter, as a similar motif version works fine.
>
> I don't know a lot about gui programming, so am simply sending along the
> stack trace.  It's from a 64-bit build, but 32-bits behaves the same.
>
> Program received signal SIGSEGV, Segmentation fault
>   si_code: 0 - SEGV_UNKNOWN - Unknown Error.
> 0x800003ffbffbcea8 in SetTextWidthAndHeight+0x88 () from /usr/lib/pa20_64/libXaw.2
> (gdb) bt
> #0  0x800003ffbffbcea8 in SetTextWidthAndHeight+0x88 () from /usr/lib/pa20_64/libXaw.2
> #1  0x800003ffbffbd4d8 in Initialize+0xc0 () from /usr/lib/pa20_64/libXaw.2
> #2  0x800003ffbff191e0 in CallInitialize+0x188 () from /usr/lib/pa20_64/libXt.3
> #3  0x800003ffbff19178 in CallInitialize+0x120 () from /usr/lib/pa20_64/libXt.3
> #4  0x800003ffbff19178 in CallInitialize+0x120 () from /usr/lib/pa20_64/libXt.3
> #5  0x800003ffbff19860 in xtCreate+0x188 () from /usr/lib/pa20_64/libXt.3
> #6  0x800003ffbff1a0b8 in _XtCreateWidget+0x330 () from /usr/lib/pa20_64/libXt.3
> #7  0x800003ffbff51f84 in _XtVaCreateWidget+0x5c () from /usr/lib/pa20_64/libXt.3
> #8  0x800003ffbff52230 in XtVaCreateManagedWidget+0x120 () from /usr/lib/pa20_64/libXt.3
> #9  0x40000000001f65cc in gui_mch_add_menu (menu=0x80000001000b1e28, idx=728680) at gui_athena.c:804
> #10 0x4000000000117d60 in gui_create_initial_menus (menu=0x80000001000b1e28) at menu.c:1875
> #11 0x40000000001ef2ec in gui_init () at gui.c:508
> #12 0x40000000001d5080 in set_termname (term=???) at term.c:1845
> #13 0x40000000001d5a00 in termcapinit (name=0x8000000100055c98 "\200") at term.c:2510
> #14 0x40000000001eea18 in gui_start () at gui.c:91
> #15 0x4000000000102224 in main (argc=Error accessing memory address 0xffffffffffffffc5: Bad address.
> ) at main.c:637

Do you have this with Vim 7.3a only, or does it also happen when
building the latest Vim 7.2 with the same setup?

--
hundred-and-one symptoms of being an internet addict:
214. Your MCI "Circle of Friends" are all Hayes-compatible.

 /// Bram Moolenaar -- [hidden email] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Crash of athena gui

Dominique Pellé
In reply to this post by Paul Ackersviller-2
Paul Ackersviller wrote:

> This is from the 7.3a BETA out of mercurial,on HP-XU 11.31; I don't think
> plugins or build options should matter, as a similar motif version works fine.
>
> I don't know a lot about gui programming, so am simply sending along the
> stack trace.  It's from a 64-bit build, but 32-bits behaves the same.
>
> Program received signal SIGSEGV, Segmentation fault
>  si_code: 0 - SEGV_UNKNOWN - Unknown Error.
> 0x800003ffbffbcea8 in SetTextWidthAndHeight+0x88 () from /usr/lib/pa20_64/libXaw.2
> (gdb) bt
> #0  0x800003ffbffbcea8 in SetTextWidthAndHeight+0x88 () from /usr/lib/pa20_64/libXaw.2
> #1  0x800003ffbffbd4d8 in Initialize+0xc0 () from /usr/lib/pa20_64/libXaw.2
> #2  0x800003ffbff191e0 in CallInitialize+0x188 () from /usr/lib/pa20_64/libXt.3
> #3  0x800003ffbff19178 in CallInitialize+0x120 () from /usr/lib/pa20_64/libXt.3
> #4  0x800003ffbff19178 in CallInitialize+0x120 () from /usr/lib/pa20_64/libXt.3
> #5  0x800003ffbff19860 in xtCreate+0x188 () from /usr/lib/pa20_64/libXt.3
> #6  0x800003ffbff1a0b8 in _XtCreateWidget+0x330 () from /usr/lib/pa20_64/libXt.3
> #7  0x800003ffbff51f84 in _XtVaCreateWidget+0x5c () from /usr/lib/pa20_64/libXt.3
> #8  0x800003ffbff52230 in XtVaCreateManagedWidget+0x120 () from /usr/lib/pa20_64/libXt.3
> #9  0x40000000001f65cc in gui_mch_add_menu (menu=0x80000001000b1e28, idx=728680) at gui_athena.c:804
> #10 0x4000000000117d60 in gui_create_initial_menus (menu=0x80000001000b1e28) at menu.c:1875
> #11 0x40000000001ef2ec in gui_init () at gui.c:508
> #12 0x40000000001d5080 in set_termname (term=???) at term.c:1845
> #13 0x40000000001d5a00 in termcapinit (name=0x8000000100055c98 "\200") at term.c:2510
> #14 0x40000000001eea18 in gui_start () at gui.c:91
> #15 0x4000000000102224 in main (argc=Error accessing memory address 0xffffffffffffffc5: Bad address.
> ) at main.c:637


Hi Paul

Does it happen at start-up when you start Vim with:

  $ vim -u NONE -U NONE

Or do you need to do anything else special for the crash to happen?

In your stack, I see that Vim accesses bad invalid address
0xffffffffffffffc5 (= -59 on 64-bits) but I can't see why.

-- Dominique

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Crash of athena gui

Paul Ackersviller-2
On Fri, Jun 18, 2010 at 05:58:48AM +0200, Dominique Pell? wrote:
>
> Does it happen at start-up when you start Vim with:
>   $ vim -u NONE -U NONE

Yes, sure does.

> Or do you need to do anything else special for the crash to happen?

Nothing else that I've been able to determine yet.  I'll keep beating
on it to see if I can figure anything out.

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Crash of athena gui

Paul Ackersviller-2
In reply to this post by Bram Moolenaar
On Fri, Jun 18, 2010 at 05:49:55AM +0200, Bram Moolenaar wrote:
> Do you have this with Vim 7.3a only, or does it also happen when
> building the latest Vim 7.2 with the same setup?

Yes, I was getting the same thing from 7.2.444 out of svn the other day too.
I should point out however that this HP-UX 11.31 is a relatively new
installation.  To see whether it could be relaetd to OS-specific athena
components, I also tried the same kind of build on an older 11.11 -- the
results are the same there too.

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Crash of athena gui

Dominique Pellé
In reply to this post by Paul Ackersviller-2
Paul Ackersviller wrote:

> On Fri, Jun 18, 2010 at 05:58:48AM +0200, Dominique Pell? wrote:
>>
>> Does it happen at start-up when you start Vim with:
>>   $ vim -u NONE -U NONE
>
> Yes, sure does.
>
>> Or do you need to do anything else special for the crash to happen?
>
> Nothing else that I've been able to determine yet.  I'll keep beating
> on it to see if I can figure anything out.

I can't reproduce this myself. One way to help debug it would be
to try older versions of Vim to see whether they crash as well.

For example, you can get version 7.2.100 from mercurial with:

$ hg up -r v7-2-100

You can use "hg tags" to see all available tags.

Hopefully it can help to narrow down to a patch that
may have introduced the bug.

-- Dominique

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Crash of athena gui

Paul Ackersviller-2
In reply to this post by Bram Moolenaar
On Fri, Jun 18, 2010 at 05:49:55AM +0200, Bram Moolenaar wrote:
> Do you have this with Vim 7.3a only, or does it also happen when
> building the latest Vim 7.2 with the same setup?

Yikes, I thought I'd been building athena versions from time to time,
but had to go back much farther than I expected to find a working one.

Everything back to 7-2-000 out of mercurial crashes for me in the same
way.  I next ran some old binaries I had lying about -- 7.1.2 also
crashes, but 6.4.4 comes up fine.  I'd swear some older version
7s worked once upon a time, but am unable to get any going now.

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Crash of athena gui

Bram Moolenaar

Paul Ackersviller wrote:

> On Fri, Jun 18, 2010 at 05:49:55AM +0200, Bram Moolenaar wrote:
> > Do you have this with Vim 7.3a only, or does it also happen when
> > building the latest Vim 7.2 with the same setup?
>
> Yikes, I thought I'd been building athena versions from time to time,
> but had to go back much farther than I expected to find a working one.
>
> Everything back to 7-2-000 out of mercurial crashes for me in the same
> way.  I next ran some old binaries I had lying about -- 7.1.2 also
> crashes, but 6.4.4 comes up fine.  I'd swear some older version
> 7s worked once upon a time, but am unable to get any going now.

That sounds like your problem is in the libraries, not in Vim.

--
hundred-and-one symptoms of being an internet addict:
224. You set up your own Web page. You set up a Web page for each
     of your kids... and your pets.

 /// Bram Moolenaar -- [hidden email] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--
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
Reply | Threaded
Open this post in threaded view
|

Re: Crash of athena gui

Paul Ackersviller-2
On Mon, Jun 21, 2010 at 09:48:20PM +0200, Bram Moolenaar wrote:
>
> Paul Ackersviller wrote:
> > Everything back to 7-2-000 out of mercurial crashes for me in the same
> > way.  I next ran some old binaries I had lying about -- 7.1.2 also
> > crashes, but 6.4.4 comes up fine.  I'd swear some older version
> > 7s worked once upon a time, but am unable to get any going now.
>
> That sounds like your problem is in the libraries, not in Vim.

I had some doubts earlier due to the working athena 6.4.4, but I'm unable
to re-create that.  It must have had an old, statically linked athena
library from before HP managed to break it.  Thanks for your attention.

--
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