Jump to content

eyecreate

Community Members
  • Posts

    6
  • Joined

  • Last visited

eyecreate's Achievements

Tiro

Tiro (1/14)

0

Reputation

  1. What about using this? http://www.sirikata.com/blog/?p=115 http://github.com/sirikata/berkelium This is a open-source clone of Awesomium that works on windows and linux. (not sure about osx)
  2. alright! it doesn't seg fault on start. what isn't good is that the game asks to attach a debugger when loading a game(I tried single player). A thirty line backtrace follows. Attaching to process 9802 (gdb)bt #0 0x00007f41cb7e5d21 in nanosleep () from /lib/libc.so.6 #1 0x00007f41cb7e5b47 in __sleep (seconds=<value optimized out>) at ../sysdeps/unix/sysv/linux/sleep.c:138 #2 0x00000000008bb015 in udbg_launch_debugger () at ../../../source/lib/sysdep/os/unix/udbg.cpp:85 #3 0x00000000008bad61 in sys_display_error (text=0x7f41b927a000, flags=6) at ../../../source/lib/sysdep/os/unix/unix.cpp:66 #4 0x0000000000888785 in CallDisplayError (text=0x7f41b927a000, flags=6) at ../../../source/lib/debug.cpp:365 #5 0x0000000000888faf in debug_DisplayError (description=0x4c5c410, flags=6, context=0x0, lastFuncToSkip=0x90b1f0 "debug_OnAssertionFailure", pathname=0x912038 "../../../source/lib/allocators/headerless.cpp", line=333, func=0x912451 "Validate", suppress=0xc6d162 "") at ../../../source/lib/debug.cpp:440 #6 0x0000000000889096 in debug_OnAssertionFailure (expr=0x912128 "((m_bitmap & Bit<u32>(i)) == 0) == m_rangeLists[i].IsEmpty()", suppress=0xc6d162 "", file=0x912038 "../../../source/lib/allocators/headerless.cpp", line=333, func=0x912451 "Validate") at ../../../source/lib/debug.cpp:515 #7 0x00000000008caab4 in SegregatedRangeLists::Validate (this=0x2a9c380, id=287215215) at ../../../source/lib/allocators/headerless.cpp:333 #8 0x00000000008cb6d9 in HeaderlessAllocator::Impl::Validate (this=0x2a9c340) at ../../../source/lib/allocators/headerless.cpp:659 #9 0x00000000008cb8c4 in HeaderlessAllocator::Impl::Deallocate (this=0x2a9c340, p=0x7f41c4c77000 "", size=2097152) at ../../../source/lib/allocators/headerless.cpp:652 #10 0x00000000008c9fe1 in HeaderlessAllocator::Deallocate (this=0x2a9c170, p=0x7f41c4c77000, size=2097152) at ../../../source/lib/allocators/headerless.cpp:752 #11 0x00000000008c5596 in Allocator::Deallocate (this=0x2a9c170, mem=0x7f41c4c77000 "", size=1955683) at ../../../source/lib/file/vfs/file_cache.cpp:120 #12 0x00000000008c1bee in FileCacheDeleter::operator() (this=0x362fae8, mem=0x7f41c4c77000 "") at ../../../source/lib/file/vfs/file_cache.cpp:136 #13 0x00000000008c5953 in boost::detail::sp_counted_impl_pd<unsigned char*, FileCacheDeleter>::dispose (this=0x362fad0) at /usr/include/boost/detail/sp_counted_impl.hpp:144 #14 0x00000000005b631c in boost::detail::sp_counted_base::release (this=0x362fad0) at /usr/include/boost/detail/sp_counted_base_gcc_x86.hpp:145 #15 0x00000000005b634c in ~shared_count (this=0x7fffd73fedb8) at /usr/include/boost/detail/shared_count.hpp:204 #16 0x000000000060fa57 in ~shared_ptr (this=0x7fffd73fedb0) at /usr/include/boost/shared_ptr.hpp:148 #17 0x00000000008c58f7 in FileCache::Impl::Reserve (this=0x2a9c2e0, size=231378) at ../../../source/lib/file/vfs/file_cache.cpp:180 #18 0x00000000008c1c27 in FileCache::Reserve (this=0x2a9c240, size=231378) at ../../../source/lib/file/vfs/file_cache.cpp:228 #19 0x000000000089b98c in VFS::LoadFile (this=0x2a9c230, pathname=@0x7fffd73ff160, fileContents=@0x7fffd73fefc0, size=@0x7fffd73fefd0) at ../../../source/lib/file/vfs/vfs.cpp:124 #20 0x0000000000632ba3 in CVFSFile::Load (this=0x7fffd73fefc0, filename=@0x7fffd73ff160) at ../../../source/ps/Filesystem.cpp:57 #21 0x0000000000667bf5 in CXeromyces::Load (this=0x4c64730, filename=@0x7fffd73ff160) at ../../../source/ps/XML/Xeromyces.cpp:151 #22 0x000000000075a13a in CXMLReader::Init (this=0x4c64730, xml_filename=@0x384afb8) at ../../../source/graphics/MapReader.cpp:315 #23 0x000000000075f546 in CXMLReader (this=0x4c64730, xml_filename=@0x384afb8, mapReader=@0x384ae90) at ../../../source/graphics/MapReader.cpp:266 #24 0x000000000075a4b1 in CMapReader::ReadXML (this=0x384ae90) at ../../../source/graphics/MapReader.cpp:1030 #25 0x00000000007530ba in MemFunThunk<CMapReader> (param=0x384b070) at ../../../source/ps/LoaderThunks.h:57 #26 0x0000000000622d90 in LDR_ProgressiveLoad (time_budget=0.01, description=0x7fffd73ff310, max_chars=100, #27 0x00000000005b56bf in ProgressiveLoad () at ../../../source/main.cpp:150 #28 0x00000000005b5aa7 in Frame () at ../../../source/main.cpp:247 #29 0x00000000005b60f5 in RunGameOrAtlas (argc=1, argv=0x7fffd73ff6e8) at ../../../source/main.cpp:401 #30 0x00000000005b6184 in main (argc=1, argv=0x7fffd73ff6e8) at ../../../source/main.cpp:414
  3. The error statement is being found: amd64_abi.inc:7: %error: make[1]: *** [obj/lowlevel_Debug/amd64_asm.o] Error 1 make: *** [lowlevel] Error 2
  4. I'm almost there. I now get a binary for pyrogenesis_dbg, but it seg faults. it's probably because of this error, which is the only one I can find left in the build log. ==== Building test ==== precompiled.cpp In file included from ../../../libraries/cxxtest/include/cxxtest/StdValueTraits.h:10, from ../../../source/lib/self_test.h:189, from ../../../source/pch/test/precompiled.h:24, from ../../../source/pch/test/precompiled.cpp:25: ../../../libraries/cxxtest/include/cxxtest/ValueTraits.h:281: error: redefinition of ‘class CxxTest::ValueTraits<long unsigned int>’ ../../../libraries/cxxtest/include/cxxtest/ValueTraits.h:266: error: previous definition of ‘class CxxTest::ValueTraits<long unsigned int>’ coldlg.cpp treeid.cpp Linking pyrogenesis menu.cpp menuitem.cpp make[1]: *** [obj/test_Debug/precompiled.h.gch] Error 1 make: *** [test] Error 2 make: *** Waiting for unfinished jobs.... EDIT: i forgot to do a backtrace. Here is the backtrace on the binary I got. This GDB was configured as "x86_64-linux-gnu"... (gdb) run Starting program: /home/eyecreate/0ad/binaries/system/pyrogenesis_dbg [Thread debugging using libthread_db enabled] [New Thread 0x7fabe7915740 (LWP 14533)] Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fabe7915740 (LWP 14533)] 0x00000000008b42b3 in amd64_CAS () (gdb) bt #0 0x00000000008b42b3 in amd64_CAS () #1 0x00000000008b4237 in cpu_CAS (location=0xc667c0, expected=0, newValue=1) at ../../../source/lib/sysdep/arch/amd64/amd64.cpp:63 #2 0x00000000008bbdb6 in ModuleShouldInitialize (pInitState=0xc667c0) at ../../../source/lib/module_init.cpp:44 #3 0x000000000089c5d1 in h_mgr_init () at ../../../source/lib/res/h_mgr.cpp:806 #4 0x000000000065a59c in Init (args=@0x7fffefa58bd0, flags=0) at ../../../source/ps/GameSetup/GameSetup.cpp:875 #5 0x00000000005b60e9 in RunGameOrAtlas (argc=1, argv=0x7fffefa58d18) at ../../../source/main.cpp:398 #6 0x00000000005b6184 in main (argc=1, argv=0x7fffefa58d18) at ../../../source/main.cpp:414
  5. forcing arch=amd64 makes most of it compile fine after "svn up". My HOSTTYPE return "x86_64" like expected, which makes me wonder why it wouldn't see it. The only problem left is a new error that popped up. amd64_asm.asm ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:14: error: elf output format does not support 64-bit code ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:22: error: invalid operands in non-64-bit mode ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:23: error: impossible combination of address sizes ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:23: error: invalid effective address ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:24: error: impossible combination of address sizes ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:24: error: invalid effective address ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:26: error: impossible combination of address sizes ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:26: error: invalid effective address ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:27: error: impossible combination of address sizes ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:27: error: invalid effective address ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:28: error: impossible combination of address sizes ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:28: error: invalid effective address ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:29: error: impossible combination of address sizes ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:29: error: invalid effective address ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:39: error: invalid operands in non-64-bit mode ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:40: error: impossible combination of address sizes ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:40: error: invalid effective address ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:42: error: invalid operands in non-64-bit mode ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:48: error: impossible combination of address sizes ../../../source/lib/sysdep/arch/amd64/amd64_asm.asm:48: error: invalid effective address make[1]: *** [obj/lowlevel_Debug/amd64_asm.o] Error 1 make: *** [lowlevel] Error 2 make: *** Waiting for unfinished jobs.... ..but it got down to linking the engine now.
  6. I'm not sure if you have the makefile set to compile every arch when you compile, but I'm getting errors about compiling IA32 when IA32 is not set. This is making the build fail. ==== Building Collada ==== make[1]: `../../../binaries/system/libwxJS_dbg.a' is up to date. ==== Building test_gen ==== precompiled.cpp ia32.cpp In file included from ../../../source/lib/sysdep/arch/ia32/ia32.cpp:24: ../../../source/lib/sysdep/arch/ia32/ia32.h:26:3: error: #error "including ia32.h without ARCH_IA32=1" ==== Building AtlasUI ==== make[1]: *** [obj/lowlevel_Debug/ia32.o] Error 1 In file included from ../../../libraries/fcollada/include/FUtils/FUString.h:583, from ../../../libraries/fcollada/include/FUtils/FUtils.h:120, from ../../../libraries/fcollada/include/FCollada.h:49, from ../../../source/collada/precompiled.h:34, from ../../../source/collada/precompiled.cpp:18: ../../../libraries/fcollada/include/FUtils/FUStringBuilder.h:139: error: ‘void FUStringBuilderT<Char>::append(long unsigned int)’ cannot be overloaded ../../../libraries/fcollada/include/FUtils/FUStringBuilder.h:122: error: with ‘void FUStringBuilderT<Char>::append(uint64)’ make: *** [lowlevel] Error 2 make: *** Waiting for unfinished jobs.... Linking AtlasUI /usr/bin/ld: ../../../binaries/system/libAtlasObject_dbg.a(AtlasObjectXML.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC ../../../binaries/system/libAtlasObject_dbg.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [../../../binaries/system/libAtlasUI_dbg.so] Error 1 make: *** [AtlasUI] Error 2 make[1]: *** [obj/Collada_Debug/precompiled.h.gch] Error 1 make: *** [Collada] Error 2
×
×
  • Create New...