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]

1.7.10: gv invocation: Procedure Entry Point not located in DLL (Vista)


Please find my diagnostics listed below the discussion here.


I have not found any reference to a similar issue. ?Ghostview (gv) fails on
two different cygwin distros?and two different Window OSs. ?I
re-installed gv a couple of times,?but no luck. ?I have found references
to multiple versions of Ghostscript installations interfering with gv, but
that doesn't seem to apply here.

My cygcheck.out: ?Username changed to "user1"; computer name changed
to "pc1"; place changed to "America/Any_City_USA". ?Some permission
errors popped up when I ran it--didn't record them.
XWin.0.log: ?I didn't include--doesn't seem to be an X-problem.

Thanks for your help!

Distributions:
1.) Windows Vista
? ? CYGWIN_NT-6.0 PC 1.7.10(0.259/5/3) 2012-02-05 12:36 i686 Cygwin
2.) Windows XP
? ? CYGWIN_NT-5.1 PC 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin

#
#Issue: ?gv exits with error code 127.
#Assuming a Linux exit code, 127 is 'command not found'. ?I observe the
#same issue on Win XP, but the rest of the tests were only done on Vista. ?
#

$ gv file.ps &
[2] 2260

$?
[2]+ ?Exit 127 ? ? ? ? ? ? ? ?gv file.ps


#
#Oddly, even though 'the command is not found,' the application
#can be located and is in my path. ?Further, it appears to be
#installed (man pages etc):
#

$ which gv
/usr/bin/gv


#
#gdb results shows an error code 139 (I guess) which is 'a
#segmentation violoation':
#

gdb gv
GNU gdb (GDB) 7.3.50.20111026-cvs (cygwin-special)
Copyright (C) 2011 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 "i686-cygwin".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gv...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/gv?
[New Thread 6876.0x1d24]
gdb: unknown target exception 0xc0000139 at 0x777a9f5d
During startup program exited with code 0xc0000139.
(gdb) quit


#
#strace shows that there is some issue with the cygXt-6.dll
#

$ strace gv

(1st dialog box appears and says: ?"The procedure entry
point ? could not be located in the dynamic link library
cygXt-6.dll"-->click ok)

(2nd dialog box: ?"gv.exe has stopped working"
-->click close program)

$
--- Process 8020, exception C0000139 at 777A4278
--- Process 8020, exception C0000139 at 777A9F5D


#
#cygcheck gv shows that the dll is there. ?I suppose that
#it could be corrupted?, but corrupted on two separate boxes
#and cygwin versions? ?Installation shows "OK". ?Past this,
#I don't really know what to do or what is going on.
#

$ cygcheck gv
Found: C:\cygwin\bin\gv.exe
C:\cygwin\bin\gv.exe
? C:\cygwin\bin\cygX11-6.dll
? ? C:\cygwin\bin\cygwin1.dll
? ? ? C:\Windows\system32\KERNEL32.dll
? ? ? ? C:\Windows\system32\ntdll.dll
? ? C:\cygwin\bin\cygxcb-1.dll
? ? ? C:\cygwin\bin\cygXau-6.dll
? ? ? ? C:\cygwin\bin\cyggcc_s-1.dll
? ? ? C:\cygwin\bin\cygXdmcp-6.dll
? C:\cygwin\bin\cygXaw3d-7.dll
? ? C:\cygwin\bin\cygXext-6.dll
? ? C:\cygwin\bin\cygXmu-6.dll
? ? ? C:\cygwin\bin\cygXt-6.dll
? ? ? ? C:\cygwin\bin\cygICE-6.dll
? ? ? ? C:\cygwin\bin\cygSM-6.dll
? ? ? ? ? C:\cygwin\bin\cyguuid-1.dll

$cygcheck -c
Cygwin Package Information
Package ? ? ? ? ? ? ?Version ? ? ? ?Status
gv ? ? ? ? ? ? ? ? ? 3.6.5-1 ? ? ? ?OK

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]