aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule 2.3.2 segmentation fault on centos 7  (Read 723 times)

TTown

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
amule 2.3.2 segmentation fault on centos 7
« on: November 01, 2016, 05:44:44 PM »

Hi,

my install of amule 2.3.2 on centos 7 keeps crashing with "segmentation fault"
I tried the pre compiled rpm and compiled myself (following instructions from http://wiki.amule.org/wiki/HowTo_Compile_In_RedHat-Fedora#Compiling_.26_installing_amule_from_sources) but to no avail. My installation is always unstable and crashes usually within an hour.



 2016-11-01 09:17:39: Initialising aMule 2.3.2 compiled with wxGTK2 v2.8.12
 2016-11-01 09:17:39: Checking if there is an instance already running...
 2016-11-01 09:17:39: No other instances are running.
 2016-11-01 09:17:39: ListenSocket: Ok.

(amule:19269): Gtk-CRITICAL **: IA__gtk_container_remove: assertion 'GTK_IS_CONTAINER (container)' failed
 2016-11-01 09:17:39: Loading temp files from /home/ttown/.aMule/Temp.
 2016-11-01 09:17:39: Loading PartFile 1 of 132
[...]


$ uname -r
3.10.0-327.36.2.el7.x86_64

grep MemTotal /proc/meminfo
MemTotal:       15695644 kB

grep "model name" /proc/cpuinfo
model name   : Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
model name   : Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
model name   : Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz
model name   : Intel(R) Core(TM) i3-6100 CPU @ 3.70GHz


What can I do?
« Last Edit: November 01, 2016, 05:54:26 PM by TTown »
Logged

HKM

  • Jr. Member
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 76
  • You don't know enough to know that you don't know.
Re: amule 2.3.2 segmentation fault on centos 7
« Reply #1 on: November 01, 2016, 07:01:51 PM »

First remove all trace of aMule that you installed.
yum remove *amule*

Then visit: http://geekery.altervista.org/geekery/el7/x86_64/repoview/
And using wget download all the packages you want to install (CLI/CMD/Web/Com/)

Then CD into the dir where you wget the packages and then do
yum localinstall *amule*

All your config files will still be located on /var/lib/amuled/.aMule/ so do
systemctl start amuled.service

Post back if you still having problems even with this packages as I have them deployed on 16 nodes no problems.
Logged

BitCoin: 18rNdfKrUz5j3a9TQcECfKzY13gb1NLcmv

TTown

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amule 2.3.2 segmentation fault on centos 7
« Reply #2 on: November 02, 2016, 12:05:35 AM »

Hello HKM,

thanks for the advice.
I followed your instructions and the system has been running without any hick-ups for over three hours now. (Yay!)


I still get this
(amule:18268): Gtk-CRITICAL **: IA__gtk_container_remove: assertion 'GTK_IS_CONTAINER (container)' failed
statement in the console output, should I do something about it (and if so what)?
Logged

TTown

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amule 2.3.2 segmentation fault on centos 7
« Reply #3 on: November 02, 2016, 05:11:52 PM »

Update.

Amule crashes eventually. Looking through the log files, this seems to be upon completing a download:

Console:
2016-11-01 23:15:48: Adding file /home/ttown/.aMule_old/Temp/036.part.met to shares
Segmentation fault (core dumped)


logfile:
2016-11-01 23:15:48: Adding file /home/ttown/.aMule_old/Temp/036.part.met to shares
 2016-11-01 23:15:48: No shareable files found in directory: /home/ttown/.aMule_old/Incoming
 2016-11-01 23:15:48: Found 61 known shared files
 2016-11-01 23:15:48: Loading IP filters 'ipfilter.dat' and 'ipfilter_static.dat'.
 2016-11-01 23:15:48: Your copy of aMule is up to date.
 2016-11-01 23:15:48: Loaded 352170 IP-ranges from '/home/ttown/.aMule/ipfilter.dat'.
 2016-11-01 23:15:48: Loaded 0 IP-ranges from '/home/ttown/.aMule/ipfilter_static.dat'.
 2016-11-01 23:15:48: IP filter is ready
!2016-11-01 23:15:48: Connecting
 2016-11-01 23:15:48: Read 200 Kad contacts
!2016-11-01 23:15:48: Kad started.
 2016-11-01 23:15:49: Skipped download of ipfilter.dat, because requested file is not newer.
!2016-11-01 23:15:49: Kad stopped.
!2016-11-01 23:15:49: Connected to Kad (firewalled)
!2016-11-01 23:16:31: Connected to Kad (ok)
!2016-11-01 23:55:49: Downloaded part 20 is corrupt in file: x.avi
 2016-11-02 00:13:02: Suspending upload of file: <some hash>
 2016-11-02 00:13:02: Resuming uploads of file: <same hash>
!2016-11-02 00:13:02: Finished downloading: some_file.mkv


The downloaded file shows up in incoming and is not corrupt.
This is the last message in logfile

Please advise
Logged

HKM

  • Jr. Member
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 76
  • You don't know enough to know that you don't know.
Re: amule 2.3.2 segmentation fault on centos 7
« Reply #4 on: November 03, 2016, 12:09:24 AM »

Do:
cat /var/lib/amuled/.aMule/amule.conf > ./Output

Then upload the Output file and let me see whats inside aMule.conf
Logged

BitCoin: 18rNdfKrUz5j3a9TQcECfKzY13gb1NLcmv

TTown

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
[SOLVED} Re: amule 2.3.2 segmentation fault on centos 7
« Reply #5 on: November 07, 2016, 06:35:34 PM »

Update: The demon runs stable now after I found that when (while in /usr/bin/) I call ./amuled it would automatically start amuleweb with the amule.conf from ~/.aMule/ and not from /var/lib/amuled/.aMule.
Trying aMule now again. Will see if it is stable now as well.

Thanks for the help
Logged

TTown

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amule 2.3.2 segmentation fault on centos 7
« Reply #6 on: November 08, 2016, 06:30:18 PM »

Update: aMule keeps crashing with segmentation fault. But since aMuled appears stable, that is good enough here.



[eMule]
AppVersion=2.3.2
Nick=http://www.aMule.org
QueueSizePref=50
MaxUpload=20
MaxDownload=700
SlotAllocation=2
Port=4662
UDPPort=4672
UDPEnable=1
Address=
Autoconnect=1
MaxSourcesPerFile=150
MaxConnections=300
MaxConnectionsPerFiveSeconds=20
RemoveDeadServer=1
DeadServerRetry=3
ServerKeepAliveTimeout=0
Reconnect=1
Scoresystem=1
Serverlist=0
AddServerListFromServer=0
AddServerListFromClient=0
SafeServerConnect=0
AutoConnectStaticOnly=0
UPnPEnabled=0
UPnPTCPPort=50000
SmartIdCheck=1
ConnectToKad=1
ConnectToED2K=0
TempDir=/var/lib/amuled/.aMule/Temp
IncomingDir=/var/lib/amuled/.aMule/Incoming
ICH=1
AICHTrust=0
CheckDiskspace=1
MinFreeDiskSpace=1
AddNewFilesPaused=0
PreviewPrio=0
ManualHighPrio=0
StartNextFile=0
StartNextFileSameCat=0
StartNextFileAlpha=0
FileBufferSizePref=16
DAPPref=1
UAPPref=1
AllocateFullFile=0
OSDirectory=/var/lib/amuled/
OnlineSignature=0
OnlineSignatureUpdate=5
EnableTrayIcon=0
MinToTray=0
ConfirmExit=1
StartupMinimized=0
3DDepth=10
ToolTipDelay=1
ShowOverhead=0
ShowInfoOnCatTabs=1
VerticalToolbar=0
GeoIPEnabled=1
ShowVersionOnTitle=0
VideoPlayer=
StatGraphsInterval=3
statsInterval=30
DownloadCapacity=300
UploadCapacity=100
StatsAverageMinutes=5
VariousStatisticsMaxValue=100
SeeShare=2
FilterLanIPs=1
ParanoidFiltering=1
IPFilterAutoLoad=1
IPFilterURL=http://list.iblocklist.com/?list=ijfqtofzixtwayqovmxn&fileformat=p2p&archiveformat=gz
FilterLevel=127
IPFilterSystem=0
FilterMessages=1
FilterAllMessages=0
MessagesFromFriendsOnly=0
MessageFromValidSourcesOnly=1
FilterWordMessages=0
MessageFilter=
ShowMessagesInLog=1
FilterComments=0
CommentFilter=
ShareHiddenFiles=0
AutoSortDownloads=0
NewVersionCheck=1
AdvancedSpamFilter=1
MessageUseCaptchas=1
Language=
SplitterbarPosition=75
YourHostname=
DateTimeFormat=%A, %x, %X
AllcatType=0
ShowAllNotCats=0
SmartIdState=0
DropSlowSources=0
KadNodesUrl=http://upd.emule-security.org/nodes.dat
Ed2kServersUrl=http://upd.emule-security.org/server.met
ShowRatesOnTitle=0
GeoLiteCountryUpdateUrl=http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz
StatsServerName=Shorty's ED2K stats
StatsServerURL=http://ed2k.shortypower.dyndns.org/?hash=
CreateSparseFiles=1
[Browser]
OpenPageInTab=1
CustomBrowserString=
[Proxy]
ProxyEnableProxy=0
ProxyType=0
ProxyName=
ProxyPort=1080
ProxyEnablePassword=0
ProxyUser=
ProxyPassword=
[ExternalConnect]
UseSrcSeeds=0
AcceptExternalConnections=1
ECAddress=
ECPort=4712
ECPassword=45ced83338f2508fde07a1536bb04014
UPnPECEnabled=0
ShowProgressBar=1
ShowPercent=1
UseSecIdent=1
IpFilterClients=1
IpFilterServers=1
TransmitOnlyUploadingClients=0
[WebServer]
Enabled=1
Password=******
PasswordLow=******
Port=4711
WebUPnPTCPPort=50001
UPnPWebServerEnabled=0
UseGzip=1
UseLowRightsUser=0
PageRefreshTime=120
Template=
Path=amuleweb
[GUI]
HideOnClose=0
[Razor_Preferences]
FastED2KLinksHandler=1
[SkinGUIOptions]
Skin=
[Statistics]
MaxClientVersions=0
[Obfuscation]
IsClientCryptLayerSupported=1
IsCryptLayerRequested=1
IsClientCryptLayerRequired=0
CryptoPaddingLenght=254
CryptoKadUDPKey=1390477774
[PowerManagement]
PreventSleepWhileDownloading=0
[UserEvents]
[UserEvents/DownloadCompleted]
CoreEnabled=0
CoreCommand=
GUIEnabled=0
GUICommand=
[UserEvents/NewChatSession]
CoreEnabled=0
CoreCommand=
GUIEnabled=0
GUICommand=
[UserEvents/OutOfDiskSpace]
CoreEnabled=0
CoreCommand=
GUIEnabled=0
GUICommand=
[UserEvents/ErrorOnCompletion]
CoreEnabled=0
CoreCommand=
GUIEnabled=0
GUICommand=
[HTTPDownload]
URL_1=http://list.iblocklist.com/?list=ijfqtofzixtwayqovmxn&fileformat=p2p&archiveformat=gz




Logged

HKM

  • Jr. Member
  • **
  • Karma: 4
  • Offline Offline
  • Posts: 76
  • You don't know enough to know that you don't know.
Re: amule 2.3.2 segmentation fault on centos 7
« Reply #7 on: November 08, 2016, 10:01:29 PM »

I stop using aMule back in 2007. As majority of us just use aMuleD and control it via aMuleCMD/Web/GUI. Try running aMuleD as service and then connect to it via aMuleGUI and see if the problem still exists compared to standard aMule.
Logged

BitCoin: 18rNdfKrUz5j3a9TQcECfKzY13gb1NLcmv

TTown

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: amule 2.3.2 segmentation fault on centos 7
« Reply #8 on: November 14, 2016, 05:41:34 PM »

aMuled runs solid. I will stick with it and give up on aMule for now.
Logged