[0.14.7] [Oxyd] MP server crash - addr2line not found?

This subforum contains all the issues which we already resolved.
Post Reply
Denubis
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sun Jul 19, 2015 11:14 am
Contact:

[0.14.7] [Oxyd] MP server crash - addr2line not found?

Post by Denubis »

These seem to be mildly common.

16.04 machine. headless. 8x2.5GHz, 8GB ram.

Code: Select all

19671.998 Refusing connection for address(184.56.11.221:58829). Unknown key:"password-missing"
19977.823 Error CrashHandler.cpp:210: Received SIGSEGV
sh: 1: addr2line: not found
19977.835 Warning Logger.cpp:360: Couldn't symbolize stacktrace: (resolving symbol failed: fread)

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

#0  0x9eb83b
#1  0x9ebab4
#2  0x7faea75514a0
#3  0xbe4dd4
#4  0xbe61b4
#5  0xbf270f
#6  0xc2bda9
#7  0xc2f3f2
#8  0xc403a3
#9  0xc411c1
#10 0xccd117
#11 0x7faea753c830
#12 0x406a29
19977.847 Error CrashHandler.cpp:106: Map tick at moment of crash: 2057248
19977.847 Error Util.cpp:77: Unexpected error occurred. If you're running the latest version of the game you can help us solve the problem by posting the contents of the log file on the Factorio forums.
Please also include the save file(s), any mods you may be using, and any steps you know of to reproduce the crash.
Attachments
factorio-previous.log
(121.98 KiB) Downloaded 101 times

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

Re: [0.14.7] [Oxyd] MP server crash - addr2line not found?

Post by Oxyd »

Denubis wrote:These seem to be mildly common.
Is there anything that seems to cause it or is it completely random?

Denubis
Burner Inserter
Burner Inserter
Posts: 10
Joined: Sun Jul 19, 2015 11:14 am
Contact:

Re: [0.14.7] [Oxyd] MP server crash - addr2line not found?

Post by Denubis »

We're doing massive-server testing for Steejo's streams, so it *feels* like someone with a wonky IP connecting. But ... writing that out, I don't really think that's the case. I suspect it's covering a rare crash with an unlinked library in 16.04. This error is calling sh with "addr2line". None of my scripts https://github.com/Denubis/headlessFactorio use sh or "addr2line" -- but other crashes on the server dump memory just fine. (Fresh install of 16.04, no specific installing of support packages). Perhaps audit your crash reporting scripts for one that uses addr2line in an odd way? I'm not sure what the underlying crash is because this is obscuring that report.

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

Re: [0.14.7] [Oxyd] MP server crash - addr2line not found?

Post by Oxyd »

Denubis wrote:We're doing massive-server testing for Steejo's streams, so it *feels* like someone with a wonky IP connecting. But ... writing that out, I don't really think that's the case. I suspect it's covering a rare crash with an unlinked library in 16.04. This error is calling sh with "addr2line". None of my scripts https://github.com/Denubis/headlessFactorio use sh or "addr2line" -- but other crashes on the server dump memory just fine. (Fresh install of 16.04, no specific installing of support packages). Perhaps audit your crash reporting scripts for one that uses addr2line in an odd way? I'm not sure what the underlying crash is because this is obscuring that report.
Factorio uses add2line to convert memory addresses to function names. If you don't have it installed, it won't convert.

That's not the problem, though. All it means is that the stacktrace doesn't have symbols in it, so we have to do some extra work to symbolize it. The stacktrace is as follows:

Code: Select all

/tmp/factorio-CQCaqH/src/Util/CrashHandler.cpp:105
/tmp/factorio-CQCaqH/src/Util/CrashHandler.cpp:215
??:0
/tmp/factorio-CQCaqH/src/Rail/RailBlock.hpp:19
/tmp/factorio-CQCaqH/src/Rail/Train.cpp:1864
/tmp/factorio-CQCaqH/src/Rail/Train.cpp:1015
/tmp/factorio-CQCaqH/src/Map/Map.cpp:1120
/tmp/factorio-CQCaqH/src/Game.cpp:144
/tmp/factorio-CQCaqH/src/MainLoop.cpp:720
/tmp/factorio-CQCaqH/src/GlobalContext.cpp:966
/tmp/factorio-CQCaqH/src/MainLoop.cpp:280
Still, that doesn't tell me much.

User avatar
HanziQ
Former Staff
Former Staff
Posts: 630
Joined: Fri Mar 27, 2015 7:07 am
Contact:

Re: [0.14.7] [Oxyd] MP server crash - addr2line not found?

Post by HanziQ »

Should be hopefully fixed in 0.14.11.

Post Reply

Return to “Resolved Problems and Bugs”