• Register

The group for gamers dedicated to Linux. No matter if game developers or game players all are welcome interested in Linux as a gaming platform.

Forum Thread
  Posts  
Illegal Instruction Crash (Groups : Linux Gamers : Forum : Desura linux client : Illegal Instruction Crash) Locked
Thread Options
Sep 27 2011 Anchor

I'm trying to install the Linux client in Xubuntu (32 bit), but it quickly crashes with:

robert@hotblack:~$ ./desura
Illegal instruction

A Desura splash screen saying its updating quickly flashes before it dies. The installer does create its desura folder in my home directory which has a bin folder and the desura binary, but running this also produces the illegal instruction error. Any ideas? Is there a log file somewhere that might provide more information as to what went wrong?

Sep 28 2011 Anchor

I get the same thing with the updating screen quickly flashing and not all of the desura folder and it's items being created. This though is only happening on my Xubuntu Acer Aspire 1690 laptop where as on my Xubuntu tower had no problems at all. I pretty much figured it has something to do with my laptop being all Intel chipset where my main tower is Nvidia chipset on the motherboard with an ATI graphics card.

Sep 29 2011 Anchor

Thats a good point. I'm having this issue on my old Thinkpad X41 with Intel video. My desktop (running 64 bit Xubuntu) has an geforce 460 and doesn't have any problems. I wonder if it's only older Intel chipsets that will have a problem...

Oct 2 2011 Anchor

I figure Intel being the cause only because many people keep saying how Intel stuff sucks in Linux. Not being a Linux guru though I have no idea what commands I could run to help track down the actual cause.

Oct 5 2011 Anchor

Hello everybody,

I tried to install the Desura Linux client on 3 pc:

  • the first one has a AMD Athlon64 monocore CPU with a Nvidia graphic card. The 64bits version of the client installs and runs very well.
  • the second one has a Celeron M monocore CPU with an i915 GPU. The 32bits version of the client both fails to install and to run.
  • the last one has an Atom N270 monocore CPU with an i945 GPU. The 32bits version of the client installs and runs very well.

All my computers are running GNU/Linux Fedora 15.
So, I think that the "Illegal instruction" error is related to available CPU and/or FPU instructions. Here is the difference between the Celeron M and the Atom N270 (obtained with "cat /proc/cpuinfo"):

  • Celeron M at 1.5Ghz: "flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts"
  • Atom N270 at 1.66Ghz: "flags: fpu vme de tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm dts"

It seems that despites the package is marked as i686, the client uses more recent instructions that an early Atom can handle and not an old-generation Celeron M. I don't know what parameters were used to compile, but restrict the code generation to i686+MMX or i686+SSE (1st generation) may solve the problem.

Sorry if I made English mistakes.
Regards to everybody and best hopes for a 100% functional Linux client =)

Oct 8 2011 Anchor

Hi all. I have an older nForce MB with an Athlon XP 2800 proc and an FX7800 video card. Same thing happens to me as the OP. Here's console output:

Someone wrote: ronnoc@kubuntudesktop:~/Downloads/desura-i686/desura/bin$ ./desura
Failed to check: [d]
Illegal instruction

Hope this is some help. Running Kubuntu 11.04.

Oct 9 2011 Anchor

Athlon 64 3400+
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow up extd_apicid

./desura: line 8: 4173 Illegal instruction

and dialog window with "Download and install Desura failed: The file handle was null [8.0]"

Oct 10 2011 Anchor

skarrok wrote: Athlon 64 3400+
flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow up extd_apicid

./desura: line 8: 4173 Illegal instruction

and dialog window with "Download and install Desura failed: The file handle was null [8.0]"


Hello,

My AMD 64-bit pc has (differences are in bold): "flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow up rep_good nopl extd_apicid pni cx16 lahf_lm extapic cr8_legacy"

And Desura runs fine on it.
At this point, the only difference I see between CPUs (32 and 64bits) running Desura and the others is the "lahf_lm" flag.

I hope this will help.

It seems to be the same kind of bug as it was for the Flash Player 64bit Plugin prototype.
Search for "Flash crashes firefox on x86-64" and click on the link that contains "Alien Pastures": it's very interesting.

This may help to fix ^^

*****************
I made a discovery with a modified version of the little fix available on the "Alien Pastures" website: Desura seems to crash on a FPU instruction (first opcode byte: 0xDB).
To dicover that, I added

#include  <stdio.h>

into the source code, and I modified the line with abort(); to

 {fprintf(stderr,"%X \n",(char)*(char*)info->si_addr);abort();}

And I modified occurences of RAX and RIP to EAX and EIP, because I tested it on the Celeron M (32bits) pc.
The test was made with: LD_PRELOAD=path_to_the_fix/name_of_the_fix.so ./desura
in the ~/desura/bin folder.

Oct 19 2011 Anchor

Any update on this? Blah I really want to play DoD!

Oct 20 2011 Anchor

I found a Desura client that runs very well on old hardware here: App.indiedb.com

Oct 20 2011 Anchor

Still doesn't work for me. I think Kubuntu is missing something somewhere.

Oct 21 2011 Anchor

dequire wrote: Still doesn't work for me. I think Kubuntu is missing something somewhere.


Maybe it's because your Kubuntu installation doesn't have GTK+ librairies required by Desura: the "Failed to check: [d]" error seems to be related to the lack of "gconf" which is related to GTK+.

Oct 21 2011 Anchor

el5linwin wrote: I found a Desura client that runs very well on old hardware here: App.indiedb.com


Work for me.

Oct 26 2011 Anchor

Someone wrote: Maybe it's because your Kubuntu installation doesn't have GTK+ librairies required by Desura: the "Failed to check: [d]" error seems to be related to the lack of "gconf" which is related to GTK+.


Maybe. I have "gconf2" installed, but beyond that I have no idea what additional package(s) would need installed. Is there a way to find out?

Oct 27 2011 Anchor

el5linwin wrote: I found a Desura client that runs very well on old hardware here: ~~~


Thanks so much, this worked well on my EEEPC with Ubuntu Netbook, the original client was not working at all with the same errors stated above.

Oct 29 2011 Anchor

dequire wrote:

Someone wrote: Maybe it's because your Kubuntu installation doesn't have GTK+ librairies required by Desura: the "Failed to check: [d]" error seems to be related to the lack of "gconf" which is related to GTK+.


Maybe. I have "gconf2" installed, but beyond that I have no idea what additional package(s) would need installed. Is there a way to find out?


I've seen on the AUR repository (for the ArchLinux distribution) that Desura needs: gconf gtk2 libjpeg6 libpng12 lsb-release .
I hope this may help you.

xf
xf
Nov 2 2011 Anchor

my solution was deflete desura stuff and reinstall it.
I think it was only a settings file, bt this works

-> remove package and reinstall

if it wont work
-> updatedb
-> locate desura
### every you really want all this files and folders gone?
-> locate desura | xargs rm -r
# some people need maybe more rights like sudo or need -f for force remove

no guarantee or liability

Jan 26 2012 Anchor

With the source code of the client now available. If you need to compile a custom version of the client you can.

Reply to thread
click to sign in and post

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.