logo
Main

Forums

Downloads

Unreal-Netiquette

Donate for Oldunreal:
Donate

borderline

Links to our wiki:
Wiki

Walkthrough

Links

Tutorials

Unreal Reference

Usermaps

borderline

Contact us:
Submit News
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Unreal Linux bin segfault when attempting to save game (Read 4126 times)
DrItanium
New Member
*
Offline


Oldunreal member

Posts: 4
Joined: Mar 19th, 2013
Gender: Male
Unreal Linux bin segfault when attempting to save game
Mar 19th, 2013 at 8:20pm
Print Post  
Hello,

I have a bit of an issue. Whenever I try to save a single player game the game segfaults. I have checked all sorts of things to make sure that it wasn't an issue on my end with respect to file system permissions and it doesn't seem that way.

I am running gentoo linux amd64 and I am using the convience libs that were provided with the patch. The rest of the game runs flawlessly. Saved games that were created by the windows version (run through wine) loaded just fine.

The strange part about this is that the save game entry in the menu gets updated and an empty Save.tmp file is created before the crash occurs.


Here is the relevant part of the log that was printed out to the console:
Processors / Cores 24
Forcing CPU affinity disabled.
.....
GL_VENDOR : NVIDIA Corporation
GL_RENDERER : GeForce GTX 460/PCIe/SSE2
GL_VERSION : 4.3.0 NVIDIA 310.32
....
InitGame: ?Difficulty=1?Name=Player?Class=UPak.UPakFemaleOne
Difficulty 1
Remote Administration with Password
Base Mutator is Vortex2.Mutator2
Spawning new actor for Viewport SDLViewport
12953.9ms Loading: Package UPak
12993.8ms Loading: Package Marine
12996.6ms Loading: Package UPakFonts
Checking package UPak
Login: Player
Possessed PlayerPawn: UPakFemaleOne Vortex2.UPakFemaleOne0
All inventory from Player is accepted
Initialized moving brush tracker for Level Vortex2.MyLevel
Shut down moving brush tracker for Level Vortex2.MyLevel
20835.2ms Unloading: Package Vortex2
Backtrace: FMallocAnsi:: <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc
Exiting.
Name subsystem shut down
Allocation checking disabled
Segmentation fault

===================
dmesg gives me the following entry (they're always the same):

UnrealLinux.bin[18410]: segfault at a6c ip 000000000804e2db sp 00000000ffed0cb0 error 4 in UnrealLinux.bin[8048000+24000]

If it helps here is some more system information
OS: Gentoo Linux AMD64 running kernel 3.6.11
CPU: E5-2620 (2.00 ghz) * 2
RAM: 64 GB
Video Card: Nvidia GTX 460
Other Notes: I have the emul-linux-x86 libraries installed to provide 32-bit compatibility
Patch Version: 227i

I even messed around with the PATH and LD_LIBRARY_PATH and I get the same behavior regardless.

EDIT: Forgot to include directions to reproduce

1) Startup UnrealLinux.bin
2) Start a new game or open a map
3) Press Escape
4) File -> Save
5) Select a slot
6) Segfault will occur
  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7531
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: Unreal Linux bin segfault when attempting to save game
Reply #1 - Mar 20th, 2013 at 7:11am
Print Post  
Hey Dr Wink

We had quite some issues with this in the past already but all this has been found and fixed- we even had exactly the problem like described- so forgive me to ask again if you are really sure all files have been updated to 227i? (almost feel like Windoze now Cheesy )
Other than that- in order to fix a couple of other issues we had to move on from Ansi to Unicode, does your system support Unicode properly? The mentioned and fixed saving bug was an Unicode problem.

MMh..one last thought- is in your Unreal.ini Language=int - or maybe another language? There is one bug in the windows installer which causes some random entry there when there is no language is selected- if that is the case we experienced already other crashes on Linux and weird behavior in Windoze.
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
DrItanium
New Member
*
Offline


Oldunreal member

Posts: 4
Joined: Mar 19th, 2013
Gender: Male
Re: Unreal Linux bin segfault when attempting to save game
Reply #2 - Mar 22nd, 2013 at 10:23pm
Print Post  
Alright, I know that my system can display unicode characters properly (I will look into this if it turns out that everything else is a okay).

I took a look at the patch file I downloaded and it is UnrealGoldPatch227i.exe. I forgot to mention, and most likely is a factor, that I ran the patch through wine on a UnrealGold installation I had there. Could that be an issue?

I also looked at the Language field in Unreal.ini and the line is "Language=so". Let me try Language=int.

If all else fails I'm going to have to dig out my unreal gold disc and install it in windows 7 and see if it is wine as I really wouldn't be suprised.
  
Back to top
 
IP Logged
 
DrItanium
New Member
*
Offline


Oldunreal member

Posts: 4
Joined: Mar 19th, 2013
Gender: Male
Re: Unreal Linux bin segfault when attempting to save game
Reply #3 - Mar 22nd, 2013 at 10:27pm
Print Post  
I went back and took a look at running the 227i patch again on my wine copy of unreal gold. I found that by default there is no language selected in the first screen of the installer. I selected English (International) and the resulting entry in the Language was "int". So that is at least something to note.

As for seeing if Language=int fixes it...no dice. Looks like I'll have to find my unreal gold disc and try patching from windows instead.
  
Back to top
 
IP Logged
 
GreatEmerald
Oldunreal MasterPoster
*
Offline


The Great Emerald

Posts: 5361
Location: Vilnius, Lithuania
Joined: May 21st, 2007
Gender: Male
Re: Unreal Linux bin segfault when attempting to save game
Reply #4 - Mar 22nd, 2013 at 10:34pm
Print Post  
Patching from Wine is the intended way of doing it, actually. There should be no difference between that and patching in a virtual machine/dual boot.
  
Back to top
WWW  
IP Logged
 
DrItanium
New Member
*
Offline


Oldunreal member

Posts: 4
Joined: Mar 19th, 2013
Gender: Male
Re: Unreal Linux bin segfault when attempting to save game
Reply #5 - Mar 22nd, 2013 at 11:07pm
Print Post  
Well that's good to know. I thought there was no difference, but I had to be sure. However, even with a fresh install I still have the same issues. Perhaps, unicode support is missing from the compat libraries gentoo provides :/.
  
Back to top
 
IP Logged
 
Ariath
New Member
*
Offline


Oldunreal member

Posts: 2
Joined: Apr 4th, 2013
Gender: Male
Re: Unreal Linux bin segfault when attempting to save game
Reply #6 - Apr 4th, 2013 at 4:46pm
Print Post  
Hi guys!

I have the same "FMallocAnsi::Realloc" problem.

I want to setup a Unreal Gold dedicated server, but i decided to setup it first in a Ubuntu 12.04 x86 server first, for testing.

What i have done is to upload my Unreal Gold updated to 277i from Windows 8 to the Ubuntu VM.

The server starts fine, but, if i try to savegame in the Windows client, the client crashes.

And if i write "SAVEGAME 5" in the server console (or the web browser console), the server crashes with:

Quote:
Executing command from stdin: [SAVEGAME 5].
Backtrace: FMallocAnsi:: <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc <- FMallocAnsi::Realloc
Exiting.
Name subsystem shut down
Allocation checking disabled
Segmentation fault


I play in Spanish, but  i tried changing language to int in the UnrealLinux.ini also. No luck Sad .

See ya!
  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7531
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: Unreal Linux bin segfault when attempting to save game
Reply #7 - Apr 4th, 2013 at 5:17pm
Print Post  
well, the windows client is known to work definitely for saving (usually), but if it crashes for you it gives us the opportunity to check this side as well. Maybe it reveals some more information. What does the log of the windows client show?
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Ariath
New Member
*
Offline


Oldunreal member

Posts: 2
Joined: Apr 4th, 2013
Gender: Male
Re: Unreal Linux bin segfault when attempting to save game
Reply #8 - Apr 4th, 2013 at 6:22pm
Print Post  
This is the full UCC.log :

Code
Select All
Log: Log file open, 04/04/13 20:13:21
Init: Name subsystem initialized
Init: Detected: Microsoft Windows NT 6.2 (Build: 9200)
Init: Version: 227 Subversion: 9
Init: Compiled: Oct 28 2012 16:01:07
Init: Command line:
Init: Base directory: M:\Juegos\Unreal Gold\Data\System\
Init: Character set: Unicode
Log: Bound to Core.dll
Init: Object subsystem initialized
Init: Computer: DRAENOR
Init: User: Javier
Init: Memory total: Phys=4192372K Pagef=4194303K Virt=4194176K
Init: Working set: 32000 / 159000
Init: CPU Speed=3314.871104 MHz
Init: CPU Page size=4096, Processors / Cores=4
Init: CPU Detected: Unknown processor (AuthenticAMD)
Init: CPU Features: CMov FPU RDTSC PAE MMX KNI 3DNow!
Log: Forcing Unreal to run on CPU 0
Log: Bound to Engine.dll
Log: 0.0ms Loading: Package Engine
Log: 6.0ms Loading: Package Core
Log: Checking package Core
Log: Checking package Engine
Log: Executing Class Engine.ServerCommandlet
Init: Unreal engine initialized
Log: Browse: Unreal.unr?Name=Ariath?Class=Unreali.MaleOne?Skin=Male1Skins.Kurgan?Face=?Team=255
Log: LoadMap: Unreal.unr?Name=Ariath?Class=Unreali.MaleOne?Skin=Male1Skins.Kurgan?Face=?Team=255
Log: 16.0ms Loading: Package Unreal
Log: 19.0ms Loading: Package NaliCast
Log: 21.0ms Loading: Package Detail
Log: Bound to Fire.dll
Log: 22.0ms Loading: Package Fire
Log: Checking package Fire
Log: 25.0ms Loading: Package GenEarth
Log: 26.0ms Loading: Package UnrealI
Log: 32.0ms Loading: Package UnrealShare
Log: 46.0ms Loading: Package GenFX
Log: 49.0ms Loading: Package GenFluid
Log: 52.0ms Loading: Package NALIFX
Log: 54.0ms Loading: Package GenIn
Log: 55.0ms Loading: Package Ambancient
Log: 57.0ms Loading: Package Amboutside
Log: 59.0ms Loading: Package DoorsAnc
Log: 60.0ms Loading: Package Liquids
Log: 63.0ms Loading: Package flyby
Log: Collecting garbage
Log: Purging garbage
Log: Garbage: objects: 10809->10738; refs: 137436
Log: Bound to IpDrv.dll
Log: 347.0ms Loading: Package IpDrv
Log: Checking package IpDrv
Init: WinSock: version 1.1 (2.2), MaxSocks=32767, MaxUdp=65467
Init: WinSock: Socket queue 131072 / 131072
Init: WinSock: I am DRAENOR (192.168.88.1)
Log: 355.0ms Loading: Package Female1skins
Log: 357.0ms Loading: Package Female2skins
Log: 359.0ms Loading: Package Male1skins
Log: 360.0ms Loading: Package Male2skins
Log: 362.0ms Loading: Package Male3skins
Log: 363.0ms Loading: Package SkTrooperskins
Log: 365.0ms Loading: Package UnrealIntegrity
Log: 369.0ms Loading: Package IpServer
Log: 373.0ms Loading: Package UWebAdmin
Log: Bringing Level Unreal.MyLevel up for play (20)...
ScriptLog: InitGame: ?Name=Ariath?Class=Unreali.MaleOne?Skin=Male1Skins.Kurgan?Face=?Team=255
ScriptLog: Difficulty 1
ScriptLog: Remote Administration with Password
ScriptLog: Base Mutator is Unreal.Mutator
UdpServerQuery: Bound to port 7778.
UdpServerUplink: DoUplink is not set. Not connecting to Masterserver.
UdpServerUplink: DoUplink is not set. Not connecting to Masterserver.
UdpServerUplink: DoUplink is not set. Not connecting to Masterserver.
UdpServerUplink: DoUplink is not set. Not connecting to Masterserver.
UdpServerUplink: DoUplink is not set. Not connecting to Masterserver.
ScriptLog: ServerBeacon listening on port 7775
ScriptLog: Broadcasting Beacon
Init: Game engine initialized
WebServer: Initializing WebAdmin for current map
WebServer: Login attempt from 127.0.0.1: 	hqb
WebServer: Login attempt from 127.0.0.1: Admin:
Log: Bound to UPak.dll
Log: 23305.0ms Loading: Package UPak
Log: 23331.0ms Loading: Package Marine
Log: 23349.0ms Loading: Package UPakFonts
Log: 23367.0ms Loading: Package UWindow
Log: 23373.0ms Loading: Package UMenu
Log: 23379.0ms Loading: Package UBrowser
Log: Checking package UPak
ScriptLog: ProcessServerTravel: Vortex2?Game=UnrealShare.CoopGame?Mutator=None
Log: Server switch level: Vortex2?Game=UnrealShare.CoopGame?Mutator=None
Log: Browse: Vortex2?Name=Ariath?Class=Unreali.MaleOne?Skin=Male1Skins.Kurgan?Face=?Team=255?Game=UnrealShare.CoopGame?Mutator=None
Log: LoadMap: Vortex2?Name=Ariath?Class=Unreali.MaleOne?Skin=Male1Skins.Kurgan?Face=?Team=255?Game=UnrealShare.CoopGame?Mutator=None
Log: 47575.0ms Loading: Package Vortex2
Log: 47628.0ms Loading: Package PlayrShp
Log: 47631.0ms Loading: Package Ambmodern
Log: 47639.0ms Loading: Package Mine
Log: 47655.0ms Loading: Package DoorsMod
Log: 47657.0ms Loading: Package HubEffects
Log: 47659.0ms Loading: Package vrikers
Log: 47661.0ms Loading: Package TCrystal
Log: 47663.0ms Loading: Package Greatfire2
Log: 47665.0ms Loading: Package Activates
Log: 47667.0ms Loading: Package Vortex
Exit: WinSock shut down
Log: Collecting garbage
Log: Purging garbage
Log: 48068.0ms Unloading: Package Unreal
Log: 48068.0ms Unloading: Package NaliCast
Log: 48069.0ms Unloading: Package GenEarth
Log: 48069.0ms Unloading: Package NALIFX
Log: 48070.0ms Unloading: Package Liquids
Log: 48070.0ms Unloading: Package flyby
Log: 48072.0ms Unloading: Package UnrealIntegrity
Log: 48073.0ms Unloading: Package SkTrooperskins
Log: 48073.0ms Unloading: Package Male3skins
Log: 48074.0ms Unloading: Package Female2skins
Log: 48074.0ms Unloading: Package IpServer
Log: 48075.0ms Unloading: Package UWebAdmin
Log: Garbage: objects: 23530->12417; refs: 267952
Init: WinSock: Socket queue 131072 / 131072
Log: 48133.0ms Loading: Package Female2skins
Log: 48136.0ms Loading: Package Male3skins
Log: 48138.0ms Loading: Package SkTrooperskins
Log: 48139.0ms Loading: Package UnrealIntegrity
Log: 48143.0ms Loading: Package IpServer
Log: 48148.0ms Loading: Package UWebAdmin
Log: Bringing Level Vortex2.MyLevel up for play (20)...
ScriptLog: InitGame: ?Name=Ariath?Class=Unreali.MaleOne?Skin=Male1Skins.Kurgan?Face=?Team=255?Game=UnrealShare.CoopGame?Mutator=None
ScriptLog: Difficulty 1
ScriptLog: Remote Administration with Password
ScriptLog: Base Mutator is Vortex2.Mutator
ScriptLog: Mutators None
ScriptLog: Add mutator None
Warning: No se ha podido cargar 'NULL': No se ha podido resolver el nombre del paquete
Warning: No se ha podido cargar 'Class None.None': No se ha podido resolver el nombre del paquete
UdpServerQuery: Bound to port 7778.
UdpServerUplink: DoUplink is not set. Not connecting to Masterserver.
UdpServerUplink: DoUplink is not set. Not connecting to Masterserver.
UdpServerUplink: DoUplink is not set. Not connecting to Masterserver.
UdpServerUplink: DoUplink is not set. Not connecting to Masterserver.
UdpServerUplink: DoUplink is not set. Not connecting to Masterserver.
ScriptLog: ServerBeacon listening on port 7775
ScriptLog: Broadcasting Beacon
WebServer: Initializing WebAdmin for current map
ScriptLog: Broadcasting Query Beacon
NetComeGo: Open MyLevel 04/04/13 20:15:01 192.168.58.1:63199
CoopGame: Pre: 'Ariath' 192.168.58.1: Ariath
ScriptLog: Team 255
ScriptLog: Login: Ariath
ScriptLog: Password 193
ScriptLog: Logging in to Vortex Rikers
Log: Possessed PlayerPawn: MaleOne Vortex2.MaleOne
ServerLog: All inventory from Ariath is accepted
NetComeGo: Close TcpipConnection 04/04/13 20:15:36
ScriptLog: Broadcasting Query Beacon
NetComeGo: Open MyLevel 04/04/13 20:16:08 192.168.58.1:64991
CoopGame: Pre: 'Ariath' 192.168.58.1: Ariath
ScriptLog: Team 255
ScriptLog: Login: Ariath
ScriptLog: Password 823
ScriptLog: Logging in to Vortex Rikers
Log: Possessed PlayerPawn: MaleOne Vortex2.MaleOne
ServerLog: All inventory from Ariath is accepted
Critical: PaintProgress
Critical: UGameEngine::SaveGame
Critical: UGameEngine::Exec
Critical: AActor::execConsoleCommand
Critical: UObject::execClassContext
Critical: (SubWebManager Vortex2.WebAdminManager.WebManager @ Function UWebAdmin.SubWebManager.ProcessPostData : 00CE)
Critical: UObject::ProcessEvent
Critical: (WebConnection Vortex2.WebConnection, Function UWebAdmin.WebConnection.Timer)
Critical: AActor::Tick
Critical: AInternetLink::Tick
Critical: ATcpLink::Tick
Critical: TickAllActors
Critical: ULevel::Tick
Critical: (NetMode=1)
Critical: TickLevel
Critical: UGameEngine::Tick
Critical: UpdateWorld
Critical: UServerCommandlet::Main
Exit: Executing UObject::StaticShutdownAfterError
Exit: Exiting.
Uninitialized: Name subsystem shut down
Uninitialized: Log file closed, 04/04/13 20:16:35
 



The server crashed upon entering the "SAVEGAME 5" command in the webadmin console (i can't write in the cmd).
Also, if i try to savegame in the client, i get this:

http://gyazo.com/19b3c76a1c98df3f81ca7c5259cef9cb.png?1365099340

See ya!
  
Back to top
 
IP Logged
 
[]KAOS[]Casey
Developer Team
Betatester
Offline


nedm

Posts: 3077
Joined: Aug 7th, 2011
Gender: Male
Re: Unreal Linux bin segfault when attempting to save game
Reply #9 - Apr 4th, 2013 at 8:15pm
Print Post  
Savegame is not officially supported from dedicated servers, although it is possible to get them to function, it's not implemented properly.

edit: did some investigation

it looks like savegame works sometimes on deus ex, not Unreal. it seems unreal just crashes every time.
  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7531
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: Unreal Linux bin segfault when attempting to save game
Reply #10 - Apr 7th, 2013 at 5:42am
Print Post  
indeed savegame was never designed for dedicated servers, but it shouldn't crash. No idea if at the moment if there is a feasible and reasonable fix, but if not it should be caught at least.
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
046
New Member
*
Offline


Oldunreal member

Posts: 1
Joined: May 27th, 2017
Re: Unreal Linux bin segfault when attempting to save game
Reply #11 - May 27th, 2017 at 10:39pm
Print Post  
I cought SIGSEGV when tried to save game.

Program received signal SIGSEGV, Segmentation fault.
0xf70b885a in appGetLocalIP() () from ./Core.so
(gdb)

Adding hostname to the /etc/hosts solving this issue.
  
Back to top
 
IP Logged
 
Smirftsch
Forum Administrator
*****
Offline



Posts: 7531
Location: at home
Joined: Apr 30th, 1998
Gender: Male
Re: Unreal Linux bin segfault when attempting to save game
Reply #12 - May 28th, 2017 at 6:40am
Print Post  
oh thanks for this feedback. This issue I resolved quite some time for 227j now,  so in future this shouldn't cause any trouble anymore.
  

Sometimes you have to lose a fight to win the war.
Back to top
WWWICQ  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo