Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Unstable Intraweb


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 6 - Last Post: Feb 28, 2018 4:21 AM Last Post By: Edson Marcelo
Edson Marcelo

Posts: 7
Registered: 7/10/01
Unstable Intraweb  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 27, 2018 4:49 AM
Good morning everyone,
I have an SA application with more than 30 simultaneous connections, which in itself needs stability because it is a financial system.
However, after a few hours of use the SA application simply stops working by claiming access violation to an index that does not exist, unless Intraweb has multiple threads the versions available are in trouble.

All the code has been debugged and it has rigid treatments against memory leak and the like.

I'm using third-party components between them:

- IWBSFrameworkBootstrap
- TMS AdvWebGrid
- IWBSelect2
- JQuery
- Aurelius

I need help with this question, or some positioning by the developers.
This application needs to be stable and I no longer know what to do.

I'm using the latest released version of Intraweb.

Intraweb version: ULTIMATE.

Waiting for answers,

Carefully.
Shane Stump

Posts: 138
Registered: 2/16/01
Re: Unstable Intraweb  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 27, 2018 6:17 AM   in response to: Edson Marcelo in response to: Edson Marcelo
Howdy Edson!

Do you have anymore information like stack traces?

I have issues like you describe in the pass and it was because I was using variables (unknown to me at the time) across multiple threads and causing an EAccessError.

My current web application has been running quite stable for years now and I have a lot more than 30 simultaneous connections at peak hours.

Hope we can find you a solution.

All the best,

Shane
Edson Marcelo

Posts: 7
Registered: 7/10/01
Re: Unstable Intraweb  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 27, 2018 9:08 AM   in response to: Shane Stump in response to: Shane Stump
Thanks for the reply, Shane.
As I said earlier, I ran the code from head to toe and found nothing that could leave the application unstable.

Edited by: Edson Marcelo on Feb 27, 2018 9:08 AM
Shane Stump

Posts: 138
Registered: 2/16/01
Re: Unstable Intraweb  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 27, 2018 9:15 AM   in response to: Edson Marcelo in response to: Edson Marcelo
Howdy Edson,

No offense meant, but you are going to have to provide a little more information like a call stack when the error occurs, etc.

Since you are using third party libraries + your own code, there is a lot of room for errors to occur when the situation is right.

Have you tried running your code using the debug version of FASTMM with all the options on to detect memory overwrites, using a freed pointer, etc?

All the best,

Shane
Chad Hower

Posts: 613
Registered: 3/2/07
Re: Unstable Intraweb  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 27, 2018 9:56 AM   in response to: Shane Stump in response to: Shane Stump
On 2/27/2018 1:15 PM, Shane Stump wrote:
No offense meant, but you are going to have to provide a little more information like a call stack when the error

As Shane and others have posted, IntraWeb is in wide use and 30 users is
a very small application for IntraWeb. The source of your issue is in
your code and you will have to narrow it down.

"unless Intraweb has multiple threads the versions available are in
trouble."

Im not sure what you were trying to say there, but IntraWeb like nearly
every server out there is heavily reliant on threads.

1) Try deploying a debug build rather than a release build and see if
the error has more info.

2) Add some debug / exception debug tools to collect the info for you.
(MadExcept or something other)

3) Set to debug build, run in the IDE and stress test it so that the
error will occur in the debugger.
Alexandre Machado

Posts: 1,754
Registered: 8/10/13
Re: Unstable Intraweb  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 27, 2018 11:00 PM   in response to: Edson Marcelo in response to: Edson Marcelo
I suggest you to turn on exception logger with full stack traces. Here is how to do it:

http://docs.atozed.com/docs.dll/development/Using%20the%20Exception%20Logger.html

When you activate it, any exception will be logged with a full stack trace. Pay special attention to project options (you must follow it exactly in order to obtain an usable stack trace).

When this AV occurs again you will have a log and hopefully the stack trace can lead to the cause of the bug.
Edson Marcelo

Posts: 7
Registered: 7/10/01
Re: Unstable Intraweb  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Feb 28, 2018 4:21 AM   in response to: Alexandre Machado in response to: Alexandre Machado
Thank you all for the response.
I will test each of the suggestions and soon I will leave news here.
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02