Re: Xm/Xt auto-import linking issues

2006-02-15 Thread Marc Vaillant
  I'm trying to build xmbase-grok (http://www.bitrot.de/grok.html).  
  It
  successfully compiles but crashes when I click most buttons.

 Could you give the test version of lesstif a try and report back 
 please?
   
Thanks for your help Brian.  I tried lesstif 0.94.4-1 and it's better
but still very buggy.  In particular, it always crashes the second
time I access a menu.
  
   Steps to reproduce, please?  I just built grok after much fuddling with
   errno and can not reproduce.  I know nothing of how to use it, though.
   All menu options seem to work even with current released lesstif
   (0.92.94-2).
 
  The problems seem to be somewhat different depending on the lesstif
  version.  With 0.92.94-2, menu selection seems to be fine but buttons
  are not:  select the first database (biblio) under the Database menu.
  Now click on any of the buttons labeled A-Z.  This always produces a
  crash for me.  With 0.94.4-1, select the phone2 database under the
  Database menu.  Now try to select another database.  You may have to
  repeat once more to get a crash.
 
 Ok, I can reproduce this now.  I haven't had much time to work on it yet,
 but my initial impression is that it is an upstream LessTif issue.
 
 Would you consider filing a bug with lesstif.sourceforge.net?  If not,
 I'll try to follow up as time permits.
 
 LessTif is not very actively maintained anymore, though :-(.

Hi Brian,

I checked with the author of the software to find out if he was aware
of similar problems using xmbase-grok with lesstif.  Below is his
response:

   That code is a little unusual - the pulldown is built when it
   is drawn, to make sure it's always up to date. I am afraid I
   can't reproduce the problem because I have neither Windows nor
   Cygwin. I don't think Lesstif is the problem because I use that
   every day.

Thanks,
Marc

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Xm/Xt auto-import linking issues

2006-02-08 Thread Marc Vaillant

I'm trying to build xmbase-grok (http://www.bitrot.de/grok.html).  It
successfully compiles but crashes when I click most buttons.
  
   Could you give the test version of lesstif a try and report back please?
 
  Thanks for your help Brian.  I tried lesstif 0.94.4-1 and it's better
  but still very buggy.  In particular, it always crashes the second
  time I access a menu.
 
 Steps to reproduce, please?  I just built grok after much fuddling with
 errno and can not reproduce.  I know nothing of how to use it, though.
 All menu options seem to work even with current released lesstif
 (0.92.94-2).
 

The problems seem to be somewhat different depending on the lesstif
version.  With 0.92.94-2, menu selection seems to be fine but buttons
are not:  select the first database (biblio) under the Database menu.
Now click on any of the buttons labeled A-Z.  This always produces a
crash for me.  With 0.94.4-1, select the phone2 database under the
Database menu.  Now try to select another database.  You may have to
repeat once more to get a crash.

Thanks,

Marc


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Re: Xm/Xt auto-import linking issues

2006-02-07 Thread Marc Vaillant
 
  Hello,
 
  I'm trying to build xmbase-grok (http://www.bitrot.de/grok.html).  It
  successfully compiles but crashes when I click most buttons.  I'm
  wondering if these problems might be related to the various Xm/Xt
  auto-import linking messages that I receive, as shown below.
 
 No, those are informational only.
 
  Archived messages suggest that X11 and/or binutils are not up to date.
 
 No, this is due to the current lesstif release not using the proper DLL
 import/export decorations in its headers, thus relying on binutils to do
 the right 'nix like thing.
 
 Could you give the test version of lesstif a try and report back please?
 I keep meaning to roll it into a current one but hadn't yet found the
 time.

Thanks for your help Brian.  I tried lesstif 0.94.4-1 and it's better
but still very buggy.  In particular, it always crashes the second
time I access a menu.  Below is a gdb backtrace for this crash

Program received signal SIGSEGV, Segmentation fault.
0x6b1491f2 in cygXm-2!_XmDispatchGadgetInput () from /usr/X11R6/bin/cygXm-2.dll
(gdb) bt
#0  0x6b1491f2 in cygXm-2!_XmDispatchGadgetInput () from 
/usr/X11R6/bin/cygXm-2.dll
#1  0x6b160a17 in cygXm-2!_XmParentProcess () from /usr/X11R6/bin/cygXm-2.dll
#2  0x0053dfa3 in cygXt-6!XtDispatchEventToWidget () from 
/usr/X11R6/bin/cygXt-6.dll
#3  0x0053e897 in cygXt-6!_XtOnGrabList () from /usr/X11R6/bin/cygXt-6.dll
#4  0x0053ebaf in cygXt-6!XtDispatchEvent () from /usr/X11R6/bin/cygXt-6.dll
#5  0x0053f024 in cygXt-6!XtAppMainLoop () from /usr/X11R6/bin/cygXt-6.dll
#6  0x004019f1 in main (argc=2, argv=0x100e0150) at main.c:226

 
 Volunteer Lesstif maintainer...

Marc

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



Xm/Xt auto-import linking issues

2006-02-04 Thread Marc Vaillant
Hello,

I'm trying to build xmbase-grok (http://www.bitrot.de/grok.html).  It
successfully compiles but crashes when I click most buttons.  I'm
wondering if these problems might be related to the various Xm/Xt
auto-import linking messages that I receive, as shown below.  Archived
messages suggest that X11 and/or binutils are not up to date.  I've
checked a few different mirrors and my installation is up to date.
Please see my cygcheck -svr output at the bottom of the message.

Thank you,
Marc


gcc -O2 -s -I/usr/X11R6/include  -o grok main.o mainwin.o formwin.o formop.o 
canvdraw.o cardwin.o formfile.o dbase.o dbfile.o popup.o util.o help.o eval.o 
evalfunc.o query.o querywin.o sumwin.o y.tab.o prefwin.o printwin.o print.o 
convert.o chart.o chartdrw.o editwin.o sectwin.o template.o templmk.o 
templwin.o -L/usr/X11R6/lib -lXm -lXt
-lX11 -lm Info: resolving _XtStrings by linking to __imp__XtStrings 
(auto-import)
Info: resolving __XmStrings by linking to __imp___XmStrings (auto-import)
Info: resolving _xmToggleButtonWidgetClass by linking to 
__imp__xmToggleButtonWidgetClass (auto-import)
Info: resolving _xmPushButtonGadgetClass by linking to 
__imp__xmPushButtonGadgetClass (auto-import)
Info: resolving _xmMainWindowWidgetClass by linking to 
__imp__xmMainWindowWidgetClass (auto-import)
Info: resolving _xmFormWidgetClass by linking to __imp__xmFormWidgetClass 
(auto-import)
Info: resolving _xmPushButtonWidgetClass by linking to 
__imp__xmPushButtonWidgetClass (auto-import)
Info: resolving _xmArrowButtonWidgetClass by linking to 
__imp__xmArrowButtonWidgetClass (auto-import)
Info: resolving _xmTextWidgetClass by linking to __imp__xmTextWidgetClass 
(auto-import)
Info: resolving _xmLabelWidgetClass by linking to __imp__xmLabelWidgetClass 
(auto-import)
Info: resolving _xmSeparatorWidgetClass by linking to 
__imp__xmSeparatorWidgetClass (auto-import)
Info: resolving _XtShellStrings by linking to __imp__XtShellStrings 
(auto-import)
Info: resolving _applicationShellWidgetClass by linking to 
__imp__applicationShellWidgetClass (auto-import)
Info: resolving _xmFrameWidgetClass by linking to __imp__xmFrameWidgetClass 
(auto-import)
Info: resolving _xmScrolledWindowWidgetClass by linking to 
__imp__xmScrolledWindowWidgetClass (auto-import)
Info: resolving _xmRowColumnWidgetClass by linking to 
__imp__xmRowColumnWidgetClass (auto-import)
Info: resolving _xmDrawingAreaWidgetClass by linking to 
__imp__xmDrawingAreaWidgetClass (auto-import)
Info: resolving _xmBulletinBoardWidgetClass by linking to 
__imp__xmBulletinBoardWidgetClass (auto-import)
Info: resolving _xmTextFieldWidgetClass by linking to 
__imp__xmTextFieldWidgetClass (auto-import)
make[1]: Leaving directory `/home/vaillant/software/xmbase_grok-1.5/src'

cygcheck -svr  

Cygwin Configuration Diagnostics
Current System Time: Thu Feb 02 17:14:51 2006

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   c:\Program Files\Intel\CPP\Compiler80\Ia32\Bin
c:\Program Files\Common Files\Intel\Shared Files\Ia32\Bin
c:\Program Files\Intel\CPP\ISelect\Bin
C:\cygwin\usr\local\lib
C:\cygwin\home\vaillant\MSVC\bin
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\BIN
c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools
c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\Tools\Bin
c:\Program Files\Microsoft Visual Studio .NET 
2003\Common7\Tools\Bin\winnt
c:\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
C:\cygwin\home\vaillant\bin
C:\cygwin\home\vaillant\CYGWIN\bin
C:\cygwin\home\vaillant\dll
C:\cygwin\home\vaillant\dll\ipp
C:\cygwin\home\vaillant\dll\ipp\ipp20
C:\cygwin\home\vaillant\software\ImageMagick-5.5.7\bin
c:\matlabr12\bin\win32
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\Program Files\Intel\MKL72\ia32\bin
c:\texmf\miktex\bin
c:\PROGRAM FILES\THINKPAD\UTILITIES
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\WINDOWS\Downloaded Program Files
c:\IBMTOOLS\Python22
c:\Program Files\PC-Doctor for Windows\services
c:\Program Files\Intel\CPP\Compiler80\Ia32\Bin
c:\Program Files\Common Files\GTK\2.0\bin
C:\cygwin\home\vaillant\dev\SystemFiles
c:\Program Files\ATI Technologies\ATI Control Panel
c:\Program Files\ATI Technologies\Fire GL 3D Studio Max
c:\Program Files\QuickTime\QTSystem\
c:\Program Files\SSH Communications Security\SSH Secure Shell
c:\Program Files\Common Files\GTK\2.0\bin
C:\cygwin\home\vaillant\dev\Resources\cg\bin
C:\cygwin\lib\lapack
.\

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(vaillant) GID: 513(None)
0(root)