aMule Forum

English => en_Linux => Topic started by: zeppelin on August 21, 2004, 10:48:52 PM

Title: amule crashes after start
Post by: zeppelin on August 21, 2004, 10:48:52 PM
Hi!

I installed amule from official unstable debian repositories, and the first time I run amule, I have the next info confirmation:
-- This is the first time you ruun aMule 2.0.0rc5 --
Quote
Your locale has been changed to System Default due tu a version change. Sorry.
Feel free to report any bugs to forum.amule.org
[ok]


Then, amule crashes showing the next output:

Code: [Select]
Initialising aMule
Userhash loaded: 5AFA6A186C0E6F124015084A72D76FFE
*** UDP socket at 4665
*** TCP socket at 4662
*** UDP socket at 4672
Serverlist loaded.
*** reading servers
Loading temp files from /root/.aMule/Temp/*.part.met.
Empty dir /root/.aMule/Incoming/ shared
Gdk-ERROR **: BadValue (integer parameter out of range for operation)
  serial 5433 error_code 2 request_code 45 minor_code 0

I've tried to chmod 777 /root/.aMule/Temp but it didn't work

What can I do? (the next times it crashes without the first message).
Title: Re: amule crashes after start
Post by: lfroen on August 23, 2004, 09:36:26 AM
For a beginning I suggest to stop running as root !
Never again :))
Title: Re: amule crashes after start
Post by: zeppelin on August 23, 2004, 10:48:17 AM
I was trying  to  resolve de the problem, I don't  use amule as root  :baby:

I've compiled the source package and installed form it, and amule didn't work due to the same problem. As normal user, the first time I run amule, it says:

Code: [Select]
12:07:56: Directory '' couldn't be created (error 2: No existe el fichero o el directorio)
12:07:56: Directory '' couldn't be created (error 2: No existe el fichero o el directorio)
[Accept]

After that, the same message refering to localization appears, and, after all, the output shows:

Code: [Select]
Initialising aMule
Saving userhash: 02D297A3FA0E06F4E24A268FAB256F97
Userhash loaded: 02D297A3FA0E06F4E24A268FAB256F97
*** UDP socket at 83
*** TCP socket at 80
*** UDP socket at 1025
No cryptkey.dat found, creating
Serverlist loaded.
External connections disabled in .eMule
*** reading servers
Loading temp files from /*.part.met.
Gdk-ERROR **: BadValue (integer parameter out of range for operation)
  serial 11915 error_code 2 request_code 45 minor_code 0

But I'm not going to change the / permissions, and I don't know how to change preferences.dat (or the concerned file) with a common editor in orther to force amule seek the temp files from /home/user/.aMule/Temp/. (I read in a post that permissions could be the problem in my case, but I think not, afterall).

Any light about this case?  ;(
Title: Re: amule crashes after start
Post by: lfroen on August 27, 2004, 08:25:31 AM
Seems that mule can't read it's prefeences. Check permissions etc. File is ~/.eMule
Title: Re: amule crashes after start
Post by: zeppelin on August 27, 2004, 02:57:21 PM
I changed the temp folder and shares folder on ~/.eMule. The permissions of directories under /home/eMule are 775. The permissions of files are 774. Permissions of .eMule are 777.
aMule loaded theese preferences but it didn't work, aMule crashes like it did before.
Another problem is a warning announcing me that the directory I've selected for online signature does not exist. I've edited .eMule and this option is 0 (false).

The new output:
Code: [Select]
Initialising aMule
Userhash loaded: 02D297A3FA0E06F4E24A268FAB256F97
*** UDP socket at 83
*** TCP socket at 80
*** UDP socket at 1025
Serverlist loaded.
External connections disabled in .eMule
*** reading servers
Loading temp files from /home/eMule/temp/*.part.met.
Loading 001.part.met...  - filename Shrek.2.Spanish.XviD.MP3.SCREENER.SEDG.avi - Done.
Loading 007.part.met...  - filename [GAME] The Sims - Linux.iso - Done.
Adding file /home/eMule/temp/007.part.met to shares
Adding file /home/eMule/temp/001.part.met to shares
Gdk-ERROR **: BadValue (integer parameter out of range for operation)
  serial 2678 error_code 2 request_code 45 minor_code 0
Title: Re: amule crashes after start
Post by: zeppelin on September 04, 2004, 07:01:31 PM
No solution to this problem? ;(
Title: Re: amule crashes after start
Post by: stefanero on September 04, 2004, 09:35:52 PM
hmmm never sean anything like that before

what system are you using? post your versions of installed wxgtk rpms

on rpms based system
rpm -qa | grep wx

stefanero
Title: Re: amule crashes after start
Post by: zeppelin on September 04, 2004, 10:18:44 PM
Debian Sid 2.6.7

$ dpkg -l |grep wx

ii  libwxbase2.4   2.4.2.6        wxBase library (runtime) - non-GUI support c
ii  libwxbase2.4-dev 2.4.2.6        wxBase library (development) - non-GUI suppo
ii  libwxgtk2.4    2.4.2.6        wxWindows Cross-platform C++ GUI toolkit (GT
ii  libwxgtk2.4-dev 2.4.2.6        wxWindows Cross-platform C++ GUI toolkit (GT
ii  wxwin2.4-headers 2.4.2.6        wxWindows Cross-platform C++ GUI toolkit (he

thanks!
Title: Re: amule crashes after start
Post by: stefanero on September 04, 2004, 10:25:35 PM
hmm debain packages are ok...
so no problem with taht....

strange
have you tryed moving .eMule file and .aMule directory? and restarting aMule?
Title: Re: amule crashes after start
Post by: zeppelin on September 05, 2004, 11:46:14 AM
I suppose so, but it is not a hard task -> I'll do it again and comment you.
thanks


It didn't work  :(
Title: Re: amule crashes after start
Post by: stefanero on September 05, 2004, 12:02:01 PM
hmmmm
what you could to and check if its a wxGTK error is..remove your debian wxGTK packages and compile wxGTK yourself like shown in the howto...

Gdk-ERROR **: BadValue (integer parameter out of range for operation)
  serial 2678 error_code 2 request_code 45 minor_code 0

but maybe its not a wx-error since it sais Gdk error whatever taht is...
have you tryed google? for something simular?
Title: Re: amule crashes after start
Post by: zeppelin on September 05, 2004, 05:05:19 PM
ok, compiled wxWidgets as said on HowTo and... nothing  ;(

I'm going to try compliling libcrypto too, to know if it were the problem.
I will google too.
Title: Re: amule crashes after start
Post by: maddeneye on September 08, 2004, 01:58:06 PM
Zepp, I've just started using amule the past few days on my debian linux. I apt-get it from following these instructions:

#> vi /etc/apt/sources.list
deb http://ftp.drazzib.com/debian ./
#> apt-get install amule

This is by one of the forum members. The thread is here:

http://www.amule.org/amule/thread.php?threadid=2945&page=2&sid=

Why don't you uninstall and then apt-get this version. I had no problems except for needing to update a library.

Hope this helps.
Title: Re: amule crashes after start
Post by: zeppelin on September 09, 2004, 02:21:08 AM
I think there is not any amule package available on that repositorie. It could be deleted :S
Title: Re: amule crashes after start
Post by: maddeneye on September 09, 2004, 08:09:19 AM
I hope you had added the source line "deb http://ftp.drazzib.com/debian ./" to your source.list and apt-get update first before you apt-get install amule. In any case, if you wish I can email you the deb file - I still have it in my cache:

amule_2.0.0rc5-0+cvs20040816_i386.deb

it is about 2MB. You can use dpkg to install. If you need it, pm me and I will email it to you. Warning though - I only know it worked for me. Don't know if it will work for you.
Title: Re: amule crashes after start
Post by: Jacobo221 on September 09, 2004, 05:59:31 PM
if that doesn't work, you could ask Hinnerk for his statc aMule deb
Greetings!
Title: Re: amule crashes after start
Post by: Jacobo221 on September 09, 2004, 06:00:09 PM
btw, sorry I forgot: you can meet Hinnerk on the irc at #amule in irc.freenode.org
Again, greetings!
Title: Re: amule crashes after start
Post by: zeppelin on September 11, 2004, 09:24:02 PM
thank you very much maddeneye, but it didn't work...  ?( ?(
 
Code: [Select]
serial 2892 error_code 2 request_code 45 minor_code 0
Quote from: "Jacobo221"
if that doesn't work, you could ask Hinnerk for his statc aMule deb
Ok, thanks.

When computers go wrong... it's so difficult win the battle  X(

Thank you all very much, spending your time with me. These are very good forums.
Title: Re: amule crashes after start
Post by: maddeneye on September 12, 2004, 12:58:34 AM
Well, sorry to hear that it didn't work - but at least you know that the fault lies in your system set-up somewhere. I have installed the same deb in another system yesterday and it was fine. I don't think another compilation will solve your problem then but a static one is worth a try.

"When computers go wrong... it's so difficult win the battle" - yes...

Hope you find your solution!
Title: Re: amule crashes after start
Post by: zeppelin on September 13, 2004, 12:55:30 AM
it's not going to be an amule's problem. I've tried to launch amule with a konsole opened:
Code: [Select]
# tail -f /var/log/XFree86.0.log
FreeType: couldn't open face /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/ai=0.4:Arial_Bold_Italic.ttf: 1
FreeType: couldn't open face /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/ai=0.4:Arial_Bold_Italic.ttf: 1
FreeType: couldn't open face /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/ai=0.4:Arial_Bold_Italic.ttf: 1
FreeType: couldn't open face /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/ai=0.4:Arial_Bold_Italic.ttf: 1

each line appears on a launch trying of amule. but I don't know how to solve this problem.
Title: Re: amule crashes after start
Post by: Jacobo221 on September 13, 2004, 11:02:34 PM
Looks like a defoma tiny misconfiguration. Probably the wrong TrueType directory set. Sorry I can't help you any futher since I have no knowledge about defoma.
Greetings!
Title: Re: amule crashes after start
Post by: zeppelin on September 14, 2004, 01:12:20 AM
I reinstalled defoma and it didn't work.

But... it could be the real problem? I think so, but I'm too newbie to affirm it.

I am not the only one!!!!!!!!  8o
http://lists.debian.org/debian-user/2004/02/msg03797.html

SOLVED!!!

I've reinstalled and updated all the fonts packages on my system (and installed several addons) and it worked. I can't say the responsible package  :( , but it worked  :D

Thank you all for your help and time ;)
Title: Re: amule crashes after start
Post by: Jacobo221 on September 14, 2004, 01:28:27 AM
if you're on Debian, purge (not remove, but purge) defoma and reinstall, to see if it is the config or not. removing doesn't delete the config files, purging does.
Please report results :-)
Title: Re: amule crashes after start
Post by: zeppelin on September 14, 2004, 02:16:46 AM
I can say defoma wasn't the package because it was the first I replaced (before writting the post with XFree86's log), but a fonts package was.  :)

(I edited the previous post while you wrote).
Title: Re: amule crashes after start
Post by: Jacobo221 on September 14, 2004, 01:25:56 PM
well, at least, for the next time, we know it's NOT defoma. that a step forward hehehe
Thanks for reporting.
Greetings!
Title: Re: amule crashes after start
Post by: maddeneye on September 14, 2004, 02:02:41 PM
Happy for you zepp... I can feel your relief! :D
Title: Re: amule crashes after start
Post by: zeppelin on September 15, 2004, 07:56:37 PM
After all, I've used the package that you gave me :)
Title: Re: amule crashes after start
Post by: JammyZ on October 23, 2004, 02:20:33 AM
I have the same problem and I cannot solve it.
Can you please give me some advice about what packages I should try to install/reinstall??
I'm using debian testing, I've tried with compiled sources of rc7, debian testing/unstable packages and also the debian package of the rc7 at ftp.drazzib.com.
Always the same problem:
At console:
Initialising aMule
Userhash loaded: 971A605D6A0A02691074730619AB6F3C
*** UDP socket at 4665
*** TCP socket at 4662
*** UDP socket at 4672
Serverlist loaded.
*** reading servers
Loading temp files from /home/jammyz/.aMule/Temp/*.part.met.
Empty dir /home/jammyz/.aMule/Incoming/ shared
Gdk-ERROR **: BadValue (integer parameter out of range for operation)
  serial 4211 error_code 2 request_code 45 minor_code 0

At  XFree86.0.log:
FreeType: couldn't open face /usr/share/fonts/truetype/Arial_Bold_Italic.ttf: 1

Any help will be welcomed...
Title: Re: amule crashes after start
Post by: SebaX on October 23, 2004, 03:44:30 AM
:D HolaX............. Hi....

Try:
rm ~/.eMule
rm ~/.aMule/clients.met

;) That's it's all :D
Title: Re: amule crashes after start
Post by: JammyZ on October 23, 2004, 12:42:47 PM
Quote
Originally posted by SebaX
:D HolaX............. Hi....

Try:
rm ~/.eMule
rm ~/.aMule/clients.met

;) That's it's all :D

I didn't have ~/.aMule/clients.met
After deleting ~/.eMule
again:
Initialising aMule
Userhash loaded: 971A613D6A0A03690074730719AB6F3D
*** UDP socket at 4665
*** UDP socket at 4672
External connections disabled in config file .eMule
*** reading servers
Loading temp files from /home/jammyz/.aMule/Temp.
Empty dir /home/jammyz/.aMule/Incoming/ shared
*** TCP socket at 4662
ListenSocket: Ok.
AICH Thread: Syncronization thread started.
AICH Thread: Masterhashes of known files have been loaded.
AICH Thread: No new files found.
AICH Thread: Thread terminated.
Gdk-ERROR **: BadValue (integer parameter out of range for operation)
  serial 3402 error_code 2 request_code 45 minor_code 0

Anyway, thanks for trying.

Gracias tio, seguiremos intentandolo.
Title: Re: amule crashes after start
Post by: stefanero on October 23, 2004, 01:03:16 PM
hmm seams like a gdk error....
have you tryed google for your error? maybe your gtk+ install is "broken" or something alike

stefanero
Title: Re: amule crashes after start
Post by: JammyZ on October 23, 2004, 01:26:56 PM
Reinstalled libgtk2.0-0, libgtk2.0-bin and libgtk2.0-common through APT for Debian testing. Not solved anything.
Searching in google I've found more guys with the same problem (usually with amule too) but I've not found any solution yet. Still looking for it.

Thanks for ur help anyway.
Title: Re: amule crashes after start
Post by: JammyZ on October 23, 2004, 01:43:19 PM
It has something to do with TrueType for sure. I've found this that maybe can help:

ia all,
I'm having a problem with amule and vmware (I think that other apps may be
affected too). When starting amule I get this error before a crash:
 Gdk-ERROR **: BadValue (integer parameter out of range for operation)
   serial 4368 error_code 2 request_code 45 minor_code 0
Playing with XFree86 configuration I've disabled freetype module and now amule
and vmware load without error.

Any clues? May I file a bug against xserver-xfree86 or is something related to
amule and vmware? Am I the only one experimenting these problems?

This was copied form this URL (google cache) http://66.102.9.104/search?q=cache:p-cwZB8DtHEJ:www.mail-archive.com/debian-user
%40lists.debian.org/msg121159.html+Gdk-ERROR+**:+BadValue+(integer+parameter+out
+of+range+for+operation)+amule&hl=es
Title: Re: amule crashes after start
Post by: JammyZ on October 23, 2004, 02:03:25 PM
I've managed to solve it.
As a workaround I've made links from the /usr/share/fonts/truetype/msttcorefonts/ directory to /usr/share/fonts/truetype/.
Just needed 3 Arial fonts:
ln -s /usr/share/fonts/truetype/msttcorefonts/Arial_Bold_Italic.ttf /usr/share/fonts/truetype/Arial_Bold_Italic.ttf

ln -s /usr/share/fonts/truetype/msttcorefonts/Arial_Italic.ttf /usr/share/fonts/truetype/Arial_Italic.ttf

ln -s /usr/share/fonts/truetype/msttcorefonts/Arial.ttf /usr/share/fonts/truetype/Arial.ttf

There must be another nicer solution but in the meantime....

Thanks to Linuxsys from #aMule for the help.
Title: Re: amule crashes after start
Post by: Anne Onyme on October 26, 2004, 06:36:41 PM
Now i remember a problem i had compiling amule 200rc7 with freetype :

I used this command :
#apt-get install libfreetype6 libfreetype6-dev

But the fact was freetype lib where not reclam by ./configure !!! I had to gess by myself.

Hope it can help,
Regards
Title: Re: amule crashes after start
Post by: JammyZ on October 27, 2004, 11:33:58 PM
It doesn't seem so. I have them already installed on my system and without the links I told before it wouldn't work. Can you check where you have those fonts installed? Look at one of my posts before this one.
Title: Re: amule crashes after start
Post by: Anne Onyme on October 28, 2004, 12:59:34 AM
Hi,

I don't have those link, my situation is like yours before you made those links.

I think there is something to do (a command) to include new TTF in the engine. Maybe you miss this point...

Regards