473,406 Members | 2,377 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,406 software developers and data experts.

Random Crash Using Infragistics UltraWinToolbars

I seem to be posing a lot at the moment, so please accept my apologies.

I can't say, categorically that the Infragistics tools are to blame, but I
have had this intermittent problem now for two months, and all attempts to
localise it have failed. I have looked at the Infragistics newsgroups and
web sites, and there are hints that there are potential problems in this
area, especially in a multi-threaded app (I have two or three threads
running).

Sometimes I can get the crash to be repeatable, but just as I home in on it,
it stops happening. Then, some time later it will happen again in slightly
different circumstances.

The application terminates without warning, and without executing any
unhandled exception handlers. In Debug | Exceptions, I have all four - C++
Exceptions, CLR Exceptions, Native Run-Time Checks, and Win32 Exceptions -
set to break into the debugger when the exception is thrown and when it is
not handled, but no exception is thrown. The output window shows that the
app terminated with exit code 0.

The only common element seems to be that the crash happens as I click, or
immediately after I click a menu item or toolbar button (both Infragistics
tools).

My reason for posting is just in case anyone else has had similar
experience, or whether anyone can suggest a way of identifying what the app
was doing just before the crash. As it does not happen in a common place in
my code, I am assuming that there must be a common place in the Infragistics
code, but I don't know how to find or prove it.

Thanks in advance for any pointers.

Charles
Nov 20 '05 #1
1 2229
> I seem to be posing a lot at the moment, so please accept my apologies.

... posting ...

Anyway, in case anyone is watching this post with keen anticipation, I think
I have found the problem.

It's all to do with overlapped file i/o and the fact that sometimes, between
waiting for single object and getting the final overlapped result,
Windows/.NET/whatever can move stuff about. So, what you were pointing to at
the start you might not be pointing to at the end.

So now I marshal my overlapped structure in and out of the calls - like I
should have done in the first place - and it hasn't crashed since; I just
know I'm going to eat those words.

Infragistics, you are reprieved (for now).

Charles
"Charles Law" <bl***@nowhere.com> wrote in message
news:uM*************@TK2MSFTNGP09.phx.gbl...
I seem to be posing a lot at the moment, so please accept my apologies.

I can't say, categorically that the Infragistics tools are to blame, but I
have had this intermittent problem now for two months, and all attempts to
localise it have failed. I have looked at the Infragistics newsgroups and
web sites, and there are hints that there are potential problems in this
area, especially in a multi-threaded app (I have two or three threads
running).

Sometimes I can get the crash to be repeatable, but just as I home in on it, it stops happening. Then, some time later it will happen again in slightly
different circumstances.

The application terminates without warning, and without executing any
unhandled exception handlers. In Debug | Exceptions, I have all four - C++
Exceptions, CLR Exceptions, Native Run-Time Checks, and Win32 Exceptions -
set to break into the debugger when the exception is thrown and when it is
not handled, but no exception is thrown. The output window shows that the
app terminated with exit code 0.

The only common element seems to be that the crash happens as I click, or
immediately after I click a menu item or toolbar button (both Infragistics
tools).

My reason for posting is just in case anyone else has had similar
experience, or whether anyone can suggest a way of identifying what the app was doing just before the crash. As it does not happen in a common place in my code, I am assuming that there must be a common place in the Infragistics code, but I don't know how to find or prove it.

Thanks in advance for any pointers.

Charles

Nov 20 '05 #2

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

Similar topics

6
by: Renzska | last post by:
I am getting a random crash in my program. I think it has to do with the only listbox I have. It uses the WMP to play songs and when a song completes I set the selected item in the listbox. I am...
9
by: greeningster | last post by:
I have written an application in Visual C++ for a customer but it seems to crash randomly. Could anyone give me any help on how I could track this down ? Also, there appears there might be...
3
by: newsgroper | last post by:
I am evaluating the infragistice ultrawingrid. Does anyone know how I can color a row based upon a column value?
5
by: Paul W | last post by:
I was recently assigned to build a database administration tool with an infragistics web grid UI. I am able to pull the data into a dataSet and bind it fine. However, when I attempted to use the...
1
by: steve | last post by:
Greetings, My team and I would like to use Infragistics for both WinForm and WebForm development. From a technical perspective we see the benefits. The boss wants me to quantify ROI. The...
5
by: Chris Podmore | last post by:
I have a problem with the Infragistics web controls on a hosted server. I get Security Exception errors. It appears that my site doesn’t have the correct privileges, how can I overcome the...
1
by: BATISTA | last post by:
Hi i am working in c# with infragistics In c# windows applicaion, I will be passing data from textbox..such that for example:i ahev 3 texboxes labeled name: age: salary:.... Now name is...
0
by: veerleverbr | last post by:
Hi, I want to create an asp.net page with a tabpage. On the tabpage I want to use the WebDateChooser and WebDataInput controls of Infragistics. These 2 controls use a mask to enter a date and...
41
by: Zytan | last post by:
Anyone do any tests on it? I would assume it has improved since C's rand(), but who knows. For some reason, and it could just be coincidence, I seem to see patterns. But even a crappy rand()...
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...

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.