Hmm, we're probably using the same version of LessTif but not OpenDX.
I am using 4.1.3. I don't see a call of _XmMapKeyEvents anywhere.
Are you using the CVS version of OpenDX ?
Danny
"R. Lahaye" wrote:
>
> Danny Backx wrote:
> >
> > "R. Lahaye" wrote:
> > > Program received signal SIGSEGV, Segmentation fault.
> > > 0x40119ab1 in _XmMapKeyEvents () from /home/lahaye/opt/lib/libXm.so.2
> > > Current language: auto; currently c
> > > (gdb) bt
> > > #0 0x40119ab1 in _XmMapKeyEvents () from /home/lahaye/opt/lib/libXm.so.2
> > > #1 0x8126975 in TransferAccelerator () at ToolSelector.C:34
> > > #2 0x80b576e in EditorWindow::doSelectedNodesDefaultAction (this=0x832af88) at
> > >
> > > Is this of any use?
> >
> > Sure is.
> >
> > Unfortunately it doesn't crash for me.
> >
> > Please make sure (again) that it is version 1.24 of MapEvent.c
> > that you're using. Then please recompile that file with -g, and rerun
> > this test, so I can see the exact cause of the problem.
>
> OK, here we go:
>
> $ export DXROOT=/home/lahaye/opt/dx
> $ export DXDATA=$DXROOT/samples/data
> $ export DXMACROS=$DXROOT/samples/macros
> $ gdb src/uipp/dxui/dxui
> GNU gdb 19991004
> Copyright 1998 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i386-redhat-linux"...
> (gdb) set args -edit
> (gdb) run
> Starting program: /home/lahaye/SOFTWARE/dx/src/uipp/dxui/dxui -edit
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x40119a91 in _XmMapKeyEvents (str=0x847ad18 "Ctrl<Key>S", eventType=0xbffff404,
>keysym=0xbffff400, modifiers=0xbffff3fc)
> at MapEvent.c:2040
> 2040 (*keysym)[i] = e->event.eventCode;
> Current language: auto; currently c
> (gdb) bt
> #0 0x40119a91 in _XmMapKeyEvents (str=0x847ad18 "Ctrl<Key>S", eventType=0xbffff404,
>keysym=0xbffff400, modifiers=0xbffff3fc)
> at MapEvent.c:2040
> #1 0x8126975 in TransferAccelerator () at ToolSelector.C:34
> #2 0x80b576e in EditorWindow::doSelectedNodesDefaultAction (this=0x83291e8) at
>EditorWindow.C:2504
> #3 0x80c0d05 in EditorWorkSpace::doDefaultAction (this=0x835c780) at
>EditorWorkSpace.C:103
> #4 0x8167cca in WorkSpace_DefaultActionCB (widget=0x835d2e8, clientData=0x835c780,
>callData=0xbffff598) at WorkSpace.C:172
> #5 0x403dd181 in XtCallCallbacks () from /usr/X11R6/lib/libXt.so.6
> #6 0x81b4311 in GrabSelections () at WorkSpaceGrid.C:189
> #7 0x4040846f in HandleActions () from /usr/X11R6/lib/libXt.so.6
> #8 0x40408932 in HandleSimpleState () from /usr/X11R6/lib/libXt.so.6
> #9 0x40408e31 in _XtTranslateEvent () from /usr/X11R6/lib/libXt.so.6
> #10 0x403e793a in XtDispatchEventToWidget () from /usr/X11R6/lib/libXt.so.6
> #11 0x403e81da in _XtDefaultDispatcher () from /usr/X11R6/lib/libXt.so.6
> #12 0x403e840c in XtDispatchEvent () from /usr/X11R6/lib/libXt.so.6
> #13 0x814ee42 in Application::handleEvent (this=0x82c1450, xev=0xbffff7c8) at
>Application.C:284
> #14 0x80a1476 in DXApplication::handleEvent (this=0x82c1450, xev=0xbffff7c8) at
>DXApplication.C:2943
> #15 0x80a13fb in DXApplication::handleEvents (this=0x82c1450) at DXApplication.C:2879
> #16 0x808920c in main (argc=1, argv=0xbffff8a4) at Main.C:112
> (gdb)
>
> A few var-values at the moment of crash:
>
> i = 0
> evs = 0x847b1a8
>
> e = 0x847b1a8
> e->event.eventType = 2
> e->event.eventCode = 83
> e->event.modifiers = 4
>
> (*eventType)[i] = 2
> *eventType = (int *) 0x84087a8
> eventType = (int **) 0xbffff404
>
> (*keysym)[i] = 3277712521
> *keysym = (KeySym *) 0x806bee7
> keysym = (KeySym **) 0xbffff400
>
> (*modifiers)[i] = 3221222636
> *modifiers = (Modifiers *) 0xbffff41c
> modifiers = (Modifiers **) 0xbffff3fc
>
> Does that help?
>
> Regards,
> Rob.
--
Danny Backx ([EMAIL PROTECTED] [EMAIL PROTECTED])
Home page : http://users.skynet.be/danny.backx
Projects: LessTif (http://www.lesstif.org)
Oleo (http://www.gnu.org/software/oleo/oleo.html)
_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif