aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amuleweb crash sometimes  (Read 6194 times)

jabicho

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 24
amuleweb crash sometimes
« on: April 21, 2005, 07:56:48 PM »

Hi, I'm using amuled and amuleweb from the .deb packages. They work really really fine, I want to congratule the programers. But I've note one bug about amuleweb; if I don't use the web interface with a browser, the amuleweb works fine and so do amuled. But sometimes, I'm using amuleweb, and suddenly conection is refused; I open a ssh terminal and make ps to see current process, and the amuleweb process is defunct. Amuled keeps working withoiut problem, but I have to restart the amuleweb process. In my preferences, I have udpdisable=1. Is there any solution to this?
Logged

lfroen

  • Guest
Re: amuleweb crash sometimes
« Reply #1 on: April 21, 2005, 08:33:48 PM »

Looks like amuleweb process suddently terminates. If you have core file for amuleweb compiled with debug info, you are welcomed to post backtrace, and we will fix it.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1522
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: amuleweb crash sometimes
« Reply #2 on: April 21, 2005, 08:56:28 PM »

The wx debs aren't backtraceable. All amule binaries are with --enable-debug and disable-optimise compiled, and the stripping is disabled, too. So there should be no problem.
Logged
Homefucking is killing prostitution

xalexas

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 22
Re: amuleweb crash sometimes
« Reply #3 on: July 14, 2005, 04:44:21 PM »

I have exactly same problem since 2.0.1 to latest CVS. I use very frequently amuleweb because it's installed on remote machine. Before 2.0 final amuleweb also crashes sometimes but i have solved that problem with amuleweb restart, now when i manualy start amuleweb in console you can't login but only with blank password.
Logged

PsychoChris

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 66
Re: amuleweb crash sometimes
« Reply #4 on: July 14, 2005, 04:51:36 PM »

I had the same problems with 2.0.3 but since i use the latest CVS amuleweb didn't crash again. I'm using Linux 9.0.

Greetings,
Chris
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1522
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: amuleweb crash sometimes
« Reply #5 on: July 15, 2005, 05:40:14 PM »

Quote
Originally posted by PsychoChris
 I'm using Linux 9.0.

After I read this in almost every post from you, I think I should tell you, that the latest version is 2.6.12.2.
I think you run SuSE 9.0 or something.
And Kry, I don't tease him, I gave him just a hint.
Logged
Homefucking is killing prostitution

PsychoChris

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 66
Re: amuleweb crash sometimes
« Reply #6 on: July 15, 2005, 05:54:22 PM »

Quote
Originally posted by Vollstrecker
I think you run SuSE 9.0 or something.

Yes, that's actually what i ment, but seems that all understood it even without naming the distribution. Anyway, thanks for the hint.

Greetings,
Chris
Logged

roro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: amuleweb crash sometimes
« Reply #7 on: August 15, 2005, 04:14:39 PM »

i've got the same problem than jabicho since 2.0.1 to latest CVS. I use debian testing and it only happens when there are files to transfer (when there is no file in the queue, amuleweb doesn't segfault).

i'll try to make a backtrace soon.

thank you for all your great work !
« Last Edit: August 15, 2005, 04:21:27 PM by roro »
Logged

Dante_

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: amuleweb crash sometimes
« Reply #8 on: September 08, 2005, 05:46:37 PM »

Compiled it myself on Ubuntu Linux (Debian based)... But it segfaults randomly when serving a page... I can make segfault for shure reloading the page every second for 5 to 10 times... Very Weird.. Also.. If I try to compile amuleweb 2.0.3 it says gd.h is missing but it isn't.. amule cvs compiles just fine anthe de file IS present...
« Last Edit: September 08, 2005, 05:47:27 PM by Dante_ »
Logged
(\_/)
(°_°) <- This is Bunny. Copy Bunny into your signature
(>< ) to help him on his way to world domination.

Dante_

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: amuleweb crash sometimes
« Reply #9 on: September 11, 2005, 02:47:58 AM »

Opps... it happens with amule 2.0.3 too!  X(

here is the output 3 page loads before it segfaults..
Code: [Select]
*** replaced session with 1765805453
***** logged in, getting page transfer
***** session is 1765805453
*** parsing url /?ses=1765805453&w=transfer :: field ses
*** parsing url /?ses=1765805453&w=transfer :: field cat
*** parsing url /?ses=1765805453&w=transfer :: field op
*** parsing url /?ses=1765805453&w=transfer :: field file
*** parsing url /?ses=1765805453&w=transfer :: field sort
*** parsing url /?ses=1765805453&w=transfer :: field sortreverse
*** parsing url /?ses=1765805453&w=transfer :: field c
*** parsing url /?ses=1765805453&w=transfer :: field showuploadqueue
**** imgrequest: /main_bg.gif
**** imgrequest: /emule.gif
**** imgrequest: /cp_servers.gif
**** imgrequest: /cp_download.gif
**** imgrequest: /cp_search.gif
**** imgrequest: /cp_shared.gif
**** imgrequest: /cp_stats.gif
**** imgrequest: /main_top_bg.gif
**** imgrequest: /cp_settings.gif
**** imgrequest: /log.gif
**** imgrequest: /main_topbar.gif
**** imgrequest: /arrow_right.gif
**** imgrequest: /arrow_down_logout.gif
**** imgrequest: /main_topbarseperator.gif
**** imgrequest: /main_topbardarker.gif
**** imgrequest: /arrow_down.gif
**** imgrequest: /greenpercent.gif
**** imgrequest: /dyn_79EB08388537EA8B1433B016AD4CE194.png
**** imgrequest: /l_info.gif
**** imgrequest: /l_ed2klink.gif
**** imgrequest: /l_pause.gif
**** imgrequest: /l_cancel.gif
**** imgrequest: /l_up.gif
**** imgrequest: /l_down.gif
*** parsing url /?ses=1765805453&w=transfer :: field ses
*** parsing url /?ses=1765805453&w=transfer :: field w
*** parsing url /?ses=1765805453&w=transfer :: field w
*** parsing url /?ses=1765805453&w=transfer :: field cat
*** replaced session with 1765805453
***** logged in, getting page transfer
***** session is 1765805453
*** parsing url /?ses=1765805453&w=transfer :: field ses
*** parsing url /?ses=1765805453&w=transfer :: field cat
*** parsing url /?ses=1765805453&w=transfer :: field op
*** parsing url /?ses=1765805453&w=transfer :: field file
*** parsing url /?ses=1765805453&w=transfer :: field sort
*** parsing url /?ses=1765805453&w=transfer :: field sortreverse
*** parsing url /?ses=1765805453&w=transfer :: field c
*** parsing url /?ses=1765805453&w=transfer :: field showuploadqueue
**** imgrequest: /main_bg.gif
**** imgrequest: /emule.gif
**** imgrequest: /cp_servers.gif
**** imgrequest: /cp_download.gif
**** imgrequest: /cp_search.gif
**** imgrequest: /cp_shared.gif
**** imgrequest: /cp_stats.gif
**** imgrequest: /main_top_bg.gif
**** imgrequest: /cp_settings.gif
**** imgrequest: /log.gif
**** imgrequest: /main_topbar.gif
**** imgrequest: /arrow_right.gif
**** imgrequest: /arrow_down_logout.gif
**** imgrequest: /main_topbarseperator.gif
**** imgrequest: /main_topbardarker.gif
**** imgrequest: /arrow_down.gif
**** imgrequest: /greenpercent.gif
**** imgrequest: /dyn_79EB08388537EA8B1433B016AD4CE194.png
**** imgrequest: /l_info.gif
**** imgrequest: /l_ed2klink.gif
**** imgrequest: /l_cancel.gif
**** imgrequest: /l_up.gif
**** imgrequest: /l_down.gif
**** imgrequest: /dyn_CD93B75303B55F241CC0063073F6772B.png
**** imgrequest: /dyn_AE4142EA16AC6861B4EF47E4C7967CD9.png
*** parsing url /?ses=1765805453&w=transfer :: field ses
*** parsing url /?ses=1765805453&w=transfer :: field w
*** parsing url /?ses=1765805453&w=transfer :: field w
*** parsing url /?ses=1765805453&w=transfer :: field cat
*** replaced session with 1765805453
***** logged in, getting page transfer
***** session is 1765805453
*** parsing url /?ses=1765805453&w=transfer :: field ses
*** parsing url /?ses=1765805453&w=transfer :: field cat
*** parsing url /?ses=1765805453&w=transfer :: field op
*** parsing url /?ses=1765805453&w=transfer :: field file
*** parsing url /?ses=1765805453&w=transfer :: field sort
*** parsing url /?ses=1765805453&w=transfer :: field sortreverse
*** parsing url /?ses=1765805453&w=transfer :: field c
*** parsing url /?ses=1765805453&w=transfer :: field showuploadqueue
**** imgrequest: /main_bg.gif
**** imgrequest: /emule.gif
**** imgrequest: /cp_servers.gif
**** imgrequest: /cp_download.gif
**** imgrequest: /cp_search.gif
**** imgrequest: /cp_shared.gif
**** imgrequest: /cp_stats.gif
**** imgrequest: /main_top_bg.gif
**** imgrequest: /cp_settings.gif
**** imgrequest: /log.gif
**** imgrequest: /main_topbar.gif
**** imgrequest: /arrow_right.gif
**** imgrequest: /arrow_down_logout.gif
**** imgrequest: /main_topbarseperator.gif
**** imgrequest: /main_topbardarker.gif
**** imgrequest: /arrow_down.gif
**** imgrequest: /greenpercent.gif
**** imgrequest: /dyn_79EB08388537EA8B1433B016AD4CE194.png
**** imgrequest: /l_info.gif
**** imgrequest: /l_ed2klink.gif
**** imgrequest: /l_cancel.gif
**** imgrequest: /l_up.gif
**** imgrequest: /l_down.gif
**** imgrequest: /dyn_CD93B75303B55F241CC0063073F6772B.png
*** parsing url /?ses=1765805453&w=transfer :: field ses
*** parsing url /?ses=1765805453&w=transfer :: field w
*** parsing url /?ses=1765805453&w=transfer :: field w
*** parsing url /?ses=1765805453&w=transfer :: field cat
*** replaced session with 1765805453
***** logged in, getting page transfer
***** session is 1765805453
*** parsing url /?ses=1765805453&w=transfer :: field ses
*** parsing url /?ses=1765805453&w=transfer :: field cat
*** parsing url /?ses=1765805453&w=transfer :: field op
*** parsing url /?ses=1765805453&w=transfer :: field file
*** parsing url /?ses=1765805453&w=transfer :: field sort
*** parsing url /?ses=1765805453&w=transfer :: field sortreverse
*** parsing url /?ses=1765805453&w=transfer :: field c
*** parsing url /?ses=1765805453&w=transfer :: field showuploadqueue
**** imgrequest: /l_pause.gif
**** imgrequest: /main_bg.gif
**** imgrequest: /emule.gif
**** imgrequest: /cp_servers.gif
**** imgrequest: /cp_download.gif
**** imgrequest: /cp_shared.gif
**** imgrequest: /cp_search.gif
**** imgrequest: /cp_stats.gif
**** imgrequest: /cp_settings.gif
**** imgrequest: /log.gif
**** imgrequest: /main_top_bg.gif
**** imgrequest: /main_topbar.gif
**** imgrequest: /arrow_right.gif
**** imgrequest: /arrow_down_logout.gif
**** imgrequest: /main_topbarseperator.gif
**** imgrequest: /main_topbardarker.gif
**** imgrequest: /arrow_down.gif
**** imgrequest: /dyn_79EB08388537EA8B1433B016AD4CE194.png
**** imgrequest: /l_info.gif
WSThread: Can't create web client socket thread
WSThread: Can't create web client socket thread
Segmentation fault
Logged
(\_/)
(°_°) <- This is Bunny. Copy Bunny into your signature
(>< ) to help him on his way to world domination.

Dante_

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: amuleweb crash sometimes
« Reply #10 on: September 16, 2005, 01:09:38 AM »

Any Idea? amuleweb 2.0.3 also randomly terminates..
Logged
(\_/)
(°_°) <- This is Bunny. Copy Bunny into your signature
(>< ) to help him on his way to world domination.

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: amuleweb crash sometimes
« Reply #11 on: September 16, 2005, 04:31:47 AM »

Dante, could you provide us with backtraces, please?  See this wiki page.  Post it to the backtraces forum.  Thanks.
Logged

Dante_

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 25
Re: amuleweb crash sometimes
« Reply #12 on: September 18, 2005, 03:41:01 AM »

I'll try to compiile amule with debuh info next time.. for now, i've created a shell script with an infinite loop that loads amuleweb again if it exits..
Another crapy fix to my humble server...  :rolleyes:
Logged
(\_/)
(°_°) <- This is Bunny. Copy Bunny into your signature
(>< ) to help him on his way to world domination.

roro

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: amuleweb crash sometimes
« Reply #13 on: September 26, 2005, 06:54:26 PM »

anything wrong with the backtrace i posted in the other section ?
Logged