dsims Posted November 3, 2010 Report Share Posted November 3, 2010 Hi, this is my first post and I was having a hell of a time running the program, it actually wasn't the program, it was that I didn't ./pyrogenesis_dbg -writableRoot . Sorry, but I must have built and rebuilt this program about 15 times ( got it from svn ) before I looked in the logs and found the readme and tried it out. It really broke my confidence in my compiling abilities. LOLI didn't see that in the Wiki.Every time I would just use ./pyrogenesis_dbg it would just die withTIMER| InitVfs: 1.74825 msTIMER| InitScripting: 5.25681 msSegmentation faultI Like the nice and neat start up but a little more descriptive segmentation faults would be nice.It works nice though after the -writableRoot part. Little slow but I would think that is expected in debug mode.Specs Mandriva Linux 2010.1 GCC 4.4.3 Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted November 3, 2010 Report Share Posted November 3, 2010 It should work fine from SVN without -writableRoot. Could you try running it in a debugger to see where it's failing? ("gdb ./pyrogenesis_dbg", "r", wait for the segmentation fault, "bt full", "q") Quote Link to comment Share on other sites More sharing options...
feneur Posted November 3, 2010 Report Share Posted November 3, 2010 Moving this into the Bug reports forum Quote Link to comment Share on other sites More sharing options...
dsims Posted November 4, 2010 Author Report Share Posted November 4, 2010 (edited) I did what you said here is the output, it seams like I might have a permission issue, I compiled it as a user, following the directions. The binary is located:/home/david/Downloads/A-svn/0ad/binaries/system/pyrogenesis_dbg[david@localhost system]$ gdb ./pyrogenesis_dbgGNU gdb (GDB) 7.1-1mdv2010.1 (Mandriva Linux release 2010.1)Copyright (C) 2010 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>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 "i586-mandriva-linux-gnu".For bug reporting instructions, please see:<http://www.gnu.org/software/gdb/bugs/>...Reading symbols from /home/david/Downloads/A-svn/0ad/binaries/system/pyrogenesis_dbg...done.(gdb) rStarting program: /home/david/Downloads/A-svn/0ad/binaries/system/pyrogenesis_dbg error: cannot open Packages index using db3 - Permission denied (13)error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libenet.so.0error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libfam.so.0error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /lib/i686/librt.so.1error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /lib/libdl.so.2error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libX11.so.6error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libjpeg.so.62error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libpng12.so.0error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /lib/libz.so.1error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libopenal.so.1error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libvorbisfile.so.3error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libboost_filesystem.so.1.42.0error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libboost_system.so.1.42.0error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libSDL-1.2.so.0[Thread debugging using libthread_db enabled]error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libxml2.so.2error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libstdc++.so.6error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /lib/i686/libm.so.6error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /lib/libgcc_s.so.1error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libXext.so.6error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libxcb.so.1error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libvorbis.so.0error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libogg.so.0error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libtiff.so.3error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libImath.so.6error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libIlmImf.so.6error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libIex.so.6error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libHalf.so.6error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libIlmThread.so.6error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libdirectfb-1.4.so.0error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libggi.so.2error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libaa.so.1error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libXau.so.6error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libXdmcp.so.6error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libjbig.so.1error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libjpeg.so.8error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libfusion-1.4.so.0error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libdirect-1.4.so.0error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /lib/libncurses.so.5error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libgii.so.1error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libXxf86dga.so.1error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libgg.so.1error: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /usr/lib/libslang.so.2TIMER| InitVfs: 2.05216 msTIMER| InitScripting: 9.99675 mserror: cannot open Packages database in error: cannot open Packages database in Missing separate debug info for /lib/libnss_files.so.2[New Thread 0xb4092b70 (LWP 463)][New Thread 0xb7fd6b70 (LWP 464)]Program received signal SIGSEGV, Segmentation fault.0x0831e03e in CConfigDB::Reload (this=0x8796e18, ns=CFG_SYSTEM) at ../../../source/ps/ConfigDB.cpp:338338 if (*(lend-1) == '\r') lend--;(gdb) bt full#0 0x0831e03e in CConfigDB::Reload (this=0x8796e18, ns=CFG_SYSTEM) at ../../../source/ps/ConfigDB.cpp:338 parseOk = false value = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x85bc6bc ""}} pos = 0x0 lend = 0x0 name = {static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xbfffecc8 "(\355\377\277\376w4\b\030ny\b\001"}} buffer = {px = 0x0, pn = {pi_ = 0x879eb28}} buflen = 0 newMap = {_M_t = { _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<CStr8 const, std::vector<CParserValue, std::allocator<CParserValue> > > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<CStr8 const, std::vector<CParserValue, std::allocator<CParserValue> > > > >> = {<No data fields>}, <No data fields>}, _M_key_compare = {<std::binary_function<CStr8, CStr8, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0xbfffec38, _M_right = 0xbfffec38}, ---Type <return> to continue, or q <return> to quit---q_M_node_count = 0}Quit(gdb) Hope this helps Edited November 4, 2010 by dsims Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted November 17, 2010 Report Share Posted November 17, 2010 Thanks, that does help - looks like the problem is this code crashes when there's a 0-byte config file (probably ~/.config/0ad/config/local.cfg in this case). Fixed in r8634. Quote Link to comment Share on other sites More sharing options...
dsims Posted November 17, 2010 Author Report Share Posted November 17, 2010 awesome, I am glad I could help. If I run into any other problem I shall report back, but I am sure this was just a glitch. The time and effort for making a game like this and of this quality is greatly appreciated by the everyone. Keep up the good work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.