Jump to content

ERROR: Failed to load .... & Segmentation fault (0ad-dev, Linux Mint 17)


Falx
 Share

Recommended Posts

Hello,

Please help to solve this problem Installed the game and installed via the repository version of developers.

Supplementary information in the files attached below.

When you start the game from a shortcut or from the terminal game flashes a black screen for a second and falls ... :viking_face:

LM 17 KDE Qiana .

***************************************

/usr/games > ./0ad
Cache: 200 (total: 4036) MiB
TIMER| InitVfs: 200.824 ms
Sound: AlcInit success, using OpenAL Soft
TIMER| CONFIG_Init: 6.62842 ms
TIMER| RunHardwareDetection: 23.3937 ms
TIMER| write_sys_info: 18.5067 ms
ERROR: CVFSFile: file shaders/program.rng couldn't be opened (vfs_load: -110101)
ERROR: Failed to read grammar shaders/program.rng
TIMER| InitRenderer: 1.50571 ms
TIMER| ps_console: 4.64557 ms
TIMER| ps_lang_hotkeys: 2.62942 ms
TIMER| common/modern/setup.xml: 382.866 us
TIMER| common/modern/styles.xml: 198.879 us
TIMER| common/modern/sprites.xml: 2.68866 ms
TIMER| common/setup.xml: 661.288 us
TIMER| common/sprite1.xml: 2.23416 ms
TIMER| common/styles.xml: 52.365 us
TIMER| common/common_sprites.xml: 3.26005 ms
TIMER| common/common_styles.xml: 293.364 us
TIMER| common/init.xml: 1.45286 ms
TIMER| pregame/sprites.xml: 492.063 us
TIMER| pregame/styles.xml: 46.13 us
TIMER| pregame/mainmenu.xml: 48.8277 ms
TIMER| common/global.xml: 704.812 us
ERROR: JavaScript error: gui/pregame/mainmenu.js line 279
ReferenceError: sprintf is not defined
getBuildString@gui/pregame/mainmenu.js:279
__eventhandler28 (load)@versionNumber load:0
ERROR: JavaScript error: gui/pregame/mainmenu.js line 109
ReferenceError: translate is not defined
formatUserReportStatus@gui/pregame/mainmenu.js:109
onTick@gui/pregame/mainmenu.js:153
__eventhandler0 (tick)@mainMenuPage tick:0
ERROR: JavaScript error: gui/common/functions_global_object.js line 79
ReferenceError: sprintf is not defined
updateFPS@gui/common/functions_global_object.js:79
__eventhandler29 (tick)@fpsCounter tick:1

ERROR: CVFSFile: file shaders/effects/gui_text.xml couldn't be opened (vfs_load: -110101)
ERROR: CXeromyces: Failed to open XML file shaders/effects/gui_text.xml
ERROR: Failed to load effect 'gui_text'
Segmentation fault
./pyrogenesis
Cache: 200 (total: 4036) MiB
TIMER| InitVfs: 514.382 us
Sound: AlcInit success, using OpenAL Soft
TIMER| CONFIG_Init: 8.28321 ms
ERROR: CVFSFile: file hwdetect/hwdetect.js couldn't be opened (vfs_load: -110100)
ERROR: Failed to load hardware detection script
TIMER| RunHardwareDetection: 1.27222 ms
TIMER| write_sys_info: 18.3931 ms
ERROR: CVFSFile: file shaders/program.rng couldn't be opened (vfs_load: -110100)
ERROR: Failed to read grammar shaders/program.rng
TIMER| InitRenderer: 906.097 us
ERROR: Failed to open font file fonts/mono-10.fnt
ERROR: Failed to open font file fonts/sans-10.fnt
TIMER| ps_console: 83.874 us
TIMER| ps_lang_hotkeys: 2.43868 ms
ERROR: CCacheLoader failed to find archived or source file for: "gui/page_pregame.xml"
ERROR: Failed to open font file fonts/mono-stroke-10.fnt
ERROR: CCacheLoader failed to find archived or source file for: "shaders/effects/gui_text.xml"
ERROR: Failed to load effect 'gui_text'
Segmentation fault

****************************************************************************************************************

sYXUL.jpg

log.zip

Edited by Falx
Link to comment
Share on other sites

- I have installed from above everything that was in this resource http://www.ubuntuupdates.org/package/core/trusty/universe/backports/0ad 0ad, 0ad-dbg, 0ad-data 0ad common, 0ad-update .. 0ad + 0ad-dev update from repository/

I also tried unsuccessfully to update the version of the game compilation from source (Git) .. I suppose that this violated the that that in the file structure ..
I will make attempt to complete the removal and installation a clean slate

***

- Сurrently engaged in a careful reading of this topic here in the same problem .. - http://www.wildfiregames.com/forum/index.php?showtopic=13668&page=2
It problems with NVidia Video drivers I know that something close to my events, and system configuration

***

gdb /usr/games/pyrogenesis
GNU gdb (Ubuntu 7.7-0ubuntu3.1) 7.7
Copyright © 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/games/pyrogenesis...Reading symbols from /usr/lib/debug/.build-id/30/c31df2f5ae5772c12f4780cdcf5c3674b92c4f.debug...done.
done.
(gdb) run
Starting program: /usr/games/pyrogenesis
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
Cache: 200 (total: 4036) MiB
[New Thread 0xa54fdb40 (LWP 1000)]
TIMER| InitVfs: 223.522 ms
[New Thread 0xa4cfcb40 (LWP 1001)]
[New Thread 0xa44dab40 (LWP 1002)]
[New Thread 0xa36ffb40 (LWP 1003)]
[Thread 0xa36ffb40 (LWP 1003) exited]
[New Thread 0xa36ffb40 (LWP 1004)]
[New Thread 0x9eefdb40 (LWP 1005)]
Sound: AlcInit success, using OpenAL Soft
[New Thread 0x9e4ffb40 (LWP 1006)]
TIMER| CONFIG_Init: 7.47569 ms
[New Thread 0x9d9feb40 (LWP 1007)]
[New Thread 0x9d1fdb40 (LWP 1008)]
[New Thread 0x9beccb40 (LWP 1009)]
TIMER| RunHardwareDetection: 25.6876 ms
TIMER| write_sys_info: 36.9295 ms
[New Thread 0x9b4ffb40 (LWP 1010)]
TIMER| InitRenderer: 29.1759 ms
TIMER| ps_console: 4.67863 ms
TIMER| ps_lang_hotkeys: 1.428 ms

Program received signal SIGSEGV, Segmentation fault.
XMBFile::Initialise (this=this@entry=0xbfffd510, FileData=0xa552f000 "XMB0\003")
at ../../../source/ps/XML/XeroXMB.cpp:64
64 ../../../source/ps/XML/XeroXMB.cpp: No such file or directory.

(gdb) bt
#0 XMBFile::Initialise (this=this@entry=0xbfffd510, FileData=0xa552f000 "XMB0\003")
at ../../../source/ps/XML/XeroXMB.cpp:64
#1 0x0820b2fe in ReadXMBFile (filename=..., vfs=..., this=0xbfffd510) at ../../../source/ps/XML/Xeromyces.cpp:161
#2 CXeromyces::Load (this=this@entry=0xbfffd510, vfs=..., filename=...) at ../../../source/ps/XML/Xeromyces.cpp:81
#3 0x08392229 in CGUI::LoadXmlFile (this=0x8d9b640, Filename=..., Paths=...) at ../../../source/gui/CGUI.cpp:925
#4 0x083ce64e in CGUIManager::LoadPage (this=this@entry=0x8d3f0a0, page=...) at ../../../source/gui/GUIManager.cpp:226
#5 0x083cfab6 in CGUIManager::PushPage (this=0x8d3f0a0, pageName=..., initData=...)
at ../../../source/gui/GUIManager.cpp:85
#6 0x083d023f in CGUIManager::SwitchPage (this=0x8d3f0a0, pageName=...,
srcScriptInterface=srcScriptInterface@entry=0x8d40130, initData=...) at ../../../source/gui/GUIManager.cpp:77
#7 0x081f08d1 in InitPs (setup_gui=<optimized out>, gui_page=...,
srcScriptInterface=srcScriptInterface@entry=0x8d40130, initData=...)
at ../../../source/ps/GameSetup/GameSetup.cpp:524
#8 0x081f45ca in InitGraphics (args=..., flags=flags@entry=0) at ../../../source/ps/GameSetup/GameSetup.cpp:1031
#9 0x08067f13 in RunGameOrAtlas (argc=argc@entry=1, argv=argv@entry=0xbfffeeb4) at ../../../source/main.cpp:475
#10 0x0805b0a4 in main (argc=1, argv=0xbfffeeb4) at ../../../source/main.cpp:520

(gdb) c
Continuing.
[Thread 0x9b4ffb40 (LWP 1010) exited]
[Thread 0x9beccb40 (LWP 1009) exited]
[Thread 0x9d1fdb40 (LWP 1008) exited]
[Thread 0x9d9feb40 (LWP 1007) exited]
[Thread 0x9e4ffb40 (LWP 1006) exited]
[Thread 0x9eefdb40 (LWP 1005) exited]
[Thread 0xa44dab40 (LWP 1002) exited]
[Thread 0xa4cfcb40 (LWP 1001) exited]
[Thread 0xa54fdb40 (LWP 1000) exited]
[Thread 0xb2362740 (LWP 996) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.


I got understand a little .. Although I know very few programming ..

The missing files were found after installation .. Re-install again?
Edited by Falx
Link to comment
Share on other sites

Same problem on Ubuntu 14.04.

I run 0ad from terminal and it writes:

Cache: 500 (total: 5879) MiBTIMER| InitVfs: 186.001 msSound: AlcInit success, using OpenAL SoftTIMER| CONFIG_Init: 12.1584 msTIMER| RunHardwareDetection: 21.6704 msTIMER| write_sys_info: 16.5721 msERROR: CVFSFile: file shaders/program.rng couldn't be opened (vfs_load: -110101)ERROR: Failed to read grammar shaders/program.rngTIMER| InitRenderer: 6.93171 msTIMER| ps_console: 4.86371 msTIMER| ps_lang_hotkeys: 2.26366 msTIMER| common/modern/setup.xml: 375.329 usTIMER| common/modern/styles.xml: 182.736 usTIMER| common/modern/sprites.xml: 2.20032 msTIMER| common/setup.xml: 658.671 usTIMER| common/sprite1.xml: 1.89169 msTIMER| common/styles.xml: 54.093 usTIMER| common/common_sprites.xml: 2.11627 msTIMER| common/common_styles.xml: 263.261 usTIMER| common/init.xml: 1.49215 msTIMER| pregame/sprites.xml: 427.489 usTIMER| pregame/styles.xml: 54.604 usTIMER| pregame/mainmenu.xml: 30.9967 msTIMER| common/global.xml: 824.995 usERROR: JavaScript error: gui/pregame/mainmenu.js line 279ReferenceError: sprintf is not defined  getBuildString@gui/pregame/mainmenu.js:279  __eventhandler28 (load)@versionNumber load:0TIMER| common/modern/setup.xml: 159.72 usTIMER| common/modern/styles.xml: 154.477 usTIMER| common/modern/sprites.xml: 2.1746 msTIMER| common/setup.xml: 605.98 usTIMER| common/sprite1.xml: 1.74082 msTIMER| common/styles.xml: 30.049 usTIMER| common/common_sprites.xml: 2.06703 msTIMER| common/common_styles.xml: 235.095 usTIMER| splashscreen/styles.xml: 53.069 usTIMER| splashscreen/setup.xml: 56.372 usTIMER| splashscreen/splashscreen.xml: 1.44848 msERROR: JavaScript error: gui/common/functions_global_object.js line 79ReferenceError: sprintf is not defined  updateFPS@gui/common/functions_global_object.js:79  __eventhandler29 (tick)@fpsCounter tick:1ERROR: CVFSFile: file shaders/effects/gui_text.xml couldn't be opened (vfs_load: -110101)ERROR: CXeromyces: Failed to open XML file shaders/effects/gui_text.xmlERROR: Failed to load effect 'gui_text'Segmentation fault (core dumped)

The graphic cards of my laptop are: Intel® HD Graphics 3000 (Family) 1696 MB and NVidia GeForce GT 540M 2048MB.

I use nvidia-331-updates drivers. What can I do?

Edited by Georges
Link to comment
Share on other sites

Since the problem is not solved, then I did a thorough cleaning of the entire system of the game, deleted all the libraries and dependencies

. I installed an earlier version of the official games - 0ad 15 from the program manager of Linux Mint 17 KDE.

And the game started.
The same graphics card Force 760
Then I updated the game to version 16....
sudo add-apt-repository ppa:wfg/0ad

sudo apt-get update

sudo apt-get install 0ad
And she again takes off and does not start .... Crash (Segmentation fault)
In parallel, I have in the Windows 8.1, and the game is fine (with foresight brakes) ...
I'm sure the developers are paying much more attention to porting to Windows, than alternatives. Please bring to the normal development of the game results in the Linus. Thank you for your attention.
Link to comment
Share on other sites

Same problem on Ubuntu 14.04.

The graphic cards of my laptop are: Intel® HD Graphics 3000 (Family) 1696 MB and NVidia GeForce GT 540M 2048MB.

I use nvidia-331-updates drivers. What can I do?

I have the same video card driver GF 760 GTX = 331

Link to comment
Share on other sites

Yes. It's about Alpha 16 on ubuntu 14.04 64bit.

Maybe the problem has to do about the graphics card but I'm not sure. My laptop has hybrid card (2 graphics cards) and the only driver who support the 2 cards is nvidia-331.

I have completely remove and reinstall 0ad (from ppa:/0ad or from ppa:/0ad.dev) but nothing.

Edited by Georges
Link to comment
Share on other sites

Yes. It's about Alpha 16 on ubuntu 14.04 64bit.

Maybe the problem has to do about the graphics card but I'm not sure. My laptop has hybrid card (2 graphics cards) and the only driver who support the 2 cards is nvidia-331.

I have completely remove and reinstall 0ad (from ppa:/0ad or from ppa:/0ad.dev) but nothing.

Do you use Bumblebee to utilize the NVidia GPU?

Link to comment
Share on other sites

How can I change lines from file default.cfg ?

It writes:

DO NOT EDIT THIS FILE if you want personal customisations: *; * create a text file called "local.cfg" instead, and copy    *; * the lines from this file that you want to change.          *; *                                                            *; * On Linux, create:                                          *; *   $XDG_CONFIG_HOME/0ad/config/local.cfg                    *; *   (Note: $XDG_CONFIG_HOME defaults to ~/.config)

but I don't understand how I can do this.

Link to comment
Share on other sites

George you do not change or write anything to '/usr/share/games/0ad/config the local.cfg is put in your Home folder in a hidden folder .config check the show hidden files option in your file browser when you open .config there will be a 0AD folder there that's where niektb meant to point you.

Enjoy the Choice :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...