0.13 headless --allow-commands admins-only cause crash on /c

This subforum contains all the issues which we already resolved.
Post Reply
ezoe
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sun May 22, 2016 1:50 am
Contact:

0.13 headless --allow-commands admins-only cause crash on /c

Post by ezoe »

"--allow-commands admins-only" option cause program crash when use console command /c via standard input.

How to reproduce issue

1. Run 0.13 headless server with option " --allow-commands admins-only"
2. write "/c print(0)" to standard input

Expected:
Be processed as a console commands.

What actually happens.
Program crashes with following log:

/c print(0)
24.795 Error CrashHandler.cpp:183: Received SIGSEGV
sh: 1: addr2line: not found
24.806 Warning Logger.cpp:356: Couldn't symbolize stacktrace: (resolving symbol failed: fread)

Factorio crashed. Generating symbolized stacktrace, please wait ...
sh: 1: addr2line: not found
24.817 Warning Logger.cpp:356: Couldn't symbolize stacktrace: (resolving symbol failed: fread)

#0 0x805a7b
#1 0x805cf4
#2 0x7f94eb77e4a0
#3 0xb02909
#4 0xafec73
#5 0x983906
#6 0x48725c
#7 0x487328
#8 0xbe96f0
#9 0xc05c67
#10 0xc0d564
#11 0xc79f0e
#12 0x7f94eb769830
#13 0x406329
24.817 Error CrashHandler.cpp:85: Map tick at moment of crash: 95790
24.817 Error Util.cpp:77: Unexpected error occurred. You can help us to solve the problem by posting the contents of the log file on the Factorio forums.

ezoe
Burner Inserter
Burner Inserter
Posts: 9
Joined: Sun May 22, 2016 1:50 am
Contact:

Re: 0.13 headless --allow-commands admins-only cause crash on /c

Post by ezoe »

Still reproduced in 0.13.1.

Oxyd
Former Staff
Former Staff
Posts: 1428
Joined: Thu May 07, 2015 8:42 am
Contact:

Re: 0.13 headless --allow-commands admins-only cause crash on /c

Post by Oxyd »

Fixed in 0.13.2.

User avatar
provet
Fast Inserter
Fast Inserter
Posts: 133
Joined: Thu Feb 12, 2015 9:49 pm
Contact:

Re: 0.13 headless --allow-commands admins-only cause crash on /c

Post by provet »

I know this question does not belong here but.. Where are admin rights explained to the headless server? (assuming the admin uses the commands from in-game)

Post Reply

Return to “Resolved Problems and Bugs”