aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Crash in web interface  (Read 4135 times)

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Crash in web interface
« on: June 17, 2008, 08:31:42 AM »

Hi again!  :D

Im trying the new 2.2.1 version and i am really impressed of the new web interface, but i want to report a bug that has been happening to me since the CVS versions of 2.2.x

Everytime i try to delete a download from the web interface, the web interface just stops working. It just crashes, and gives the "page not found" message in the web browser, even if i close it and reopen again....
I think is strange, and sounds like a bug.
Another thing i realised is that in the web interface, you cannot delete the servers from the serverlist. Even they disappear, the next time you run amule, there they are again.....

I hope this helps with the developement, and i would be happy to know if this are in fact, bugs, and when can they be fixed, for compiling and testing a new CVS

Cheers!
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Crash in web interface
« Reply #1 on: June 17, 2008, 04:42:03 PM »

Thank you for the report. I hope someone will have time to investigate this soon™.
Logged

lfroen

  • Guest
Re: Crash in web interface
« Reply #2 on: June 17, 2008, 04:53:22 PM »

Backtrace of amuleweb would be nice.
Logged

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: Crash in web interface
« Reply #3 on: June 17, 2008, 06:03:10 PM »

I still dont really know how to report a backtrace... i really wish i could send you one each time i find a bug, but i really dont know how to generate them................  :(

I still hope this helps for the developement ;)
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Crash in web interface
« Reply #4 on: June 17, 2008, 06:33:48 PM »

fox: First of all you have to compile amuleweb with debug information. (add --enable-debug --disable-optimize to the configure command).

Then start aMule normally and start amuleweb from within gdb:
Code: [Select]
gdb amulewebAfter it loaded the executable use
Code: [Select]
run [--any-amule-web-options] to start amuleweb. When it crashes, post the output of the commands "bt", "bt full" and "thread apply all bt" in the backtrace forum including an description of the crash.

See the wiki for a more detailed guide: http://www.amule.org/wiki/index.php/Backtraces
Logged

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: Crash in web interface
« Reply #5 on: June 18, 2008, 12:27:15 PM »

But i usually run amule from amule daemon.

amuled -f

And leave it running in a small machine that has no screen..............
In this case i never run amuleweb separately, so, how can i do it in this  situation?

Thanks and sorry, i really dont know how to use this backtrace utility properly....  ::)
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Crash in web interface
« Reply #6 on: June 18, 2008, 12:33:30 PM »

well, kill amuleweb (killall amuleweb), ssh into the server and start gdb as described above. You shouldn't need any options.
Logged

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: Crash in web interface
« Reply #7 on: June 18, 2008, 12:44:39 PM »

ok, thanks!! i will give it a try ;)
Logged

GrayFox.i0n

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 139
Re: Crash in web interface
« Reply #8 on: June 19, 2008, 01:30:10 PM »

http://forum.amule.org/index.php?topic=15304.0

Is this a useful backtrace?

I hope this clears out the error i talk about....

this happened just when i attempted to cancel a download that was 200Mb out of 3 gb downloaded-.----

Cheers!
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: Crash in web interface
« Reply #9 on: June 19, 2008, 03:28:47 PM »

Yes, I believe it's very useful. I hope lfroen has soon some time to have a look at it.
Logged