problem with linux binary

Bug reports and discussion about bugs.

problem with linux binary

Postby tokariew » Thu Jun 24, 2010 11:02 am

when i try run tomenet on linux from file in dolphin manager it's open windows and after few second close it, but when i compile from source in the main windows is error: #yERROR in lua_call while calling 'meta_display' from call_lua. Things should st...........
I don't have rest part of error becouse i can't maximize windows or resize it.
This error on Kde4.4 on 64-bit Fedora 13
tokariew
 
Posts: 17
Joined: Thu May 13, 2010 8:20 pm

Re: problem with linux binary

Postby mikaelh » Thu Jun 24, 2010 9:55 pm

The binaries appear to be crashing on Fedora. This is happening both on i686 and x86_64. I'm not what the exact cause is, but it seems to have something to do with pulseaudio.

Your second problem is caused by wrong working directory. The working directory has to be the root directory for the TomeNET client. Usually it's something like /home/user/tomenet if the binary is installed at /home/user/tomenet/tomenet.
mikaelh
Developer
 
Posts: 82
Joined: Sun Dec 13, 2009 3:18 pm

Re: problem with linux binary

Postby mikaelh » Fri Jun 25, 2010 9:10 am

Ok, I finally figured out why the pre-built Linux client doesn't work on Fedora. The problem is that I had included only 2 components of libvorbis: libvorbisfile.so.3 and libvorbis.so.0. The final component is libvorbisenc.so.2 which is pretty big (3 MB). I didn't even consider including libvorbisenc.so.2 because the client is only decoding vorbis-encoded audio. However, it turns out that the PulseAudio libraries need libvorbisenc.so.2. Since I took libvorbisfile.so.3 and libvorbis.so.0 from Debian stable, they were pretty old. Fedora has a much newer libvorbisenc.so.2, which isn't compatible with the old libvorbis library files included with the client. Loading the new libvorbisenc.so.2 library after the older libvorbisfile.so.3 and libvorbis.so.0 had already been loaded is what eventually caused the crash.

The solution is to remove the libvorbisfile.so.3 and libvorbis.so.0 files included with the client. You can also remove libogg.so.0 since any system that has libvorbis, must also have libogg.

I have also decided to remove those files from the linux client packages because I think most Linux desktops should have libogg and libvorbis installed and because I don't want to include the huge libvorbisenc.so.2 file with the client.

And finally thanks for reporting the problem.
mikaelh
Developer
 
Posts: 82
Joined: Sun Dec 13, 2009 3:18 pm

Re: problem with linux binary

Postby mikaelh » Fri Jun 25, 2010 1:57 pm

Now I have also changed the client code in CVS so that the client changes the working directory itself if you start it straight from a file manager. This feature will be in 4.4.5c or whatever the next client version will be. Until then you could make a script called tomenet.sh with the following contents to fix the problem.
Code: Select all
#!/bin/sh
cd `dirname $0`
./tomenet
mikaelh
Developer
 
Posts: 82
Joined: Sun Dec 13, 2009 3:18 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron