Darwinia exits with status "Aborted" | Gentoo amd6

Problems with the Linux version of Darwinia

Moderators: bert_the_turtle, jelco, Chris, andy, John

rabdulatipoff
level0
Posts: 6
Joined: Mon Aug 06, 2012 1:17 pm

Darwinia exits with status "Aborted" | Gentoo amd6

Postby rabdulatipoff » Mon Aug 06, 2012 1:32 pm

I've installed Darwinia via portage (USE="cdinstall" emerge darwinia), installation was succesful. However, there is a problem which seems not to be related to any of the problems I could read on this forum. So that's what I've done:
1. Installed and launched:

Code: Select all

rustam@gentoo-pc ~/Dropbox/Public/sources/raw-tools $ darwinia
/opt/darwinia
/opt/darwinia/lib/darwinia.bin.x86: /usr/lib32/libstdc++.so.5: no version information available (required by /opt/darwinia/lib/darwinia.bin.x86)
/opt/darwinia/lib/darwinia.bin.x86: /usr/lib32/libstdc++.so.5: no version information available (required by /opt/darwinia/lib/darwinia.bin.x86)
SDL Version: Compiled against 1.2.9, running with 1.2.15
/opt/darwinia/darwinia: line 39:  4024 Aborted                 $here/lib/darwinia.bin.x86

rustam@gentoo-pc ~/Dropbox/Public/sources/raw-tools $ gdb /opt/darwinia/lib/darwinia.bin.x86
GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 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 "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /opt/darwinia/lib/darwinia.bin.x86...(no debugging symbols found)...done.
(gdb) run
Starting program: /opt/darwinia/lib/darwinia.bin.x86
/opt/darwinia/lib/darwinia.bin.x86: /usr/lib32/libstdc++.so.5: no version information available (required by /opt/darwinia/lib/darwinia.bin.x86)
/opt/darwinia/lib/darwinia.bin.x86: /usr/lib32/libstdc++.so.5: no version information available (required by /opt/darwinia/lib/darwinia.bin.x86)
[Thread debugging using libthread_db enabled]
SDL Version: Compiled against 1.2.9, running with 1.2.15

Program received signal SIGABRT, Aborted.
0xf7fde430 in __kernel_vsyscall ()
(gdb) backtrace
#0  0xf7fde430 in __kernel_vsyscall ()
#1  0xf7c53391 in raise () from /lib32/libc.so.6
#2  0xf7c54b6e in abort () from /lib32/libc.so.6
#3  0xf7e64017 in __cxxabiv1::__terminate(void (*)()) () from /usr/lib32/libstdc++.so.5
#4  0xf7e64054 in std::terminate() () from /usr/lib32/libstdc++.so.5
#5  0xf7e64216 in __cxa_throw () from /usr/lib32/libstdc++.so.5
#6  0xf7e18f80 in std::__throw_length_error(char const*) ()
   from /usr/lib32/libstdc++.so.5
#7  0xf7e570e0 in std::string::_Rep::_S_create(unsigned int, std::allocator<char> const&)
    () from /usr/lib32/libstdc++.so.5
#8  0xf7e57efe in char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) () from /usr/lib32/libstdc++.so.5
#9  0xf7e542c7 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, unsigned int, std::allocator<char> const&) ()
   from /usr/lib32/libstdc++.so.5
#10 0xf4a49473 in llvm::JIT::selectTarget(llvm::Module*, llvm::StringRef, llvm::StringRef, llvm::SmallVectorImpl<std::string> const&, std::string*) ()
   from /usr/lib32/dri/nouveau_dri.so
#11 0xf4a395ba in llvm::JIT::createJIT(llvm::Module*, std::string*, llvm::JITMemoryManager*, llvm::CodeGenOpt::Level, bool, llvm::CodeModel::Model, llvm::StringRef, llvm::StringRef, llvm::SmallVectorImpl<std::string> const&) () from /usr/lib32/dri/nouveau_dri.so
#12 0xf4a503e0 in llvm::EngineBuilder::create() () from /usr/lib32/dri/nouveau_dri.so
#13 0xf4a5e1c5 in LLVMCreateJITCompilerForModule () from /usr/lib32/dri/nouveau_dri.so
#14 0xf4a5e412 in LLVMCreateJITCompiler () from /usr/lib32/dri/nouveau_dri.so
#15 0xf4a05d98 in ?? () from /usr/lib32/dri/nouveau_dri.so
#16 0xf4a05eb3 in ?? () from /usr/lib32/dri/nouveau_dri.so
#17 0xf49a6abd in ?? () from /usr/lib32/dri/nouveau_dri.so
#18 0xf49a6af9 in ?? () from /usr/lib32/dri/nouveau_dri.so
#19 0xf47dbc5d in ?? () from /usr/lib32/dri/nouveau_dri.so
#20 0xf48220fd in ?? () from /usr/lib32/dri/nouveau_dri.so
#21 0xf47a1c5e in ?? () from /usr/lib32/dri/nouveau_dri.so
#22 0xf47a10b2 in ?? () from /usr/lib32/dri/nouveau_dri.so
#23 0xf479d513 in ?? () from /usr/lib32/dri/nouveau_dri.so
---Type <return> to continue, or q <return> to quit---
#24 0xf479d56e in ?? () from /usr/lib32/dri/nouveau_dri.so
#25 0xf7f3f546 in ?? () from /usr/lib32/libGL.so.1
#26 0xf7f16b1a in ?? () from /usr/lib32/libGL.so.1
#27 0xf7f1771c in glXCreateContext () from /usr/lib32/libGL.so.1
#28 0xf7f9721c in ?? () from /usr/lib32/libSDL-1.2.so.0
#29 0xf7f9d62d in ?? () from /usr/lib32/libSDL-1.2.so.0
#30 0xf7f9d82c in ?? () from /usr/lib32/libSDL-1.2.so.0
#31 0xf7f89234 in SDL_SetVideoMode () from /usr/lib32/libSDL-1.2.so.0
#32 0x080a9284 in ?? ()
#33 0x080c32c5 in ?? ()
#34 0x0804d721 in ?? ()
#35 0x080bd9dc in ?? ()
#36 0x080bdb8f in ?? ()
#37 0x080a9631 in ?? ()
#38 0xf7c3f3c6 in __libc_start_main () from /lib32/libc.so.6
#39 0x0804cbc1 in ?? ()
Backtrace stopped: Not enough registers or memory available to unwind further

I am using gentoo with pentium e2180 (amd64) processor and nvidia card
Perhaps it is related to nouveau driver, somehow I managed to launch the game once, but it doesn't work anymore
User avatar
bert_the_turtle
level5
level5
Posts: 4797
Joined: Fri Oct 13, 2006 6:11 pm
Location: Cologne
Contact:

Re: Darwinia exits with status "Aborted" | Gentoo

Postby bert_the_turtle » Mon Aug 06, 2012 10:38 pm

rabdulatipoff wrote:Perhaps it is related to nouveau driver
The callstack certainly hints very strongly at that; sad fact of the matter is that the OS driver is not nearly as functional as the closed source binary blob.
rabdulatipoff
level0
Posts: 6
Joined: Mon Aug 06, 2012 1:17 pm

Re: Darwinia exits with status "Aborted" | Gentoo

Postby rabdulatipoff » Tue Aug 07, 2012 8:06 am

bert_the_turtle wrote:OS driver is not nearly as functional as the closed source binary blob.

It seems like Linux developer hardcoded some function calls using binary drivers.
But nouveau is not so "incomplete" as you may think, it allows me to play Quake 3 with 45-60 fps
Also my SDL 3D renderer works too
Last edited by rabdulatipoff on Tue Aug 07, 2012 8:51 am, edited 1 time in total.
rabdulatipoff
level0
Posts: 6
Joined: Mon Aug 06, 2012 1:17 pm

Further info

Postby rabdulatipoff » Tue Aug 07, 2012 8:22 am

Examined executable with ltrace:
http://www64.zippyshare.com/v/4548650/file.html
It is TOO huge to upload to pastebin... (~30mb)

blackbox.txt:

Code: Select all

=========================
DARWINIA BLACK BOX REPORT
=========================

VERSION : linux-full-1.4.0b9
ERROR   : 'Got a fatal signal: 11
'

=========================
====== STACKTRACE =======
=========================

retAddress = 0x817e6ac
retAddress = 0x8184108
retAddress = 0x818da5f
retAddress = 0x818cbfb
retAddress = 0x817db6d
retAddress = 0x817c97e
retAddress = 0x817c536
retAddress = 0x818f6cb
retAddress = 0x809cba7
retAddress = 0x804d6c0
retAddress = 0x80bd9dc
retAddress = 0x80bdb8f
retAddress = 0x80a9631
retAddress = 0xf73523c6
retAddress = 0x804cbc1


gdb stack trace:

GNU gdb (Gentoo 7.3.1 p2) 7.3.1
Copyright (C) 2011 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 "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>.
(gdb) Reading symbols from /opt/darwinia/lib/darwinia.bin.x86...(no debugging symbols found)...done.
(gdb) Attaching to program: /opt/darwinia/lib/darwinia.bin.x86, process 12943
(gdb) No threads.
(gdb) (gdb)
rabdulatipoff
level0
Posts: 6
Joined: Mon Aug 06, 2012 1:17 pm

Postby rabdulatipoff » Tue Aug 07, 2012 8:50 am

Message for developers: please, make it work with open-source nouveau driver! Defcon and Uplink are working 100%, but not Darwinia (I think this problem is related to renderer)
User avatar
xander
level5
level5
Posts: 16866
Joined: Thu Oct 21, 2004 11:41 pm
Location: Riverside, CA, USA
Contact:

Postby xander » Tue Aug 07, 2012 2:13 pm

First off, rabdulatipoff, double (or triple) posting is considered rude. This forum has an edit button. Rather than create a new post every time you have a new idea, please try to use the edit button.

rabdulatipoff wrote:Message for developers: please, make it work with open-source nouveau driver! Defcon and Uplink are working 100%, but not Darwinia (I think this problem is related to renderer)

IV (the only developer that there has ever been for the Linux and Windows versions of Darwinia) are pretty much done with Darwinia. Demanding that they release an update to work with a particular open source driver is unlikely to change anything. The only chance that you have is to buy the source code yourself and fix the problem (or hope that someone else does). Otherwise, certain things not working (e.g. Darwinia) is the price that you pay for insisting on open source drivers.

xander
rabdulatipoff
level0
Posts: 6
Joined: Mon Aug 06, 2012 1:17 pm

Postby rabdulatipoff » Tue Aug 07, 2012 3:20 pm

xander wrote:First off, rabdulatipoff, double (or triple) posting is considered rude. This forum has an edit button. Rather than create a new post every time you have a new idea, please try to use the edit button.

rabdulatipoff wrote:Message for developers: please, make it work with open-source nouveau driver! Defcon and Uplink are working 100%, but not Darwinia (I think this problem is related to renderer)

IV (the only developer that there has ever been for the Linux and Windows versions of Darwinia) are pretty much done with Darwinia. Demanding that they release an update to work with a particular open source driver is unlikely to change anything. The only chance that you have is to buy the source code yourself and fix the problem (or hope that someone else does). Otherwise, certain things not working (e.g. Darwinia) is the price that you pay for insisting on open source drivers.

xander

Ok, understood
Does it (source code) include renderer and other system-related stuff?
I'm asking this because I heard that some parts of code I can buy are cut
User avatar
prophile
level5
level5
Posts: 1541
Joined: Fri Feb 18, 2005 4:17 pm
Location: Southampton, UK
Contact:

Postby prophile » Wed Aug 08, 2012 7:31 am

The actual answer is for Gallium not to use a ridiculously outdated version of LLVM but that's not a trivial fix.
rabdulatipoff
level0
Posts: 6
Joined: Mon Aug 06, 2012 1:17 pm

Postby rabdulatipoff » Wed Aug 08, 2012 9:07 am

prophile wrote:The actual answer is for Gallium not to use a ridiculously outdated version of LLVM but that's not a trivial fix.

You mean we have to update llvm code or to patch gallium3d?

Return to “Linux Issues”

Who is online

Users browsing this forum: No registered users and 1 guest