View Issue Details

IDProjectCategoryView StatusLast Update
0002863FSSCPmultiplayerpublic2014-09-07 03:50
ReporterFUBAR-BDHR Assigned ToGoober5000  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionunable to reproduce 
Product Version3.6.19 
Summary0002863: Standalone crash ERANGE: String error from get_mission_info()
DescriptionSecond time in 3 days this has triggered. Both times parsing the list of missions on mission CapMis-M04.fs2. Actual error:

ERANGE: String error. Please Report.
Trying to put into 32 byte buffer:
.fs2

Tracing it back the filename appears to be just garbage. Half of the ng data in multi_options_process_packet() looks corrupt. Strange thing is this apparently does not happen every time as this same file is showing in the log as processed successfully several times before the crash.
Steps To ReproduceUnfortunately it's another one of those set up standalone and wait type issues.
Additional Informationr9668 but I updated yesterday so it occurred on an older revision as well. I believe the previous revision where I saw the crash was 9651 as the other standalone are still running that.

Stack:

     fs2_open_3_6_19-DEBUG.exe!debug_int3(char * file=0x010f6904, int line=1253) Line 768 C++
     fs2_open_3_6_19-DEBUG.exe!Error(const char * filename=0x010ec0ed, int line=5733, const char * format=0x01176dc8, ...) Line 1253 + 0x13 bytes C++
     fs2_open_3_6_19-DEBUG.exe!scp_strcat_s(const char * file=0x010ec0d4, int line=5733, char * strDest=0x0012ec2c, unsigned int sizeInBytes=32, const char * strSource=0x010efa28) Line 112 + 0x1f bytes C++
     fs2_open_3_6_19-DEBUG.exe!scp_strcat_s<32>(const char * file=0x010ec0d4, int line=5733, char [32]& strDest=0x0012ec2c, const char * strSource=0x010efa28) Line 64 + 0x17 bytes C++
     fs2_open_3_6_19-DEBUG.exe!get_mission_info(char * filename=0x0012eea9, mission * mission_p=0x01285008, bool basic=true) Line 5733 + 0x1d bytes C++
     fs2_open_3_6_19-DEBUG.exe!mission_parse_get_multi_mission_info(char * filename=0x0012eea9) Line 6258 + 0x10 bytes C++
> fs2_open_3_6_19-DEBUG.exe!multi_options_process_packet(unsigned char * data=0x029757ef, header * hinfo=0x0012f300) Line 657 + 0xc bytes C++
     fs2_open_3_6_19-DEBUG.exe!process_packet_normal(unsigned char * data=0x029757ef, header * header_info=0x0012f300) Line 798 + 0xd bytes C++
     fs2_open_3_6_19-DEBUG.exe!multi_process_bigdata(unsigned char * data=0x029757b0, int len=297, net_addr * from_addr=0x02982784, int reliable=1) Line 977 + 0xd bytes C++
     fs2_open_3_6_19-DEBUG.exe!multi_process_incoming() Line 1085 + 0x1e bytes C++
     fs2_open_3_6_19-DEBUG.exe!multi_do_frame() Line 1152 C++
     fs2_open_3_6_19-DEBUG.exe!game_do_networking() Line 1099 C++
     fs2_open_3_6_19-DEBUG.exe!game_do_state_common(int state=30, int no_networking=0) Line 6399 C++
     fs2_open_3_6_19-DEBUG.exe!game_do_state(int state=30) Line 6412 + 0xb bytes C++
     fs2_open_3_6_19-DEBUG.exe!gameseq_process_events() Line 405 + 0x14 bytes C++
     fs2_open_3_6_19-DEBUG.exe!game_main(char * cmdline=0x00152340) Line 7034 + 0x5 bytes C++
     fs2_open_3_6_19-DEBUG.exe!WinMain(HINSTANCE__ * hInst=0x00400000, HINSTANCE__ * hPrev=0x00000000, char * szCmdLine=0x00152340, int nCmdShow=1) Line 7103 + 0x9 bytes C++
     fs2_open_3_6_19-DEBUG.exe!__tmainCRTStartup() Line 263 + 0x2c bytes C
     fs2_open_3_6_19-DEBUG.exe!WinMainCRTStartup() Line 182 C
     kernel32.dll!7c81776f()
     [Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]


Locals from mission_parse_get_multi_process_packet()

- Netgame {name=0x02987978 "prusswan's game" mission_name=0x02987999 "CapMis-M04.fs2" title=0x029879ba "" ...} netgame_info
+ name 0x02987978 "prusswan's game" char [33]
+ mission_name 0x02987999 "CapMis-M04.fs2" char [33]
+ title 0x029879ba "" char [33]
+ campaign_name 0x029879db "" char [33]
+ passwd 0x029879fc "" char [17]
        version_info 0 int
        type_flags 8 int
        mode 1 int
        flags 0 int
        rank_base 0 int
        max_players 8 int
        game_state 1 int
        security 3947 int
        ping_time 0.00000000 float
+ server_addr {type=1 net_id=0x02987a38 "" addr=0x02987a3c "¬ 0+" ...} net_addr
+ host 0x02981fc0 {m_player=0x0267fc98 player_id=1 tracker_player_id=55721 ...} net_player *
+ server 0x029817b8 struct net_player * Net_players {m_player=0x0267ec40 player_id=0 tracker_player_id=36985 ...} net_player *
        respawn 2 unsigned int
        campaign_mode 0 int
        server_update_seq 0 unsigned short
        server_update_frame_ref 0 int
+ options {squad_set='' endgame_set='' flags=3 ...} multi_server_options
        debug_flags 0 unsigned char
        Netgame.max_players 8 int
- ng {name=0x0012ee88 "" mission_name=0x0012eea9 "!„!„A„A„!„!„!„!„!„!„!„!„!„!„!„!„!„!„!„bŒ‚”‚”ƒ”ƒ”£”£”ƒ”ƒ”£”£”£”ƒ”£”£”¤”¤˜¤”" title=0x0012eeca "„!„!„bŒ‚”‚”ƒ”ƒ”£”£”ƒ”ƒ”£”£”£”ƒ”£”£”¤”¤˜¤”" ...} netgame_info
+ name 0x0012ee88 "" char [33]
+ mission_name 0x0012eea9 "!„!„A„A„!„!„!„!„!„!„!„!„!„!„!„!„!„!„!„bŒ‚”‚”ƒ”ƒ”£”£”ƒ”ƒ”£”£”£”ƒ”£”£”¤”¤˜¤”" char [33]
+ title 0x0012eeca "„!„!„bŒ‚”‚”ƒ”ƒ”£”£”ƒ”ƒ”£”£”£”ƒ”£”£”¤”¤˜¤”" char [33]
+ campaign_name 0x0012eeeb "£”¤”¤˜¤”" char [33]
+ passwd 0x0012ef0c "" char [17]
        version_info 0 int
        type_flags 8 int
        mode 0 int
        flags 0 int
        rank_base 0 int
        max_players 0 int
        game_state 0 int
        security 0 int
        ping_time 0.00000000 float
+ server_addr {type=0 net_id=0x0012ef48 "" addr=0x0012ef4c "" ...} net_addr
+ host 0x00000000 {m_player=??? player_id=??? tracker_player_id=??? ...} net_player *
+ server 0x00000000 {m_player=??? player_id=??? tracker_player_id=??? ...} net_player *
        respawn 0 unsigned int
        campaign_mode 0 int
        server_update_seq 0 unsigned short
        server_update_frame_ref 0 int
+ options {squad_set=0 endgame_set=0 flags=0 ...} multi_server_options
        debug_flags 0 unsigned char
+ ng.mission_name 0x0012eea9 "!„!„A„A„!„!„!„!„!„!„!„!„!„!„!„!„!„!„!„bŒ‚”‚”ƒ”ƒ”£”£”ƒ”ƒ”£”£”£”ƒ”£”£”¤”¤˜¤”" char [33]
TagsNo tags attached.

Activities

FUBAR-BDHR

2013-05-02 20:06

developer  

2863_fs2_standalone.rar (53,859 bytes)

Goober5000

2013-11-12 01:06

administrator   ~0015405

Revision 10050 might have fixed this. Can you test on the next nightly build?

Goober5000

2014-06-30 03:10

administrator   ~0015948

Bump. If there are no more reports of this bug in the next month or so, we should close it as unable to reproduce.

Goober5000

2014-09-07 03:50

administrator   ~0016270

Closing per previous comment.

Issue History

Date Modified Username Field Change
2013-05-02 20:04 FUBAR-BDHR New Issue
2013-05-02 20:06 FUBAR-BDHR File Added: 2863_fs2_standalone.rar
2013-11-12 01:06 Goober5000 Note Added: 0015405
2013-12-01 04:36 Echelon9 Severity minor => crash
2013-12-01 11:15 Echelon9 Assigned To => Goober5000
2013-12-01 11:15 Echelon9 Status new => feedback
2014-06-30 03:10 Goober5000 Note Added: 0015948
2014-09-07 03:50 Goober5000 Note Added: 0016270
2014-09-07 03:50 Goober5000 Status feedback => closed
2014-09-07 03:50 Goober5000 Resolution open => unable to reproduce