473,549 Members | 3,109 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1558
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******** ******@TK2MSFTN GP06.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
9507
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 PID:1692(db2syscs.exe) TID:2860 Appid:AC10040A.GD5F.00FC56D8BEC5 base sys utilities sqledint Probe:30 Crash Recovery is needed. 2004-05-05-15.28.31.890000 ...
12
5551
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 write information into a log file. The problem is, i'm not confident that information i write to the log gets saved onto the hard drive before the...
7
2766
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
4242
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"/> The cnlUnit01.xslt file below should recursively concatenate the string "Level", the string " ", and the numeric value of the number (level) of...
2
4389
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 unhelpful generic message: "Microsoft Access has stopped working. A problem caused the program to stop working correctly. Please close the program. ...
2
2715
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 error, when a button is pressed. The button launches procedures to download and parse XML files. This error occurs when an event has failed to run...
2
1710
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 problems will I have installing and running my VB6 app under Vista? If I develop VB2005 apps under XP, what kinds of problems will I have
11
1905
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 the UI) on Vista. It works fine on XP. In a nutshell: - user makes a selection on the UI - System.Reflection.MethodInfo.Invoke() calls into...
1
4454
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 components", doing nothing (a copy of the dd_install_vs_procore_90.txt log is available here: http://pastebin.com/mf8b203 .. The dd_error_vs_procore_90.txt is...
0
7520
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7718
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7470
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6041
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5088
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3498
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3480
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1936
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.