Jump to content

ERROR: Failed to load COLLADA conversion DLL


Recommended Posts

Hello,

So I compiled 0 A.D from SVN on Gentoo Linux. Compiling went reasonably well, now I encounter an error when I start the game:

ERROR: dlopen error: ./libCollada_dbg.so: cannot open shared object file: No such file or directory
ERROR: Failed to load COLLADA conversion DLL
ERROR: Could not load mesh 'art/meshes/structural/settlement_1.dae'
ERROR: CObjectEntry::BuildModel(): Model art/meshes/structural/settlement_1.dae failed to load

That's after I try to start the Single Player mode.

Before that, I get some warnings/errors, I'm posting the whole log here:

jinzo@oxy ~ $ 0ad
mkdir failed with errno=13
vfs_lookup.cpp(81): Assertion failed: "0"
udbg_bfd_init: loading symbols from /opt/0ad/system/pyrogenesis_dbg.
debug.cpp(233): Unable to open crashlog.txt for writing (please ensure the log directory is writable)
Unable to open crashlog.txt for writing (please ensure the log directory is writable)
Location: debug.cpp:233 (debug_WriteCrashlog)

Call stack:

(0x085aa6d4) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)
(0x0855959a) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)
(0x08559a93) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)
(0x08559ff0) debug.cpp:234 debug_WriteCrashlog(wchar_t const*)
(0x08559aa1) debug.cpp:502 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)
(0x08559bda) debug.cpp:577 debug_OnAssertionFailure(char const*, unsigned char*, char const*, int, char const*)
(0x0857e5bd) vfs_lookup.cpp:81 vfs_Lookup(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, VfsDirectory*, VfsDirectory*&, VfsFile**, unsigned int)
(0x085756b6) vfs.cpp:48 VFS::Mount(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> const&, unsigned int, unsigned int)
(0x082b23b5) GameSetup.cpp:553 InitVfs
(0x082b5961) GameSetup.cpp:862 Init(CmdLineArgs const&, int)
(0x081df387) main.cpp:395 RunGameOrAtlas
(0x081df452) main.cpp:412 main
(0xb7645725) /lib/libc.so.6:0 __libc_start_main
(0x081de421) none:0 _start

errno = 0 (?)
OS error = ?


(C)ontinue, (B)reak, Launch (D)ebugger, or (E)xit?
c
Assertion failed: "0"
Location: vfs_lookup.cpp:81 (vfs_Lookup)

Call stack:

(0x085aa6d4) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)
(0x0855959a) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)
(0x08559a93) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)
(0x08559bda) debug.cpp:577 debug_OnAssertionFailure(char const*, unsigned char*, char const*, int, char const*)
(0x0857e5bd) vfs_lookup.cpp:81 vfs_Lookup(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, VfsDirectory*, VfsDirectory*&, VfsFile**, unsigned int)
(0x085756b6) vfs.cpp:48 VFS::Mount(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> const&, unsigned int, unsigned int)
(0x082b23b5) GameSetup.cpp:553 InitVfs
(0x082b5961) GameSetup.cpp:862 Init(CmdLineArgs const&, int)
(0x081df387) main.cpp:395 RunGameOrAtlas
(0x081df452) main.cpp:412 main
(0xb7645725) /lib/libc.so.6:0 __libc_start_main
(0x081de421) none:0 _start

errno = 0 (?)
OS error = ?


(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
c
mkdir failed with errno=13
vfs_lookup.cpp(81): Assertion failed: "0"
Assertion failed: "0"
Location: vfs_lookup.cpp:81 (vfs_Lookup)

Call stack:

(0x085aa6d4) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)
(0x0855959a) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)
(0x08559a93) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)
(0x08559bda) debug.cpp:577 debug_OnAssertionFailure(char const*, unsigned char*, char const*, int, char const*)
(0x0857e5bd) vfs_lookup.cpp:81 vfs_Lookup(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, VfsDirectory*, VfsDirectory*&, VfsFile**, unsigned int)
(0x085756b6) vfs.cpp:48 VFS::Mount(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> const&, unsigned int, unsigned int)
(0x082b24d6) GameSetup.cpp:554 InitVfs
(0x082b5961) GameSetup.cpp:862 Init(CmdLineArgs const&, int)
(0x081df387) main.cpp:395 RunGameOrAtlas
(0x081df452) main.cpp:412 main
(0xb7645725) /lib/libc.so.6:0 __libc_start_main
(0x081de421) none:0 _start

errno = 0 (?)
OS error = ?


(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
c
mkdir failed with errno=13
vfs_lookup.cpp(81): Assertion failed: "0"
Assertion failed: "0"
Location: vfs_lookup.cpp:81 (vfs_Lookup)

Call stack:

(0x085aa6d4) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)
(0x0855959a) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)
(0x08559a93) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)
(0x08559bda) debug.cpp:577 debug_OnAssertionFailure(char const*, unsigned char*, char const*, int, char const*)
(0x0857e5bd) vfs_lookup.cpp:81 vfs_Lookup(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, VfsDirectory*, VfsDirectory*&, VfsFile**, unsigned int)
(0x085756b6) vfs.cpp:48 VFS::Mount(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> const&, unsigned int, unsigned int)
(0x082b25f7) GameSetup.cpp:555 InitVfs
(0x082b5961) GameSetup.cpp:862 Init(CmdLineArgs const&, int)
(0x081df387) main.cpp:395 RunGameOrAtlas
(0x081df452) main.cpp:412 main
(0xb7645725) /lib/libc.so.6:0 __libc_start_main
(0x081de421) none:0 _start

errno = 0 (?)
OS error = ?


(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
c
mkdir failed with errno=13
vfs_lookup.cpp(81): Assertion failed: "0"
Assertion failed: "0"
Location: vfs_lookup.cpp:81 (vfs_Lookup)

Call stack:

(0x085aa6d4) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)
(0x0855959a) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)
(0x08559a93) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)
(0x08559bda) debug.cpp:577 debug_OnAssertionFailure(char const*, unsigned char*, char const*, int, char const*)
(0x0857e5bd) vfs_lookup.cpp:81 vfs_Lookup(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, VfsDirectory*, VfsDirectory*&, VfsFile**, unsigned int)
(0x085756b6) vfs.cpp:48 VFS::Mount(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> const&, unsigned int, unsigned int)
(0x082b2707) GameSetup.cpp:556 InitVfs
(0x082b5961) GameSetup.cpp:862 Init(CmdLineArgs const&, int)
(0x081df387) main.cpp:395 RunGameOrAtlas
(0x081df452) main.cpp:412 main
(0xb7645725) /lib/libc.so.6:0 __libc_start_main
(0x081de421) none:0 _start

errno = 0 (?)
OS error = ?


(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
c
lib_errors.cpp(105): Function call failed: return value was -110300 (Insufficient access rights to open file)
Function call failed: return value was -110300 (Insufficient access rights to open file)
Location: lib_errors.cpp:105 (LibError_from_errno)

Call stack:

(0x085aa6d4) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)
(0x0855959a) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)
(0x08559a93) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)
(0x08559ea9) debug.cpp:553 debug_OnError(long, unsigned char*, char const*, int, char const*)
(0x085559a6) lib_errors.cpp:105 LibError_from_errno(bool)
(0x085680b1) file_system.cpp:129 CreateDirectories(boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> const&, unsigned int)
(0x0857568a) vfs.cpp:48 VFS::Mount(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> const&, unsigned int, unsigned int)
(0x082b29b0) GameSetup.cpp:570 InitVfs
(0x082b5961) GameSetup.cpp:862 Init(CmdLineArgs const&, int)
(0x081df387) main.cpp:395 RunGameOrAtlas
(0x081df452) main.cpp:412 main
(0xb7645725) /lib/libc.so.6:0 __libc_start_main
(0x081de421) none:0 _start

errno = 0 (?)
OS error = ?


(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
c
vfs.cpp(48): Function call failed: return value was -1 (Function failed (no details available))
Function call failed: return value was -1 (Function failed (no details available))
Location: vfs.cpp:48 (Mount)

Call stack:

(0x085aa6d4) ldbg.cpp:101 debug_DumpStack(wchar_t*, unsigned int, void*, char const*)
(0x0855959a) debug.cpp:341 debug_BuildErrorMessage(wchar_t const*, char const*, int, char const*, void*, char const*, ErrorMessageMem*)
(0x08559a93) debug.cpp:499 debug_DisplayError(wchar_t const*, unsigned int, void*, char const*, char const*, int, char const*, unsigned char*)
(0x08559ea9) debug.cpp:553 debug_OnError(long, unsigned char*, char const*, int, char const*)
(0x085756f8) vfs.cpp:48 VFS::Mount(boost::filesystem::basic_path<std::string, VfsPathTraits> const&, boost::filesystem::basic_path<std::string, boost::filesystem::path_traits> const&, unsigned int, unsigned int)
(0x082b2ac4) GameSetup.cpp:571 InitVfs
(0x082b5961) GameSetup.cpp:862 Init(CmdLineArgs const&, int)
(0x081df387) main.cpp:395 RunGameOrAtlas
(0x081df452) main.cpp:412 main
(0xb7645725) /lib/libc.so.6:0 __libc_start_main
(0x081de421) none:0 _start

errno = 0 (?)
OS error = ?


(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
(C)ontinue, (S)uppress, (B)reak, Launch (D)ebugger, or (E)xit?
c
TIMER| InitVfs: 6.05024 s
TIMER| InitScripting: 4.39805 ms
TIMER| CONFIG_Init: 13.2543 ms
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).
TIMER| write_sys_info: 17.8426 ms
TIMER| ps_console: 47.4276 ms
TIMER| ps_lang_hotkeys: 7.91822 ms
TIMER| ps_gui_init: 37.013 us
TIMER| ps_gui_setup_xml: 7.79454 ms
TIMER| ps_gui_styles_xml: 3.69132 ms
TIMER| ps_gui_sprite1_xml: 144.273 ms
TIMER| ps_gui_1: 51.903 ms
TIMER| ps_gui_2: 197.047 ms
TIMER| ps_gui_3: 4.39513 ms
TIMER| ps_gui_4: 87.4496 ms
TIMER| ps_gui_6: 729.858 us
TIMER| ps_gui_6_1: 5.56322 ms
TIMER| ps_gui_6_2: 2.45308 ms
TIMER| ps_gui_7: 707.764 us
TIMER| ps_gui_9: 8.22381 ms
TIMER| InitRenderer: 1.23542 ms
TIMER| SimulationInit: 3.20091 ms
TIMER| Init_miscgamesection: 53.3957 ms
TIMER| Init_guiload: 171.875 ms
ERROR: dlopen error: ./libCollada_dbg.so: cannot open shared object file: No such file or directory
ERROR: Failed to load COLLADA conversion DLL
ERROR: Could not load mesh 'art/meshes/structural/settlement_1.dae'
ERROR: CObjectEntry::BuildModel(): Model art/meshes/structural/settlement_1.dae failed to load
Segmentation fault

P.S: That's the same error as here.

Do you need any further info ?

Link to comment
Share on other sites

Greetings!

Uhoh, those previous errors are already showstoppers.

Since even the simplest of the VFS mount calls is failing (line 570, accessing pre-existing directories within the SVN tree), it looks like we're failing to determine the executable's directory.

Does it help if you launch the game from gdb, which sets argv[0] correctly? Can you please step through source/lib/sysdep/os/linux/linux.cpp's sys_get_executable_name and check what source/ps/GameSetup/Paths.cpp's Paths::Root is returning so we can find out the cause?

Unfortunately I can't help much with the libCollada problem (am developing on Windows). Do you see anything in the build log that indicates the .so wasn't actually built?

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