Jump to content

running after SVN build Mandriva Linux 2010.1


dsims
 Share

Recommended Posts

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

I didn't see that in the Wiki.

Every time I would just use ./pyrogenesis_dbg it would just die with


TIMER| InitVfs: 1.74825 ms
TIMER| InitScripting: 5.25681 ms
Segmentation fault

I 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

Link to comment
Share on other sites

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_dbg
GNU 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) r
Starting 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.0
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libfam.so.0
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /lib/i686/librt.so.1
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /lib/libdl.so.2
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libX11.so.6
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libjpeg.so.62
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/libpng12.so.0
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /lib/libz.so.1
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/libopenal.so.1
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libvorbisfile.so.3
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/libboost_filesystem.so.1.42.0
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/libboost_system.so.1.42.0
error: 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.2
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libstdc++.so.6
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /lib/i686/libm.so.6
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /lib/libgcc_s.so.1
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libXext.so.6
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libxcb.so.1
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libvorbis.so.0
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libogg.so.0
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/libtiff.so.3
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libImath.so.6
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libIlmImf.so.6
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libIex.so.6
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libHalf.so.6
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libIlmThread.so.6
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libdirectfb-1.4.so.0
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libggi.so.2
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libaa.so.1
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libXau.so.6
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libXdmcp.so.6
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libjbig.so.1
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libjpeg.so.8
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libfusion-1.4.so.0
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libdirect-1.4.so.0
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 /lib/libncurses.so.5
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libgii.so.1
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libXxf86dga.so.1
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libgg.so.1
error: cannot open Packages database in
error: cannot open Packages database in
Missing separate debug info for /usr/lib/libslang.so.2
TIMER| InitVfs: 2.05216 ms
TIMER| InitScripting: 9.99675 ms
error: 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:338
338 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 by dsims
Link to comment
Share on other sites

  • 2 weeks later...

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.

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