[wxMSW] Samples/Image on Win98 vs WinXP
Thomas Matthews
Thomas_Hates_Spam at cox.network
Sat Aug 19 21:11:47 PDT 2006
Hi,
I've built the samples/images and when I run it on my Win98
machine at home in gdb I get the following error:
$ gdb ./image.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 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 "i686-pc-cygwin"...
(gdb) run
Starting program: /cygdrive/c/wxwindows/build_debug/samples/image/image.exe
Loaded symbols for /cygdrive/c/WINDOWS/SYSTEM/OLEAUT32.DLL
Loaded symbols for /cygdrive/c/WINDOWS/SYSTEM/OLE32.DLL
Loaded symbols for /cygdrive/c/WINDOWS/SYSTEM/SHELL32.DLL
Loaded symbols for /cygdrive/c/WINDOWS/SYSTEM/MSVCRT.DLL
Loaded symbols for /cygdrive/c/WINDOWS/SYSTEM/SHLWAPI.DLL
Loaded symbols for /cygdrive/c/WINDOWS/SYSTEM/COMDLG32.DLL
Loaded symbols for /cygdrive/c/WINDOWS/SYSTEM/USER32.DLL
Loaded symbols for /cygdrive/c/WINDOWS/SYSTEM/GDI32.DLL
Loaded symbols for /cygdrive/c/WINDOWS/SYSTEM/COMCTL32.DLL
Loaded symbols for /usr/bin/cygz.dll
Loaded symbols for /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
Loaded symbols for /cygdrive/c/WINDOWS/SYSTEM/ADVAPI32.DLL
Loaded symbols for /usr/bin/cygwin1.dll
Program received signal SIGSEGV, Segmentation fault.
0xbffa0938 in WaitForMultipleObjectsEx ()
from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
(gdb) bt
#0 0xbffa0938 in WaitForMultipleObjectsEx ()
from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
#1 0x83d6f038 in ?? ()
#2 0xbffa1d04 in KERNEL32!GetCPInfoExA ()
from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
#3 0xbff958f8 in KERNEL32!GlobalFix ()
from /cygdrive/c/WINDOWS/SYSTEM/KERNEL32.DLL
#4 0x00000000 in ?? ()
I've built this on my WinXP machine at work with no problems.
My Win98 machine, using Cygwin:
wxMSW-2.6.3
./configure --with-msw --with-odbc --enable-debug
--enable-debug_gdb --disable-shared
--disable-precomp-headers
g++ 3.4.4
gdb 6.5.50.2006
cygwin 1.5.21.
When I run the program from Cygwin, I get error windows
stating "This program has performed an illegal operation
and will be shutdown."
I've re-installed Cygwin twice and rebuilt wxWidgets 3 times.
Is this Cygwin or wxWidgets?
My environment variables:
!C:='C:\cygwin\bin'
BASH=/usr/bin/BASH
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="1" [2]="17" [3]="6" [4]="release"
[5]="i686-pc-cygwin")
BASH_VERSION='3.1.17(6)-release'
BCB='C:\Program Files\Borland\CBuilder6'
CMDLINE='bash --login -i'
COMSPEC='C:\WINDOWS\COMMAND.COM'
CONFIG=Win98
CVS_RSH=/bin/ssh
DIRSTACK=()
DIR_SEP='\\'
GROUPS=()
HOME=/cygdrive/c
HOSTNAME=Thomas_At_Home
HOSTTYPE=i686
IFS=$' \t\n'
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
MACHTYPE=i686-pc-cygwin
MAILCHECK=60
MAKE_MODE=unix
MANPATH=/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man
OPTERR=1
OPTIND=1
OSTYPE=cygwin
PATH='/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/PROGRAM
FILES/DOXYGEN/BIN:/cygdrive/c/PROGRA~1/MICROS~4/OFFICE:/cygdrive/c/PROGRA~1/BORLAND/CBUILDER6/BIN:/cygdrive/c/PROGRA~1/BORLAND/CBUILDER6/BPL:/usr/bin:/cygdrive/c/PROGRA~1/COMMON~1/INSTALLSHIELD:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/COMMAND:/cygdrive/c/PROGRA~1/ATT/GRAPHVIZ/BIN:/cygdrive/c/PROGRA~1/ATT/GRAPHVIZ/BIN/TOOLS'
PIPESTATUS=([0]="0")
PPID=1
PROMPT='$p$g'
PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
PS2='> '
PS4='+ '
PWD=/cygdrive/c/wxwindows/build_debug/samples/image
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
TEMP=/cygdrive/c/TEMP
TERM=cygwin
TMP=/cygdrive/c/windows/TEMP
TMPDIR=/cygdrive/c/windows/TEMP
WXWIN=/cygdrive/c/wxwindows
_=set
f=
--
Thomas Matthews
More information about the wx-users
mailing list