Duke4.net Forums: Ubuntu-I can only run eduke32 with sudo command - Duke4.net Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Ubuntu-I can only run eduke32 with sudo command

User is offline   lcharles 

#1

In Kubuntu 11.04 I added the repositories for eduke32 to KPackageKIt and installed eduke32. If I try ./eduke32 I get the error "Segmentation fault". If I try to run eduke32 from the menu with a konsole open I get the error "Warning:Program eduk32 crashed. If I run sudo eduke32 it starts fine. Ubuntu installed it in /usr/games/eduke32. I tried moving the executable to /usr/local/bin and got the same result. Changing the permissions on eduke32 doesn't work either. Anyone know a fix or a way to get around this?

Thanks,

lcharles
0

User is offline   bioman 

#2

Hi,

Can you test with the last update and see if it occurs again ?
0

User is offline   lcharles 

#3

View Postbioman, on 30 May 2011 - 11:38 PM, said:

Hi,

Can you test with the last update and see if it occurs again ?

0

User is offline   lcharles 

#4

This is the output of apt-cache policy eduke32.

$ apt-cache policy eduke32
eduke32:
Installed: 2.0.0devel.20110529.r1900-1
Candidate: 2.0.0devel.20110529.r1900-1
Version table:
*** 2.0.0devel.20110529.r1900-1 0
500 http://apt.duke4.net/ natty/main i386 Packages
100 /var/lib/dpkg/status
2.0.0devel.20110425.r1872-1 0
500 http://apt.duke4.net/ natty/main i386 Packages
2.0.0devel.20110409.r1864-1 0
500 http://apt.duke4.net/ natty/main i386 Packages
2.0.0devel.20110314.r1846-1 0
500 http://apt.duke4.net/ natty/main i386 Packages
2.0.0devel.20110308.r1836-1 0
500 http://apt.duke4.net/ natty/main i386 Packages
2.0.0devel.20110131.r1786-1 0
500 http://apt.duke4.net/ natty/main i386 Packages


Is this late enough or are you suggesting I compile a newer version from source?
0

User is offline   bioman 

#5

Yes, you have the last revision but better you compile from source with RELEASE=0, to get more informations about the crash.
Or you can rebuild the package like this:

Make sure you have added the 'deb-src' line in your sources.list file.
sudo apt-get install build-essential gdb
sudo apt-get build-dep eduke32
DEB_BUILD_OPTIONS="nostrip noopt" apt-get -b source eduke32
It will builds the packages, then install it :
sudo dpkg -i eduke32*.deb

Once installed run eduke32 with GDB:
gdb eduke32
At the prompt type 'r' and press enter.
When the crash occurs type 'bt' and report the output.
To leave the GDB prompt type 'quit'.
0

User is offline   lcharles 

#6

OK, here it is:

Starting program: /usr/games/eduke32
[Thread debugging using libthread_db enabled]
[New Thread 0xb6b6ab70 (LWP 14170)]
[New Thread 0xb61ffb70 (LWP 14171)]

Program received signal SIGSEGV, Segmentation fault.
0xb78736ff in ?? () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) bt
#0 0xb78736ff in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#1 0xb717e088 in g_cclosure_marshal_VOID__OBJECT () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#2 0xb715fcc7 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#3 0xb7161372 in g_closure_invoke () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#4 0xb71737b6 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#5 0xb717cb29 in g_signal_emit_valist () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#6 0xb717ccc2 in g_signal_emit () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#7 0xb78e76a1 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#8 0xb78e77e3 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#9 0xb78e788f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#10 0xb76e20fd in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#11 0xb7818cfd in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#12 0xb771f664 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#13 0xb78e787a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#14 0xb77cf73c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb771f664 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#16 0xb78e787a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0xb76e4f75 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb771f664 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb78e787a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb76e4f75 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#21 0xb771f664 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb78e787a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0xb76e20fd in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#24 0xb771f664 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#25 0xb78e787a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#26 0xb78e7920 in gtk_widget_reset_rc_styles () from /usr/lib/libgtk-x11-2.0.so.0
#27 0xb77fb702 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb77fda41 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb7838a58 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb7838b70 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#31 0xb7186a85 in g_type_create_instance () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#32 0xb7163675 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#33 0xb7166ce7 in g_object_newv () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#34 0xb7167a40 in g_object_new () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#35 0xb6c1bb03 in Oxygen::RCStyle::createStyle(_GtkRcStyle*) () from /usr/lib/gtk-2.0/2.10.0/engines/liboxygen-gtk.so
#36 0xb77fcf9e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#37 0xb7801d05 in gtk_rc_get_style () from /usr/lib/libgtk-x11-2.0.so.0
#38 0xb78e7808 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#39 0xb78773ca in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#40 0xb78774fe in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#41 0xb787775c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---


I hope that's enough!

Thanks,

lcharles
0

User is offline   bioman 

#7

Tested under Kubuntu 11.04 32-bit and no problems here.

Please try to move your .eduke32 folder:
mv $HOME/.eduke32 $HOME/.eduke32_back


And what happens when you launch another GTK+ app like Gimp ?
0

User is offline   lcharles 

#8

View Postbioman, on 02 June 2011 - 01:30 AM, said:

Tested under Kubuntu 11.04 32-bit and no problems here.

Please try to move your .eduke32 folder:
mv $HOME/.eduke32 $HOME/.eduke32_back


And what happens when you launch another GTK+ app like Gimp ?

0

User is offline   lcharles 

#9

Moving ./eduke32 did not make any obvious difference. However Gimp has the same problem as eduke32, i.e. I have to run it with sudo.

By the way my $HOME partition is encrypted. Should that make a difference?

Thanks,

lcharles
0

User is offline   bioman 

#10

Possible, this could be due to the fact that GTK+ can acess root's home and not yours or some config files that break GTK startup.
Try to move yours .gconf, .gnome, .gnome2, .local folders and clean .cache.
0

User is offline   lcharles 

#11

View Postbioman, on 02 June 2011 - 03:21 PM, said:

Possible, this could be due to the fact that GTK+ can acess root's home and not yours or some config files that break GTK startup.
Try to move yours .gconf, .gnome, .gnome2, .local folders and clean .cache.

0

User is offline   lcharles 

#12

I tried each of those suggestions and it didn't seem to change the problematic behavior at all.
0

User is offline   Plagman 

  • Former VP of Media Operations

#13

This really sounds like you're having a specific issue with GTK, have you tried their support channels at all?
0

User is offline   lcharles 

#14

It doesn't sound like a bad suggestion. However I'm not a particularly knowledgeable Linux user. Do you have a forum that you would recommend? Is there a specific way I should state the problem to make it clear?

Thanks,

lcharles
0

User is offline   Helixhorned 

  • EDuke32 Developer

#15

When all else fails, you could just compile with WITHOUT_GTK=1.
0

User is offline   lcharles 

#16

Well, I did try that. It seemed to compile OK, but when I run the executable now I get an error message:

"can't load TABLES.DAT"

Does anyone have any more ideas?

Thanks.
0

#17

I have the same problem and I think i know what problem is.

The problem is what said Plagman, a problem with Oxygen Theme in KDE 4.6, with some programs using GTK like Gimp, Geany or eDuke32

Info here:

http://www.kubuntu-e...an-kubuntu-1104 (Sorry, in Spanish)

https://bugs.launchp...imp/+bug/742516

https://bugs.launchp...any/+bug/741658

With GIMP, only have to execute "Gimp -i" from console (Gimp without interface) once time and it isn't ocurrs anymore. I don't know if with eDuke32 has a workaround.

Edit: You can change in System Preferences -> Aplications Appareance -> GTK+ Appareance and switch "oxygen-gtk" to other in widget style (If you want, before install "oxygen-molecule" package, it's a very close appareance to "oxygen-gtk") and it works.

This post has been edited by Lukas ThyWalls: 19 June 2011 - 05:21 PM

0

User is offline   lcharles 

#18

@Lukas ThyWalls

That worked! Thanks so much.

lacharles
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


All copyrights and trademarks not owned by Voidpoint, LLC are the sole property of their respective owners. Play Ion Fury! ;) © Voidpoint, LLC

Enter your sign in name and password


Sign in options