project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Bugs
21 Oct 2018, 00:00:00 (PRT)
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Bugs If you find a bug within PR:BF2 (including PRSP), please report it here.

Reply
 
Thread Tools Display Modes
Old 2018-10-07, 00:46   #1
PRBF2_Tester
Unhappy PRBF2 1.5.5.2 error 995 ( after PR update )

[FONT="Arial Black"]
After update PRBF2 1.5.3.2.0 to 1.5.5.2 ,
starting PRlauncher and choosing Play ( Online ) Login
Immediate LAUNCH ERROR
995: The I/O operation had aborted because of either
a thread exit or an application request .

Below is " Support " info copied to clipboard from PRLauncher .

Specail Note : The PR Support Info " mis-identifies "
my drives as SSD

PR Support also " mis-identifies "
my 2 GigaByte Pagefile as -6441512960.00 B

My Boot Options
to allow use of 8 GB installed RAM for PAGEfile on Gavotte RAMdisk

default=multi(0)disk(0)rdisk(0)partition(1)\WINDOW S
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Professional - ntkl64g PAE"/NoExecute=OptIn /fastdetect /kernel=ntkl64g.exe /hal=hal64g.dll /PAE

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Micro soft Windows XP Professional - No PAE" /fastdetect /NoExecute=OptIn

All other progams operate ( without error ) with this setup

========================= INFO ========================

Code:
System Information
------------------
  Operating System: Microsoft Windows XP Professional (5.1.2600)
   Current Culture: English (United States)
       Motherboard: MSI 770-G45 (MS-7599)
         Processor: AMD Athlon(tm) II X2 245 Processor
          (Physical: 2, Logical: 2)
            Memory: 8.00 GB
      DIMM Modules: DIMM1: 2.00 GB @ 533 MHz
                    DIMM2: 2.00 GB @ 533 MHz
                    DIMM3: 2.00 GB @ 533 MHz
                    DIMM4: 2.00 GB @ 533 MHz
         Page File: -6441512960.00 B
    .NET Framework: Unknown

 ** .NET Framework 4 Client Profile ( Installed )
 ** .NET 4 Framework Extended       ( Installed )

Display Information
-------------------
 Display Device(s): Plug and Play Monitor on NVIDIA GeForce 8400 GS   
                    Plug and Play Monitor on NVIDIA GeForce FX 5200
                    Plug and Play Monitor on NVIDIA GeForce 8400 GS   
                    DELL E153FP on NVIDIA GeForce FX 5200
   Display Mode(s): 1360 x 768 (32 bit) @ 60 Hz
                    1024 x 768 (32 bit) @ 75 Hz
                    1360 x 768 (32 bit) @ 75 Hz
                    1024 x 768 (32 bit) @ 75 Hz
    Driver Version: 6.14.11.7516 (175.16)
    Display Memory: 512.00 MB
     Multisampling: 2, 4, 8
               DPI: 96 (100%)

Audio Information
-----------------
  Primary Playback: HD Audio rear output
 Primary Recording: HD Audio rear input
  Open AL Renderer: Software
               EAX: True
           EAX 1.0: False
           EAX 2.0: True
           EAX 3.0: False
           EAX 4.0: False
           EAX 5.0: False
             X-RAM: False

Disk Information
----------------
      Install Path: C:\SIMULATE\ProjectReality_1.5
                    Free: 221.14 GB, Total: 465.76 GB, FS: NTFS, SSD: True
          Mod Path: C:\SIMULATE\ProjectReality_1.5\mods\pr
                    Free: 221.14 GB, Total: 465.76 GB, FS: NTFS, SSD: True
     Profiles Path: C:\Documents and Settings\PRIMARY USER\My Documents\ProjectReality\Profiles
                    Free: 221.14 GB, Total: 465.76 GB, FS: NTFS, SSD: True
    Update DL Path: D:\Simulation\First Person Shooter\Battlefield_2\ProjectReality_1.4\_UPDATE
                    Free: 1.35 TB, Total: 1.82 TB, FS: NTFS, SSD: True
   Update Log Path: D:\Simulation\First Person Shooter\Battlefield_2\ProjectReality_1.4\_UPDATE
                    Free: 1.35 TB, Total: 1.82 TB, FS: NTFS, SSD: True

Game Information
----------------
    Installed Mods: pr
       Current Mod: pr
           Version: 1.5.5.2
        PR Version: 1.5.5.2
          Language: english
   Debug Available: False
     Large Address: False
Supported Hardware: None

Profile Information
-------------------
      Profile 0001: Black_Ops
              Type: Online
        View Intro: False
        Fullscreen: True
      Display Mode: 1360x768@60Hz
Display Mode Valid: True
   Graphics Scheme: High
     Multisampling: Off
             VSync: False
            NoLods: False
   Terrain Quality: High
   Effects Quality: High
  Geometry Quality: High
   Texture Quality: Medium
  Lighting Quality: High
   Dynamic Shadows: High
    Dynamic Lights: High
 Texture Filtering: High
    Audio Provider: Software
    Provider Valid: True
     Audio Quality: High
               EAX: True

      Profile 0002: Black_Ops
              Type: Offline
 Last Used Profile: True
        View Intro: False
        Fullscreen: True
      Display Mode: 1360x768@60Hz
Display Mode Valid: True
   Graphics Scheme: Medium
     Multisampling: Off
             VSync: False
            NoLods: False
   Terrain Quality: Low
   Effects Quality: High
  Geometry Quality: Low
   Texture Quality: Medium
  Lighting Quality: Low
   Dynamic Shadows: Medium
    Dynamic Lights: Medium
 Texture Filtering: Medium
    Audio Provider: Software
    Provider Valid: True
     Audio Quality: Medium
               EAX: True
PRBF2_Tester is offline
Last edited by PRBF2_Tester; 2018-10-10 at 04:02..
Reply With Quote
Old 2018-10-14, 03:09   #2
PRBF2_Tester
Question Re: PRBF2 1.5.5.2 error 995 ( after PR update )

Error 995

'The I/O operation has been aborted
because of either a thread exit or an application request
================================================== ==
Some Research Results
================================================== ==

https://stackoverflow.com/questions/...s-been-aborted

ASIO system error 995: The I/O operation has been aborted


Answer

After creating ClientNetwork object
and when first an asynchronous operation was started
you should run io_service::run method
to process handlers in events loop
then your program runs until there is at least one asynchronous operation to be executed.

At the end of try scope put io_service->run():

ClientNetwork clientNet(*io_service, endpoint);

global_stream_lock.lock();
std::cout << "Listening on: " << endpoint << std::endl;
global_stream_lock.unlock();
io_service->run();

Without this
the destructor of ClientNetwork class is called
and mAcceptor is closed with printing this error message

void ClientNetwork::handleAccept (...)
{ ... std::cout << "Error: " << error << " " << error.message() << std::endl;}


This fixed it, thanks!! I've noticed that my network doesn't let multiple users connect;
should I recall my listen() function at the end of handleAccept?

Sure, when a connection was established
you should call async_accept in handleAccept
to wait for another one.

================================================== ====

https://social.msdn.microsoft.com/Fo...um=netfxnetcom


The sequence is:

--> server listens on some (any) port

--> client creates a thread (ConnectThread)
on which it calls Connect and then BeginReceive

<-- client's ConnectThread dies coz there's nothing to do

<-- ReceiveCallback is getting called
and upon reaching EndReceive fails with SocketException, error 995:
"'The I/O operation has been aborted
because of either a thread exit or an application request
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)'"

<-- I do handle this by catching it and for error 995
I try to initiate async receive again by calling BeginReceive

--> server sends data
(in the above code there's a slight delay
between Accept and Send to simulate this behavior)

<-- ReceiveCallback is getting called because of data available,
EndReceive is happy, everything is just fine,
except the socket's Connected property: it's false!

================================================== =============

https://docs.microsoft.com/en-us/dot...System_Object_


Note

All I/O initiated by a given thread is canceled when that thread exits.
A pending asynchronous operation can fail
if the thread exits before the operation completes.

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

I don't know the code used by PRBF2 internet logon ( from home user client )
Is there some difference in Python from Win XP to Win 7 ??

Is there too long of a latency to start receiving data
before the PRBF2 thread " exits " ( comcast IP latency ) ??

All other online tasks ( webpage , downloading , streaming -- YOUTUBE )
work without any error ( on my Win XP SP3 system ) .

The above are some HINTS in the direction of SOLVING the LOGON failure .

I can continue searching ,
but I can't change the CODE for PRBF2
to make the correction .

Thank You for any effort .

Offline functions 100% with no glitches or errors .
PRBF2_Tester is offline Reply With Quote
Old 2018-10-14, 05:24   #3
HeneraLuna

HeneraLuna's Avatar
Default Re: PRBF2 1.5.5.2 error 995 ( after PR update )

I think you should post this on the Support Forum not on the Bugs forum

HeneraLuna is offline Reply With Quote
Old 2018-10-15, 04:32   #4
PRBF2_Tester
Smile Re: PRBF2 1.5.5.2 error 995 ( after PR update )

Thank You for the advice .

Have copied first post and submitted for approval in support .

Once the post appears ,
I will copy over the 2nd post on the research done on the problem .
PRBF2_Tester is offline Reply With Quote
Old 2018-10-15, 04:45   #5
dogface49
Default Re: PRBF2 1.5.5.2 error 995 ( after PR update )

Quote:
Originally Posted by PRBF2_Tester View Post
Error 995

'The I/O operation has been aborted
because of either a thread exit or an application request
================================================== ==
Some Research Results
================================================== ==

https://stackoverflow.com/questions/...s-been-aborted

ASIO system error 995: The I/O operation has been aborted


Answer

After creating ClientNetwork object
and when first an asynchronous operation was started
you should run io_service::run method
to process handlers in events loop
then your program runs until there is at least one asynchronous operation to be executed.

At the end of try scope put io_service->run():

ClientNetwork clientNet(*io_service, endpoint);

global_stream_lock.lock();
std::cout << "Listening on: " << endpoint << std::endl;
global_stream_lock.unlock();
io_service->run();

Without this
the destructor of ClientNetwork class is called
and mAcceptor is closed with printing this error message

void ClientNetwork::handleAccept (...)
{ ... std::cout << "Error: " << error << " " << error.message() << std::endl;}


This fixed it, thanks!! I've noticed that my network doesn't let multiple users connect;
should I recall my listen() function at the end of handleAccept?

Sure, when a connection was established
you should call async_accept in handleAccept
to wait for another one.

================================================== ====

https://social.msdn.microsoft.com/Fo...um=netfxnetcom


The sequence is:

--> server listens on some (any) port

--> client creates a thread (ConnectThread)
on which it calls Connect and then BeginReceive

<-- client's ConnectThread dies coz there's nothing to do

<-- ReceiveCallback is getting called
and upon reaching EndReceive fails with SocketException, error 995:
"'The I/O operation has been aborted
because of either a thread exit or an application request
at System.Net.Sockets.Socket.EndReceive(IAsyncResult asyncResult)'"

<-- I do handle this by catching it and for error 995
I try to initiate async receive again by calling BeginReceive

--> server sends data
(in the above code there's a slight delay
between Accept and Send to simulate this behavior)

<-- ReceiveCallback is getting called because of data available,
EndReceive is happy, everything is just fine,
except the socket's Connected property: it's false!

================================================== =============

https://docs.microsoft.com/en-us/dot...System_Object_


Note

All I/O initiated by a given thread is canceled when that thread exits.
A pending asynchronous operation can fail
if the thread exits before the operation completes.

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

I don't know the code used by PRBF2 internet logon ( from home user client )
Is there some difference in Python from Win XP to Win 7 ??

Is there too long of a latency to start receiving data
before the PRBF2 thread " exits " ( comcast IP latency ) ??

All other online tasks ( webpage , downloading , streaming -- YOUTUBE )
work without any error ( on my Win XP SP3 system ) .

The above are some HINTS in the direction of SOLVING the LOGON failure .

I can continue searching ,
but I can't change the CODE for PRBF2
to make the correction .

Thank You for any effort .

Offline functions 100% with no glitches or errors .


i have the same problem after the update. i also run xp sp3. i am not a computer programer. did you find a solution to the problem??
dogface49 is offline Reply With Quote
Old 2018-10-15, 05:12   #6
PRBF2_Tester
Lightbulb Re: PRBF2 1.5.5.2 error 995 ( after PR update )

No solution on home computer ( yet ) .

I have copied my first post ( this thread )
over to support section ( for approval )
as suggested by other poster in this thread .

If it shows up in support section ,
I will copy over my 2nd post
of the results from Google
about the error 995 ( in Windows XP ) .

I will spend more time ( in the coming days )
to find more results for error 995 .

Many results suggest to contact the application
creator ( in this case meaning Project Reality coders ) .
PRBF2_Tester is offline Reply With Quote
Old 2018-10-15, 06:42   #7
[R-DEV]​Arab
PR:BF2 Developer
Supporting Member

Arab's Avatar
Default Re: PRBF2 1.5.5.2 error 995 ( after PR update )

This may come off as rude, but maybe upgrade to Windows 7?

Arab is offline
Last edited by Arab; 2018-10-15 at 07:05..
Reply With Quote
Old 2018-10-15, 17:48   #8
[R-DEV]Mats391
PR:BF2 Lead Developer
Supporting Member

Mats391's Avatar
Default Re: PRBF2 1.5.5.2 error 995 ( after PR update )

This is a known issue for some WinXp users and we cant figure out what is causing it. Right now your only option is to upgrade to Windows 7 or 10.


Mineral: TIL that Wire-guided missiles actually use wire
Mats391 is offline Reply With Quote
Old 2018-10-16, 01:56   #9
PRBF2_Tester
Smile Re: PRBF2 1.5.5.2 error 995 ( after PR update )

Unable to Move from Win XP SP3
currently ( security hardened ) with incoming / outgoing Firewalls
and other measures put in place
after virutnet ( Botnet ) infection and " autorun.inf " infection removal .

Homebuilt computer
( unable to purchase new gaming computer )
I believe I will lose the functionality of the many
Combatsim / Flightsim / Dinosaur sim mods , etc. currently installed
if upgrading to Win 7 , 8 , 10 .

I inquired at local ' Staples ' store about purchase of Win 7 .

They said , they were NOT allowed to sell Win 7 ( Win 8 ) since Windows 10 came out .

They said the restriction was from merchant agreement with Microsoft .

I have been through upgrades , such as Firefox -- where the upgrade DISABLES addons
for which there are no UPgraded replacements .

I can see where Microsoft would DISABLE older ( but still useful ) programs
during an upgrade to Windows 7 / 8 / 10 .

This computer is NOT used for Social Networks .

The hardware has been upgraded " to the max " to run 3D computer simulations
as noted above .

As long as the Project Reality BF2 updates will still run " offline "
( as they do right now -- I will be very happy with all Your efforts ) .

When I click ' check for updates ' the message is --
I have the most current update .

I noted there was a Sysinternals " ProcDump " available ,
and I downloaded it .

I note during the failed attempts to logon , there is a ( .dmp ) file created .

I believe the ProcDump is supposed to process the .dmp file
to create a ' report ' .

I will attempt to process a .dmp file -- from the failed attempt to logon ,
maybe there will be some Clues or Answers in the report created .

Thank You for Your Magnificient " Work of Art " -- PR BF2 .
PRBF2_Tester is offline Reply With Quote
Reply


Tags
995, error, prbf2, update
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 23:45.