Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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
0
Question by ZingFront · Jan 17, 2017 at 02:44 PM · crashlinuxbatchmodenvidiasigabrt

Ubuntu xvfb-run a Unity application with Nvidia leads to a “core dumped”

I build a Linux standalone version of my game. And I want it to run in batch mode in Ubuntu so that I can write some code to get screenshot automatically for further usage.

My env:

  • Ubuntu 16.04

  • Unity 5.4.3

  • Nvidia K2200 graphic card

  • Nvidia Drider version: 367.57-0ubuntu0.16.04.1

  • xvfb-run

But when I tried to run my game through SSH with this kind of command, I came across a core dumped and everything aborted:

xvfb-run --auto-servernum --server-args='-screen 1 2560x1600x24:32' -e /home/unreal/video/error_xvfb ./test.x86_64 -batchmode -logFile /home/unreal/video/stdout_unity

And in that log file "stduo_unity", some error happened but I have no idea what it is talking about:

 Stacktrace:


 Native stacktrace:

 /home/unreal/Unity/New Unity Project/test_Data/Mono/x86_64/libmono.so(+0x91a46) [0x7f61216dba46]
 /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f6125c28390]
 /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38) [0x7f61243fc428]
 /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a) [0x7f61243fe02a]
 ./test.x86_64() [0x886397]
 /home/unreal/Unity/New Unity Project/test_Data/Mono/x86_64/libmono.so(+0xd07eb) [0x7f612171a7eb]
 /home/unreal/Unity/New Unity Project/test_Data/Mono/x86_64/libmono.so(+0x348d3) [0x7f612167e8d3]
 /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390) [0x7f6125c28390]
 ./test.x86_64() [0xf92d9f]
 ./test.x86_64() [0xf8a1c6]
 ./test.x86_64() [0xf8b97b]
 ./test.x86_64() [0x4a2d5e]
 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0) [0x7f61243e7830]
 ./test.x86_64() [0x4ac679]

 Debug info from gdb:

 Could not attach to process. If your uid matches the uid of the target
 process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
 again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
 ptrace: operation not allowed.
 No threads.

 =================================================================
 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.
 =================================================================

Then I try to uninstall Nvidia driver and everything works fine. But as it cannot use graphic card, the app is with low efficiency.

Then I re-install driver again, and try building Linux standalone app with from Unity 5.2 to Unity 5.5. Nothing better.

Now I really don't know want should I do. Can someone help me with this? 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

0 Replies

· Add your reply
  • Sort: 

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

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

IOS SIGABRT Crash UnityAppController 0 Answers

Unity 4.2 Ubuntu batchmode nographics crash with message: Aborted (core dumped) 1 Answer

Game crash on Ubuntu 2 Answers

Tracking down a SIGABRT on startup 8 Answers

Headless linux server 2 Answers


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