This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fwd: asqlcmd hangs in cygwin


The asqlcmd part of Advantage Database installation when invoked
in c:\windows\system32\cmd.exe with no arguments displays a prompt
as expected:
    c:\Program Files (x86)\Advantage 11.10\ARC>asqlcmd
    asqlcmd -? for usage information.
    :quit to exit.
    :help for available commands.
    asqlcmd>

The same command when invoked from cygwin hangs forever:

    $ type asqlcmd
    asqlcmd is hashed (/cygdrive/c/Program FIles (x86)/Advantage
11.10/ARC/asqlcmd)

    $ asqlcmd


Attached to the process using gdb, but could not get a stacktrace on where it
is hung:

$ gdb  asqlcmd 2060
GNU gdb (GDB) 7.8
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-cygwin".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from asqlcmd...(no debugging symbols found)...done.
Attaching to program `/cygdrive/c/Program FIles (x86)/Advantage
11.10/ARC/asqlcmd', process 2060
[New Thread 2060.0x1350]
[New Thread 2060.0x320]
[New Thread 2060.0x378]

warning: `/cygdrive/c/Windows/SYSTEM32/ntdll.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture
i386.

warning: `/cygdrive/c/Windows/system32/KERNEL32.DLL': Shared library
architecture i386:x86-64 is not compatible with target architecture
i386.

warning: `/cygdrive/c/Windows/system32/KERNELBASE.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture
i386.

warning: `/usr/bin/cygwin1.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.

warning: `/usr/bin/cygintl-8.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.

warning: `/usr/bin/cygncursesw-10.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.

warning: `/usr/bin/cygreadline7.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.

warning: `/usr/bin/cygiconv-2.dll': Shared library architecture
i386:x86-64 is not compatible with target architecture i386.

warning: `/cygdrive/c/Windows/system32/USER32.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture
i386.

warning: `/cygdrive/c/Windows/system32/GDI32.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture
i386.

warning: `/cygdrive/c/Windows/system32/IMM32.DLL': Shared library
architecture i386:x86-64 is not compatible with target architecture
i386.

warning: `/cygdrive/c/Windows/system32/MSCTF.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture
i386.

warning: `/cygdrive/c/Windows/system32/msvcrt.dll': Shared library
architecture i386:x86-64 is not compatible with target architecture
i386.
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
(gdb)

Is there any workaround to get asqlcmd running in cygwin?

Attachment: cygcheck.out
Description: Binary data

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]