lists.zerezo.com



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

***BOGO*** [Mingw-users] crash with one version of MinGW but not another



I have been working on a relatively simple gtkmm program that
reads info from a configuration key file.  The problem I had was
that if the file isn't present, the program would crash with

  "This application has requested the Runtime to terminate it in an
   unusual way.  Please contact the application's support team for more
   information."

I tried to use a try-catch but still the program
crashes without getting caught.  Someone in the gtkmm mail list
pointed me to a demo app

http://svn.gnome.org/viewvc/glibmm/trunk/examples/keyfile/main.cc?view=markup

I tried the example anyway and it worked on my work
computer.  Later I tried it at home and it crashed so I realized that
the work and home PCs are not setup the same.  I have another
development PC at work so I set it up with msys/MinGW just as I
had done at home.  The demo app crashed on that one.  Now that
I have the working and non-working computers side by side, I
started trying to figure out why one works and one doesn't.

The gtk and gtkmm were identical.  As far as I could tell the
environment vars were the same.  The only thing I could find that
is any different is the msys and MinGW setup.  On the working and
non-working PC I did uname -a, g++ --version and make --version.
This is what I got on the working and non-working PC

MINGW32_NT-5.1 AER1WB54103V2 1.0.11(0.46/3/2) 2004-04-30 18:55 i686 unknown
MINGW32_NT-5.1 C130DEV1      1.0.10(0.46/3/2) 2004-03-15 07:17 i686 unknown

g++.exe (GCC) 3.4.2 (mingw-special)
g++.exe (GCC) 3.4.5 (mingw-vista special r3)

GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.
GNU Make version 3.79.1, by Richard Stallman and Roland McGrath.



The setup that doesn't work is what I get if I go to the MinGW site,
get and install the current version.  The working setup was done by
someone else at work who had my PC before me more than a year ago.
I even tried an experiment where I copied the MinGW folder from
the non-working PC to the working PC and my demo app crashes.  I also
copied the working MinGW to the non-working PC and my demo app works.

Can anyone please give me suggestions how to investigate this?  I
attempted searching the archive but didn't have a lot of luck.
Might this be a known bug?

Damon Register

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users