Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by berzerk hyunil · Nov 13, 2013 at 01:13 AM · linux

Running Unity3D app on Linux using a third party application

Hi all,

I have a game server built with Unity, deployed on our test server running Ubuntu 12.04 Server LTS. The server runs fine when I directly run it over SSH using -batchmode and -nographics option.

I have installed monit on the server to better manage the server application, but whenever monit tries to start the server, it crashes with following error in the log output: terminate called after throwing an instance of 'std::logic_error' what(): basic_string::_S_construct NULL not valid Stacktrace:

Native stacktrace:

     /usr/share/gogorabbit/go-go-rabbit-server_Data/Mono/x86_64/libmono.so(+0x92db2) [0x7fb319da8db2]
     /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7fb31c8a2cb0]
     /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fb31bdef425]
     /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b) [0x7fb31bdf2b8b]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x11d) [0x128787d]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64() [0x1286ae6]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64() [0x1286b13]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64() [0x12863ce]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64(_ZSt19__throw_logic_errorPKc+0x5c) [0x1236bac]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64(_ZNSs12_S_constructIPKcEEPcT_S3_RKSaIcESt20forward_iterator_tag+0x9f) [0x126bd0f]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64(_ZNSsC1EPKcRKSaIcE+0x42) [0x126bd82]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64() [0xb86040]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64() [0xba8eb4]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64() [0xba96b0]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64() [0xbab0d3]
     /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fb31bdda76d]
     /usr/share/gogorabbit/go-go-rabbit-server.x86_64() [0x44b9b9]

Debug info from gdb:

================================================================= Got a SIGABRT while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application. =================================================================

Does anyone have any idea?

Thanks!

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by seasick · Jun 15, 2016 at 01:37 PM

I had a very similar issue (works when starting it "manually" via SSH, but crashes if started from an other process/service).

I compared the used environment variables and tried if anything changes if I use similar environment variables. I found out that I have to use the HOME environment variable, which was not set when starting from service.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

17 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Is there an Unity Webplayer for Linux ?? 3 Answers

Controlling StandAlone's window in Ubuntu 12.04 0 Answers

Unity Asset Server move data directory 0 Answers

Unity for Android in a Linux Environment 2 Answers

Can multiplayer server side run on Linux? 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges