473,781 Members | 2,491 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help understanding crash/error

We have a Windows service written in C#. As of late, it has started
crashing after running for as little as 2 minutes. I have a handler for
AppDomain.Unhan dledException which does NOT get called in case (it is setup
correctly - I have seen it called in other places). The only error
information I get is from Event Viewer:

Faulting application rtmsdriversvc.e xe, version 2.2.2.0, stamp 45ed8d14,
faulting module kernel32.dll, version 5.2.3790.3959, stamp 45d70ad8, debug?
0, fault address 0x0000bee7.
This... has been less than useful to me, and I have no idea what to make of
it. This is running on a Windows Server 2003 Standard box if that makes a
difference.

Any thoughts/ideas?

--
Adam Clauss

Jun 7 '07 #1
3 5522
Are you doing any sort of interop, particularly, any API functions in
kernel32?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Adam Clauss" <ca*****@tamu.e duwrote in message
news:13******** *****@corp.supe rnews.com...
We have a Windows service written in C#. As of late, it has started
crashing after running for as little as 2 minutes. I have a handler for
AppDomain.Unhan dledException which does NOT get called in case (it is
setup correctly - I have seen it called in other places). The only error
information I get is from Event Viewer:

Faulting application rtmsdriversvc.e xe, version 2.2.2.0, stamp 45ed8d14,
faulting module kernel32.dll, version 5.2.3790.3959, stamp 45d70ad8,
debug? 0, fault address 0x0000bee7.
This... has been less than useful to me, and I have no idea what to make
of it. This is running on a Windows Server 2003 Standard box if that
makes a difference.

Any thoughts/ideas?

--
Adam Clauss

Jun 7 '07 #2
Not for the most part...
Many of our applications use a wrapper library written in Managed C++
(calling into an unmanaged C++ library) that performs "heartbeati ng" to a
monitoring application. I do not know a lot of the details of it, but I
suppose it is possible that library is making some calls that involve
kernel32.

At the same time, most of our applications use this library and this is the
only one crashing like this. These applications are all running on the same
server as well.

--
Adam Clauss

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omwrote in
message news:eg******** ******@TK2MSFTN GP02.phx.gbl...
Are you doing any sort of interop, particularly, any API functions in
kernel32?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Adam Clauss" <ca*****@tamu.e duwrote in message
news:13******** *****@corp.supe rnews.com...
>We have a Windows service written in C#. As of late, it has started
crashing after running for as little as 2 minutes. I have a handler for
AppDomain.Unha ndledException which does NOT get called in case (it is
setup correctly - I have seen it called in other places). The only error
information I get is from Event Viewer:

Faulting application rtmsdriversvc.e xe, version 2.2.2.0, stamp 45ed8d14,
faulting module kernel32.dll, version 5.2.3790.3959, stamp 45d70ad8,
debug? 0, fault address 0x0000bee7.
This... has been less than useful to me, and I have no idea what to make
of it. This is running on a Windows Server 2003 Standard box if that
makes a difference.

Any thoughts/ideas?

--
Adam Clauss


Jun 7 '07 #3
My guess is that it is a call into the unmanaged code somewhere (not
kernel32, but your code) which is causing the problem. Are you able to
debug from the managed code to the unmanaged code? Or rather, have you
tried?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Adam Clauss" <ca*****@tamu.e duwrote in message
news:13******** *****@corp.supe rnews.com...
Not for the most part...
Many of our applications use a wrapper library written in Managed C++
(calling into an unmanaged C++ library) that performs "heartbeati ng" to a
monitoring application. I do not know a lot of the details of it, but I
suppose it is possible that library is making some calls that involve
kernel32.

At the same time, most of our applications use this library and this is
the only one crashing like this. These applications are all running on
the same server as well.

--
Adam Clauss

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard .caspershouse.c omwrote
in message news:eg******** ******@TK2MSFTN GP02.phx.gbl...
> Are you doing any sort of interop, particularly, any API functions in
kernel32?
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard. caspershouse.co m

"Adam Clauss" <ca*****@tamu.e duwrote in message
news:13******* ******@corp.sup ernews.com...
>>We have a Windows service written in C#. As of late, it has started
crashing after running for as little as 2 minutes. I have a handler for
AppDomain.Unh andledException which does NOT get called in case (it is
setup correctly - I have seen it called in other places). The only
error information I get is from Event Viewer:

Faulting application rtmsdriversvc.e xe, version 2.2.2.0, stamp 45ed8d14,
faulting module kernel32.dll, version 5.2.3790.3959, stamp 45d70ad8,
debug? 0, fault address 0x0000bee7.
This... has been less than useful to me, and I have no idea what to make
of it. This is running on a Windows Server 2003 Standard box if that
makes a difference.

Any thoughts/ideas?

--
Adam Clauss



Jun 7 '07 #4

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

Similar topics

19
14850
by: Thue Tuxen Sørensen | last post by:
Hi everybody ! I´m maintaining a large intranet (approx 10000 concurrent users) running on one IIS box and one DB box with sqlserver 2000. Currently there is 2,5 GB Ram, 1 1400 mhz cpu and 2 scsi disks installed on the db box. Sqlserver is set to use max 1,4 GB RAM, and the sqlserver does not seem to be using it all.
8
3394
by: DKM | last post by:
Here are the source code files to a Java applet that utilizes LiveConnect to communicate with Javascript, and the HTML file. The thing works both in IE 6.0 and FireFox 1.4. but with some problems. IE crashes when one refreshes the page or leave the page. This happens only after calling the Java method more than once. It does not crash if the Java method is called just once and then the page is refreshed. FireFox does not crash at all...
5
3886
by: NG | last post by:
Hi, We are having DB2-V7.2 DB on AIX 5.2 machine. Recently we upgraded our system to fixpack 13 and activated activate AIX asynchronous IO function. Our DB is going to crash recovery with this error 0xFFFFF707. I have attached the related details. Any suggestions is much appreciated.
6
508
by: Don Sealer | last post by:
I've written this expression for a DLookup function. It works almost alright. What I'm trying to do is type in a description and the ID field (number) populates automatically. It works almost as I've said. It doesn't populate until I go to a new record. Then if I go back to the record the number is in the field. Instead of populating immediately it waits until I've created a new record. Am I making sense with this description. Here's...
4
2857
by: arizvi | last post by:
Hi, My program crashes when it reaches a certain line. There is nothing wrong with that particular line as I have changed it to something simple like i=0, and it still crashes. If I remove some paras of code from lines previous to this line, the program run fine and does not crash. So I think that this has to do with some kind of overflow. It seems to me that if the number of lines of code accessed by my program goes above a limit, it...
5
3373
by: Y2J | last post by:
I am working through this book on C++ programming, the author is speaking of using linked lists. He gave and example which I found confusing to say the least. So I rewrote the example in a way that I could better understand the concept, he was trying to convey to me. I ran my own example and it crashed and burn "what a surprise!" : (. I ran the authors example out of the book and quess what, it crashed also, : 0. I ran them both on my...
6
1645
by: HelpME | last post by:
I wrote a program in Vb.Net that was running fine. However I am unable to install it on a couple of machines. When i run it I get a windows error message that says My Project.exe has encountered a problem and needs to close. We are sorry for the inconvience. If you were in the middle of something, the information you were working on might be lost
5
2116
by: Renato | last post by:
I have an array of pointers to class Shape. I create 4 items and display their values. shapes Shape *shapes; shapes = new Shape (p1); shapes = new Triangle (p1); shapes = new Polygon (p2);
5
12233
by: JoeW | last post by:
Now before I go into detail I just want to say that this is purely for my own benefit and has no real world usage. I remember way back when the tool for *nix systems called forkbomb was created. I recently explained it to a friend of mine and at that time decided to see if I could replicate it in C#. I have created an application that, to me at least, mimics what fork would/should do on *nix/bsd systems. I know that fork spawns a new...
0
9474
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10143
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10076
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8964
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7486
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5375
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5507
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3633
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2870
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.