473,387 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

C/C++/VB/dotnet app on Vista: Crash that occurs only when offline?

Hello everybody,

I've been working for days on a "twilight zone" bug and I can't make any
sense of it. This is in an application that was developped on XP and that
was modified to handle Vista. Other than using the virtual store for some
config information, it doesn't do anything fancy. The strange thing is that
when the application is executed without an active internet connection,
there is a crash in the application for some of our clients. I've made a
special version with a log to try and pinpoint the crash culprit and
surprisingly, the software doesn't crash anymore but it's still behaving
strangely (we suspect memory corruption might be occuring). This occurs for
Vista clients only. When the software is executed with an internet
connection, there are no problems.

The strange thing is that we don't access the internet at all in these
scenarios... I have hunch, fron the info I've managed the gather, that the
problem might be occuring while accessing registry values (reading them),
but it could be a false trail.

I'm not very knowledgable of Vista, so I was wondering what, in Vista, could
cause something like that to happen?

Thanks,

Alex.
Dec 3 '07 #1
1 1551
I would put the app back into the crashing state, then use ADPlus to trap
any 2nd chance exceptions. Crashign is much easier to deal with than
"weird".

At that point, you'll have a Dump file you can poke at with WinDbg and Son
of Strike, and you'll figure out *exactly* what the problem is. The answer
will likley be sitting in call stacks of the threads...

Time wise, if you already knew how to debug this type of problem, it would
likley take about 15 minutes. Without that knowledge, expect it to take
about 4 hours. (Download Debugging tools for windows. Setup AD Plus. Crash
App. Capture Dump. Curse at Son of Strike over and over and over....)

I wrote a blog article that should be very close to what you're looking for:
http://www.coversant.net/Coversant/B...8/Default.aspx

--
Chris Mullins
"Alex" <br****@hotmail.comwrote in message
news:up**************@TK2MSFTNGP06.phx.gbl...
Hello everybody,

I've been working for days on a "twilight zone" bug and I can't make any
sense of it. This is in an application that was developped on XP and that
was modified to handle Vista. Other than using the virtual store for some
config information, it doesn't do anything fancy. The strange thing is
that when the application is executed without an active internet
connection, there is a crash in the application for some of our clients.
I've made a special version with a log to try and pinpoint the crash
culprit and surprisingly, the software doesn't crash anymore but it's
still behaving strangely (we suspect memory corruption might be occuring).
This occurs for Vista clients only. When the software is executed with an
internet connection, there are no problems.

The strange thing is that we don't access the internet at all in these
scenarios... I have hunch, fron the info I've managed the gather, that the
problem might be occuring while accessing registry values (reading them),
but it could be a false trail.

I'm not very knowledgable of Vista, so I was wondering what, in Vista,
could cause something like that to happen?

Thanks,

Alex.

Dec 3 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: xixi | last post by:
i have db2 udb v8.1 on windows 64 bit 2003 server, after db2 server start , i found this in the db2diag.log, is this error? 2004-05-05-15.28.30.780000 Instance:DB2 Node:000...
12
by: benjamin.krulewitch | last post by:
I'm debugging an issue with a C program that causes the computer to crash, and I'm attempting to log information immediately before the crash occurs. I us my BKprintLog function (see below) to...
7
by: Dirk Reske | last post by:
Hello, In Windows Vista I can make a memory dump of an application in the taskmanager. Is there an api call to create a memory dump, so that I can do that out of my app? thanks!
1
by: nancyisbell | last post by:
I used the following test01.xml file below to exercise the cnlUnit01.xslt. <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="cnlUnit01.xslt"?> <cnlUnitXsl unitDataFile="111111"/> ...
2
by: Wayne | last post by:
I'm experiencing the following intermittent problem with Access 2003 (Access 2000 file format) under Vista. Sometimes when I close a database by closing the database window I get the following...
2
by: mindspring | last post by:
A pc that was created in MS office xp's Access 2002 has been working fine on a windows vista Ultimate pc that has MS OFfice Vista Edition. But all of the sudden it stopped working and gives this...
2
by: 13Rockes | last post by:
I am in the process of writing programs using VB6 in XP Pro. However, I am thinking about starting over using VB2005 as my company is migrating to Vista. Two questions... What kinds of...
11
by: idoublepress | last post by:
Hi all, I've been struggling with an issue that I hope you can comment on or provide suggestions to. Our .NET 2.0 (VS2005) based product is crashing (when the user selects a particular feature on...
1
by: fostandy | last post by:
Howdy, I have a fresh install of vista ultimate sp1 which I am trying to install visual studio 2008 to. When I run the installer it basically stalls at "Setup is loading installation...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.