aMule Forum

English => en_Bugs => Topic started by: GrayFox.i0n on June 17, 2008, 08:31:42 AM

Title: Crash in web interface
Post by: GrayFox.i0n 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!
Title: Re: Crash in web interface
Post by: wuischke on June 17, 2008, 04:42:03 PM
Thank you for the report. I hope someone will have time to investigate this soon™.
Title: Re: Crash in web interface
Post by: lfroen on June 17, 2008, 04:53:22 PM
Backtrace of amuleweb would be nice.
Title: Re: Crash in web interface
Post by: GrayFox.i0n 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 ;)
Title: Re: Crash in web interface
Post by: wuischke 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
Title: Re: Crash in web interface
Post by: GrayFox.i0n 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....  ::)
Title: Re: Crash in web interface
Post by: wuischke 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.
Title: Re: Crash in web interface
Post by: GrayFox.i0n on June 18, 2008, 12:44:39 PM
ok, thanks!! i will give it a try ;)
Title: Re: Crash in web interface
Post by: GrayFox.i0n 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!
Title: Re: Crash in web interface
Post by: wuischke 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.