Access violation error when launching NetWorx

Started by Guest

Guest

Access violation error when launching NetWorx   05 March 2016, 12:41

Hi Anderew & other developers,
Thank you very much for making such a nice program & giving it for free.

I am using Win XP SP3, 1.2GHz, 500 Mb RAM. I was recommended to use NetWorx program by a friend.

So, I have downloaded (Latest version 5.5.2, 15 February 2016) and used Networx Portable on 4-Mar-2016 from (https://www.softperfect.com/products/networx/), and I've downloaded and tried Networx Installer on 5-Mar-2016 from above post (https://www.softperfect.com/special/snapshots/networx_setup.exe), and also from product page (https://www.softperfect.com/download/freeware/networx_setup.exe), but still I'm getting the error.
I don't know anything about db file because I'm not a developer or investigator, so I can't do anything directly with them. I'm a simple user who who just likes you program and just runs it. If it runs fine, I just use it and thank and bless the developers. If it doesn't run fine, I still thank and bless the developer and wish them to fix the problem soon.

I don't know the deep technical system requirements for the networx to run. But I think I have .NET also installed on my PC. I also am the single use on my PC & so It should be enough for admin privileges. I may not be actively participate in the thread discussion but will keep on checking the download page again for new version which will work on my PC.

Networx-Portable-Error-05-Mar-2016.jpg : Error on running the Portable version
SoftPerfect support forum

Networx-Installer-Error-05-Mar-2016.jpg : Error on running the Full version version
SoftPerfect support forum

DOT NET available-05-Mar-2016.jpg : DOT net installed on the PC.
SoftPerfect support forum

WinXP-SP3-Screenshot.jpg : Windows version I am using
SoftPerfect support forum

Once again Thank you very much for making such a nice program & giving it for free.
SoftPerfect Support forum - Andrew avatar image

Re: Access violation error when launching NetWorx   05 March 2016, 22:38

I can't tell from this data, but it's likely to be an issue with some other product like antivirus.

Please try this debug build and should the error occur again, it would generate a bug report in the same folder. Just post it here.
Thanks Andrew for looking into it .

I don't use antivirus but I use WinPatrol old version. I also don't have registry edit disabled (ie it is enabled as default)
SoftPerfect support forum

Steps I did:
As suggested by you, I downloaded the debug version (networx_portable_debug - https://www.softperfect.com/special/networx_portable_debug.zip)
Extracted it
Ran it.
The error appeared again and the Bug Report screen/window appeared.

SoftPerfect support forum

SoftPerfect support forum

SoftPerfect support forum

Hope the above points help.
Here is the bug report with WinPatrol closed:


date/time          : 2016-03-06, 08:14:47, 296ms
computer name      : WXPPX86BE-6110
user name          : Admin <admin>
registered owner   : Unknown User / Unknown Organization
operating system   : Windows XP Service Pack 3 build 2600
system language    : English
system up time     : 1 hour 51 minutes
program up time    : 4 seconds
processor          : Intel(R) Celeron(TM) CPU 1200MHz
physical memory    : 155/510 MB (free/total)
free disk space    : (C:) 1.30 GB (E:) 1.71 GB
display mode       : 1024x768, 24 bit
process id         : $e70
allocated memory   : 12.98 MB
largest free block : 728.57 MB
executable         : networx.exe
exec. date/time    : 2016-03-05 22:35
version            : 1.0.0.0
compiled with      : Delphi XE8
madExcept version  : 4.0.12
callstack crc      : $00000000, $26c62f1b, $32daf329
exception number   : 1
exception class    : EAccessViolation
exception message  : Access violation at address 00000000 in module 'networx.exe'. Read of address 00000000.

main thread ($f24):
00000000 +000 ???
10064ba4 +1e4 sqlite.dll                     sqlite3_initialize
1000a9db +00b sqlite.dll                     sqlite3_open16
006abbc4 +05c networx.exe SQLiteDB   353  +7 TSQLiteDB.Create
0080a196 +0b2 networx.exe Main      5570 +11 TDiskDB.CheckWritableThenOpen
0080a456 +046 networx.exe Main      5598  +1 TDiskDB.CreateInLocalFolder
0080a55b +0ab networx.exe Main      5680 +11 TMainNetworxForm.InitDB
0081bac0 +0cc networx.exe Main      6671  +5 initialization
00409686 +042 networx.exe System   22533 +18 InitUnits
004096ef +03f networx.exe System   22605 +14 @StartExe
0040e72e +042 networx.exe SysInit   1222 +11 @InitExe
0081bc29 +011 networx.exe networx    115  +0 initialization

disassembling:
[...]
006abbb8 353   lea     eax, [edi+$10]
006abbbb       push    eax
006abbbc       mov     eax, esi
006abbbe       call    -$2a10d3 ($40aaf0)     ; System.@UStrToPWChar
006abbc3       push    eax
006abbc4     > call    -$551 ($6ab678)        ; SQLiteDB.sqlite3_open16
006abbc9       add     esp, 8
006abbcc       mov     edx, eax
006abbce       mov     eax, edi
006abbd0       call    +$141b ($6acff0)       ; SQLiteDB.TSQLiteDB.DbCheck
006abbd5 355   mov     edx, [edi+$10]
[...]

Here is the bug report with WinPatrol Running:

date/time          : 2016-03-06, 08:17:13, 359ms
computer name      : WXPPX86BE-6110
user name          : Admin <admin>
registered owner   : Unknown User / Unknown Organization
operating system   : Windows XP Service Pack 3 build 2600
system language    : English
system up time     : 1 hour 53 minutes
program up time    : 2 seconds
processor          : Intel(R) Celeron(TM) CPU 1200MHz
physical memory    : 169/510 MB (free/total)
free disk space    : (C:) 1.30 GB (E:) 1.71 GB
display mode       : 1024x768, 24 bit
process id         : $49c
allocated memory   : 13.00 MB
largest free block : 728.57 MB
executable         : networx.exe
exec. date/time    : 2016-03-05 22:35
version            : 1.0.0.0
compiled with      : Delphi XE8
madExcept version  : 4.0.12
callstack crc      : $00000000, $26c62f1b, $32daf329
exception number   : 1
exception class    : EAccessViolation
exception message  : Access violation at address 00000000 in module 'networx.exe'. Read of address 00000000.

main thread ($4b8):
00000000 +000 ???
10064ba4 +1e4 sqlite.dll                     sqlite3_initialize
1000a9db +00b sqlite.dll                     sqlite3_open16
006abbc4 +05c networx.exe SQLiteDB   353  +7 TSQLiteDB.Create
0080a196 +0b2 networx.exe Main      5570 +11 TDiskDB.CheckWritableThenOpen
0080a456 +046 networx.exe Main      5598  +1 TDiskDB.CreateInLocalFolder
0080a55b +0ab networx.exe Main      5680 +11 TMainNetworxForm.InitDB
0081bac0 +0cc networx.exe Main      6671  +5 initialization
00409686 +042 networx.exe System   22533 +18 InitUnits
004096ef +03f networx.exe System   22605 +14 @StartExe
0040e72e +042 networx.exe SysInit   1222 +11 @InitExe
0081bc29 +011 networx.exe networx    115  +0 initialization

disassembling:
[...]
006abbb8 353   lea     eax, [edi+$10]
006abbbb       push    eax
006abbbc       mov     eax, esi
006abbbe       call    -$2a10d3 ($40aaf0)     ; System.@UStrToPWChar
006abbc3       push    eax
006abbc4     > call    -$551 ($6ab678)        ; SQLiteDB.sqlite3_open16
006abbc9       add     esp, 8
006abbcc       mov     edx, eax
006abbce       mov     eax, edi
006abbd0       call    +$141b ($6acff0)       ; SQLiteDB.TSQLiteDB.DbCheck
006abbd5 355   mov     edx, [edi+$10]
[...]
SoftPerfect Support forum - Andrew avatar image

Re: Access violation error when launching NetWorx   06 March 2016, 13:50

Unfortunately it's unclear why this error occurs. NetWorx relies on the SQLite database engine located in sqlite.dll and this is where the the error takes place.

I'd assume it's something with the OS as we haven't seen any bug report like this in years. I recommend to try the official SQLite build to see if it helps, for which:
  1. Go to the download page and download 32-bit DLL (x86) for SQLite verison 3.11.1.
  2. Unpack sqlite3.dll from the ZIP archive and rename it to sqlite.dll.
  3. Overwrite sqlite.dll that came with NetWorx with the downloaded one.
Hip Hip Hurray !!
Andrew ! You are great !!
You are my Hero of the day.
The above said method worked flawlessly .
Now I'm able to run the Network Portable nicely (both in Normal Portable version and Debug version)

I can declare that I'll be using it throughout my life.

SoftPerfect support forum
SoftPerfect support forum

Earlier, I used to use another software - "ShaPlus BandWidth Meter", which fulfilled the bare minimum requirement - Data consumed in - Per Session , Per Day Per Month - Basis. What It lacked was the Live display of NetUsage statistics ie speed/Bandwidth usage.

SoftPerfect support forum

Now I can use NetWorx on a daily basis. But One suggestion I'll like to put up before final parting.
I see that Network has lots of GUI Screens for various purposes, one of them being Usage Reports for displaying Session Usages. The additional feature that I feel NetWorx can incorporate is:
#1. A small summary display below or beside the existing graphic floating window.
#2. It can display additional check box - "Show Summary"

If the check box is checked then the extra info is displayed as "ShaPlus Bandwidth Meter" is showing
If the check box is un-checked then the extra info is not displayed
SoftPerfect support forum

#3. The extra info can be just the information for downloaded data (in 1 row) or if time/resources permit then it can contain additional info about uploaded data (in 2nd row)

The above 3 points, IMHO, would be 1 more step towards the perfection of NetWorx.

Now, I believe this thread can be marked as solved as my problem is fixed now.

Once again thank you for helping in fixing my problem of getting Network work on my Naughty and Nutty Win XP.

I'll be thanking you and blessing you and your developer team for this nice tool for all the days of my life as & when I'll be using it.
Just now one point struck me.
If you are worried about the additional space being occupied by the summary, then (if possible) it could be coded in such a manner that.
#1. Instead of check box a small button could be provided
#2. User clicks the "Display Summary" button
#3. A scroll down window appears on below or on right side of the graph, ie the graph report expands to accommodate the "Summary Details"
#4. After 4-5 seconds, it would scroll back.

The above points could be for non-user interaction. If user interaction is required or requested then
#5. Check box can be displayed on the scroll down window
#6. If this is checked, then the scroll down windows will display will be present on screen
#7. If this check is removed then the presistence is removed and scroll back will take place to normal size

Also if it suits, the settings can be incorporated in the Settings page.
Thanks again for you time & tool.
SoftPerfect Support forum - Andrew avatar image

Re: Access violation error when launching NetWorx   08 March 2016, 17:20

NetWorx has a setting that allows you to choose what summary will be shown on the graph:

SoftPerfect support forum
Thanks Andrew!
Got it!!

SoftPerfect support forum

But, It seems to allow only one of the available traffic details (Session, Daily, Weekly, Monthly) at one time.
I was expecting to use three details in one view: Session, Daily, Monthly, and save extra clicks every time I need to change traffic details view. But never mind, I'll still use it.
SoftPerfect Support forum - Andrew avatar image

Re: Access violation error when launching NetWorx   09 March 2016, 12:27

By the way, I have finally figured why it was crashing. The Celeron 1200MHz CPU was produced somewhere in the early 2000s, it obviously doesn't support any modern CPU instructions like SSE which are used in our SQLite builds.

Simply speaking, the computer is too old wink
Quote

Simply speaking, the computer is too old

LOL Yep !! It is , for me "Old is Gold" !
Great that you figured it out .

* * *

Hi Andrew,
Summary : I observer that session traffic does not reset on reconnecting the internet . This happens in-spite of using dynamic IP re-connecting.

Details :
I want to keep tab of Summary of Session Traffic, Daily Traffic in a single view.
In Networx I can achieve this by modifying few settings.
To suit my requirements, I did the below settings :
#1. Settings Tab -> Graph Report
-- Display Usage Summary on the Graph -> Session Traffic
#2. Main Tab -> Tray icon Information
-- On Tray icon Click Display -> Daily Traffic
-- On Tray icon Hover Display -> Session Traffic

But I am seeing that the Session Traffic data is always persistent; i.e. is is not resetting back to Zero (0) when I disconnect the Internet or disconnect and reconnect the Internet.
I've tried to verify this by connecting, disconnecting and re-connecting the internet again and again about 10-15 times. Every time I got a new IP as I used dynamic IPs. I'm using my phone as a modem and connecting it to PC via USB cable and then dialing up the internet connection from PC.

SoftPerfect support forum

In my opinion, the traffic details of a session should be limited to that particular session only. When I disconnect and reconnect the internet, I expect the new session be recorded as a new/fresh entity.

Could you please check and let me know if this observation is accepted or some work is needed on this. Or I'm doing something wrong here.
SoftPerfect Support forum - Andrew avatar image

Re: Session traffic does not reset on reconnecting to the Internet   09 March 2016, 12:51

In the NetWorx context a session means the time from the moment NetWorx was started. It does not track your connects and disconnects unless you're using dial-up, in which case the separate sessions are recorded here:

SoftPerfect support forum
Got It !!
Thank you very much again Andrew
Your help and assistance is very much appreciated.!!

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **     **  **     **   ******   **      **  **     ** 
 **     **  **     **  **    **  **  **  **   **   **  
 **     **  **     **  **        **  **  **    ** **   
 **     **  **     **  **        **  **  **     ***    
 **     **  **     **  **        **  **  **    ** **   
 **     **  **     **  **    **  **  **  **   **   **  
  *******    *******    ******    ***  ***   **     ** 

Message: