Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 06-01-2012, 06:59 PM   #11
surak
Legend
 
surak's Avatar
 
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
surak has a spectacular aura aboutsurak has a spectacular aura about
Default

It's quite simple

gdb ./rolauncher
r --sync
when it crashes, type 'bt' to print the call stack

(You may need to install gdb too)
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta!
surak no ha iniciado sesión   Reply With Quote
Old 06-01-2012, 07:01 PM   #12
ieti
Count
 
ieti's Avatar
 
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 1,374
ieti is on a distinguished road
Default

Here you go

Code:
ieti@loki:~/regnum$ gdb ./rolauncher
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/ieti/regnum/rolauncher...(no debugging symbols found)...done.
(gdb) r --sync
Starting program: /home/ieti/regnum/rolauncher --sync
[Thread debugging using libthread_db enabled]
[New Thread 0xb512fb70 (LWP 6339)]
[New Thread 0xb4621b70 (LWP 6340)]
[Thread 0xb4621b70 (LWP 6340) exited]
The program 'rolauncher' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 14 error_code 8 request_code 139 minor_code 2)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb512fb70 (LWP 6339)]
0xb75996ab in ?? () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb75996ab in ?? () from /lib/i686/cmov/libc.so.6
#1  0xb759ab55 in ?? () from /lib/i686/cmov/libc.so.6
#2  0xb759dcbd in free () from /lib/i686/cmov/libc.so.6
#3  0xb7899092 in ?? () from /usr/lib/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)
__________________
RA | Ignis | Lilla My | Conjurer | EVIL IGNIS ROCK
Horus | Syrtis | ieti | Conjurer | INQUISITION | LONG GONE
ieti no ha iniciado sesión   Reply With Quote
Old 06-01-2012, 07:04 PM   #13
Tigerious
Banned
 
Tigerious's Avatar
 
Join Date: Nov 2008
Location: France
Posts: 496
Tigerious is an unknown quantity at this point
Default

there is infinite loop with getpid() =)
Tigerious no ha iniciado sesión   Reply With Quote
Old 06-01-2012, 07:12 PM   #14
ieti
Count
 
ieti's Avatar
 
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 1,374
ieti is on a distinguished road
Default

Here is another

Code:
0xb781286e in XextFindDisplay () from /usr/lib/libXext.so.6
(gdb) bt
#0  0xb781286e in XextFindDisplay () from /usr/lib/libXext.so.6
#1  0xb7874496 in ?? () from /usr/lib/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
Code:
[Switching to Thread 0xb512fb70 (LWP 6488)]
0xb75996ab in ?? () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb75996ab in ?? () from /lib/i686/cmov/libc.so.6
#1  0xb759ab55 in ?? () from /lib/i686/cmov/libc.so.6
#2  0xb759dcbd in free () from /lib/i686/cmov/libc.so.6
#3  0xb7899092 in ?? () from /usr/lib/libGL.so.1
#4  0xb755d2df in ?? () from /lib/i686/cmov/libc.so.6
#5  0xb755d34f in exit () from /lib/i686/cmov/libc.so.6
#6  0xb7dfb795 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#7  0xb7448d59 in _XError () from /usr/lib/libX11.so.6
#8  0xb745084e in _XReply () from /usr/lib/libX11.so.6
#9  0x082821db in XNVCTRLQueryTargetAttribute ()
#10 0x08282363 in XNVCTRLQueryAttribute ()
#11 0x081ad3ed in CSystemInfo::ExtractOpenGLInfo() ()
#12 0x081af129 in CSystemInfo::Setup(std::ostream&) ()
#13 0x0817a631 in Client::parse_server_info() ()
#14 0x0817c745 in Client::Entry() ()
#15 0x0842e378 in wxThreadInternal::PthreadStart(wxThread*) ()
#16 0xb73f5955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#17 0xb75fa5ee in clone () from /lib/i686/cmov/libc.so.6
(gdb)
Code:
Program received signal SIGSEGV, Segmentation fault.
0xb786acfb in glXChooseVisual () from /usr/lib/libGL.so.1
(gdb) bt
#0  0xb786acfb in glXChooseVisual () from /usr/lib/libGL.so.1
#1  0x00000002 in ?? ()
Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb512fb70 (LWP 6504)]
0xb75996ab in ?? () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb75996ab in ?? () from /lib/i686/cmov/libc.so.6
#1  0xb759ab55 in ?? () from /lib/i686/cmov/libc.so.6
#2  0xb759dcbd in free () from /lib/i686/cmov/libc.so.6
#3  0xb7899092 in ?? () from /usr/lib/libGL.so.1
#4  0xb755d2df in ?? () from /lib/i686/cmov/libc.so.6
#5  0xb755d34f in exit () from /lib/i686/cmov/libc.so.6
#6  0xb7dfb795 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#7  0xb7448d59 in _XError () from /usr/lib/libX11.so.6
#8  0xb745084e in _XReply () from /usr/lib/libX11.so.6
#9  0x082821db in XNVCTRLQueryTargetAttribute ()
#10 0x08282363 in XNVCTRLQueryAttribute ()
#11 0x081ad3ed in CSystemInfo::ExtractOpenGLInfo() ()
#12 0x081af129 in CSystemInfo::Setup(std::ostream&) ()
#13 0x0817a631 in Client::parse_server_info() ()
#14 0x0817c745 in Client::Entry() ()
#15 0x0842e378 in wxThreadInternal::PthreadStart(wxThread*) ()
#16 0xb73f5955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#17 0xb75fa5ee in clone () from /lib/i686/cmov/libc.so.6
__________________
RA | Ignis | Lilla My | Conjurer | EVIL IGNIS ROCK
Horus | Syrtis | ieti | Conjurer | INQUISITION | LONG GONE
ieti no ha iniciado sesión   Reply With Quote
Old 06-01-2012, 07:16 PM   #15
surak
Legend
 
surak's Avatar
 
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
surak has a spectacular aura aboutsurak has a spectacular aura about
Default

Looks like some memory corruption...

Do you have the command lsb_release available?
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta!
surak no ha iniciado sesión   Reply With Quote
Old 06-01-2012, 07:19 PM   #16
ieti
Count
 
ieti's Avatar
 
Join Date: Oct 2008
Location: Sofia, Bulgaria
Posts: 1,374
ieti is on a distinguished road
Default

Uh i feel damn pt in linux. Gimme a windows program.

ieti@loki:~/regnum$ lsb_release
No LSB modules are available.

Have no idea what to do with it.

Code:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb512fb70 (LWP 6589)]
0xb75996ab in ?? () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0  0xb75996ab in ?? () from /lib/i686/cmov/libc.so.6
#1  0xb759ab55 in ?? () from /lib/i686/cmov/libc.so.6
#2  0xb759dcbd in free () from /lib/i686/cmov/libc.so.6
#3  0xb7899092 in ?? () from /usr/lib/libGL.so.1
#4  0xb755d2df in ?? () from /lib/i686/cmov/libc.so.6
#5  0xb755d34f in exit () from /lib/i686/cmov/libc.so.6
#6  0xb7dfb795 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#7  0xb7448d59 in _XError () from /usr/lib/libX11.so.6
#8  0xb745084e in _XReply () from /usr/lib/libX11.so.6
#9  0x082821db in XNVCTRLQueryTargetAttribute ()
#10 0x08282363 in XNVCTRLQueryAttribute ()
#11 0x081ad3ed in CSystemInfo::ExtractOpenGLInfo() ()
#12 0x081af129 in CSystemInfo::Setup(std::ostream&) ()
#13 0x0817a631 in Client::parse_server_info() ()
#14 0x0817c745 in Client::Entry() ()
#15 0x0842e378 in wxThreadInternal::PthreadStart(wxThread*) ()
#16 0xb73f5955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#17 0xb75fa5ee in clone () from /lib/i686/cmov/libc.so.6
Code:
ieti@loki:~/regnum$ lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 6.0.5 (squeeze)
Release:	6.0.5
Codename:	squeeze
Ok installed lsb package

Code:
ieti@loki:~/regnum$ lsb_release -a
LSB Version:	core-2.0-ia32:core-2.0-noarch:core-3.0-ia32:core-3.0-noarch:core-3.1-ia32:core-3.1-noarch:core-3.2-ia32:core-3.2-noarch:cxx-3.0-ia32:cxx-3.0-noarch:cxx-3.1-ia32:cxx-3.1-noarch:cxx-3.2-ia32:cxx-3.2-noarch:desktop-3.1-ia32:desktop-3.1-noarch:desktop-3.2-ia32:desktop-3.2-noarch:graphics-2.0-ia32:graphics-2.0-noarch:graphics-3.0-ia32:graphics-3.0-noarch:graphics-3.1-ia32:graphics-3.1-noarch:graphics-3.2-ia32:graphics-3.2-noarch:qt4-3.1-ia32:qt4-3.1-noarch
Distributor ID:	Debian
Description:	Debian GNU/Linux 6.0.5 (squeeze)
Release:	6.0.5
Codename:	squeeze
__________________
RA | Ignis | Lilla My | Conjurer | EVIL IGNIS ROCK
Horus | Syrtis | ieti | Conjurer | INQUISITION | LONG GONE
ieti no ha iniciado sesión   Reply With Quote
Old 06-01-2012, 07:22 PM   #17
Tigerious
Banned
 
Tigerious's Avatar
 
Join Date: Nov 2008
Location: France
Posts: 496
Tigerious is an unknown quantity at this point
Default

Strace owns :]
Tigerious no ha iniciado sesión   Reply With Quote
Old 06-01-2012, 07:40 PM   #18
surak
Legend
 
surak's Avatar
 
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
surak has a spectacular aura aboutsurak has a spectacular aura about
Default

Well, damn. I rollbacked the launcher, but you might need to download it manually from here
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta!
surak no ha iniciado sesión   Reply With Quote
Old 06-01-2012, 07:42 PM   #19
Asla-rot2
Pledge
 
Join Date: Mar 2011
Posts: 2
Asla-rot2 is on a distinguished road
Default Same error here

Same error also alfer a fresh installation.
Quote:
antonio@localhost ~/Games/regnum $ gdb ./rolauncher
GNU gdb (Gentoo 7.4.1 p1) 7.4.1
Copyright (C) 2012 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 /home/antonio/Games/regnum/rolauncher...
warning: no loadable sections found in added symbol-file /home/antonio/Games/regnum/rolauncher
(no debugging symbols found)...done.
(gdb) r --sync
Starting program: /home/antonio/Games/regnum/rolauncher --sync

(rolauncher:10256): Gtk-WARNING **: Error loading theme icon 'gtk-cancel' for stock: Errore critico nella lettura del file PNG: Incompatible libpng version in application and library
The program 'rolauncher' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
(Details: serial 14 error_code 8 request_code 137 minor_code 2)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff60cf8c9 in ?? ()
(gdb) bt
#0 0x00007ffff60cf8c9 in ?? ()
#1 0x000000000058c6aa in ?? ()
#2 0x0000000000000000 in ?? ()
(gdb)
Quote:
antonio@localhost ~/Games/regnum $ lsb_release -a
LSB Version: n/a
Distributor ID: Gentoo
Description: Gentoo Base System release 2.0.3
Release: 2.0.3
Codename: n/a
Asla-rot2 no ha iniciado sesión   Reply With Quote
Old 06-01-2012, 07:48 PM   #20
Forgeon
Pledge
 
Forgeon's Avatar
 
Join Date: May 2009
Posts: 12
Forgeon is on a distinguished road
Default

If it can help, I had it too (seen the link for manual, will try later)

Quote:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4555c58 in XQueryExtension ()
from /usr/lib/x86_64-linux-gnu/libX11.so.6
(gdb) where
#0 0x00007ffff4555c58 in XQueryExtension ()
from /usr/lib/x86_64-linux-gnu/libX11.so.6
#1 0x00007ffff4549c55 in XInitExtension ()
from /usr/lib/x86_64-linux-gnu/libX11.so.6
#2 0x00007ffff5ca702b in XextAddDisplay ()
from /usr/lib/x86_64-linux-gnu/libXext.so.6
#3 0x00007ffff5f59657 in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#4 0x00007ffff5f2644e in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#5 0x00007ffff5f28f0a in ?? () from /usr/lib/nvidia-current-updates/libGL.so.1
#6 0x00007ffff5f1c3a1 in glXCreateContext ()
from /usr/lib/nvidia-current-updates/libGL.so.1
#7 0x000000000058c656 in CSystemInfo::ExtractOpenGLInfo() ()
#8 0x000000000058d214 in CSystemInfo::Setup(std:: ostream&) ()
#9 0x000000000058d7f4 in CSystemInfo::Setup(wxString const&) ()
#10 0x00000000005988aa in Options::Options(wxWindow*, wxPoint const&, wxSize const&) ()
#11 0x000000000057390d in Launcher::Launcher(wxString const&, wxPoint const&, long, wxString const&) ()
#12 0x00000000005756a4 in LauncherApp::OnInit() ()
#13 0x000000000057ec2d in wxAppConsole::CallOnInit() ()
#14 0x00000000006e7490 in wxEntry(int&, wchar_t**) ()
#15 0x000000000056b832 in main ()
Quote:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise
Forgeon no ha iniciado sesión   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:40 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved