Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
99 user(s) are online (52 user(s) are browsing Forums)

Members: 0
Guests: 99

more...

Headlines

 
  Register To Post  

cTorrent-gui & Newlib.library.kmod
Quite a regular
Quite a regular


See User information
I have just started using this program, and I am just getting my head around the terminology, let alone the technology.
Anyway I keep getting visits from the Grim Reaper, snd then my system freezes. The crash happens in the newlib.library, and I have posted a crashlog here

Peter Swallow

Eyetech A1XE-G3 800Mhz OS4.1
Towered A1200 OS3.9
Go to top
Re: cTorrent-gui & Newlib.library.kmod
Just popping in
Just popping in


See User information
@Swoop

This instruction caused the crash:
lbz r0,108(r17)

And both r0 and r17 are NULL at that time, altough only r17 is the guilty one. The program is simply accessing a NULL pointer. A simple beginners fault: a missing NULL pointer check. But the bug is not in newlib.library, but in the torrent client, passing a NULL argument to vfprintf().

Go to top
Re: cTorrent-gui & Newlib.library.kmod
Just popping in
Just popping in


See User information
@swoop

i suggest you try Transmission from os4depot instead.

has a nice gui and its been very stable here for the last few months (3-4).

ofcourse you could send bug reports to the author of the os4 port of CTorrent but i expect he will say the same.

Go to top
Re: cTorrent-gui & Newlib.library.kmod
Quite a regular
Quite a regular


See User information
@ToAks

Quote:
i suggest you try Transmission from os4depot instead.

has a nice gui and its been very stable here for the last few months (3-4).

ofcourse you could send bug reports to the author of the os4 port of CTorrent but i expect he will say the same.

Thanks for the info, I'll have to give that a try.
All I did was a search for 'torrent' on OS4Depot.

Peter Swallow

Eyetech A1XE-G3 800Mhz OS4.1
Towered A1200 OS3.9
Go to top
Re: cTorrent-gui & Newlib.library.kmod
Just popping in
Just popping in


See User information
@Swoop

If you use Transmission be sure to download to an FFS2 partition otherwise it'll most likely hang at some point.
This thread has more info on this.

Go to top
Re: cTorrent-gui & Newlib.library.kmod
Home away from home
Home away from home


See User information
@Swoop

I think the bug is some where whit in:

Tracker::SocketReady()

the zero pointer is most likely forwarded to:

Console::Warning()

and zero pointer is then forwarded to lots of sub functions and ends up in vfprintf() in newlib.

Antique will need to have a look at it find and fix the problem, it might where well be that he has never seen the warning or just ignored the problem.

I know he is currently working on newer version of CTorrent.

(NutsAboutAmiga)

Basilisk II for AmigaOS4
AmigaInputAnywhere
Excalibur
and other tools and apps.
Go to top
Re: cTorrent-gui & Newlib.library.kmod
Home away from home
Home away from home


See User information
@Swoop

Thanks for the info. I will try to look into this problem,but i don't get this error myself. Working very well here. just started work on a new version. Hopefully it won't take ages to complete. And hopefully i can fix your problems.

X5000
Go to top
Re: cTorrent-gui & Newlib.library.kmod
Just popping in
Just popping in


See User information
@Antique

Hello,

I am glad to hear that you are working on a new version.

May I give you this advice ?

Make the user the possibility to use some interesting options of cTorrent like -T to change the names of the files and -P.

Waiting for the new version of OS4 ( I AM DESESPERATE !!!), make a test if the file size is bigger that 2 GB.
In this case, your program hangs.


Take care,

Go to top
Re: cTorrent-gui & Newlib.library.kmod
Quite a regular
Quite a regular


See User information
@ToAks

[Quote]
i suggest you try Transmission from os4depot instead.
has a nice gui and its been very stable here for the last few months (3-4).
ofcourse you could send bug reports to the author of the os4 port of CTorrent but i expect he will say the same.[/quote]


Thanks for that I had it up and running in no time.

Just a couple of questions.

What happens if I have to re-boot my Amigaone?
I have just come in this morning and transmission is chugging away fine.
I launched IBrowse which immediatley crashed throwing a GR.

What would happen if I paused the download in transmission, and re-booted?
Would the torrent start from the same place, or would it start all over again?

Peter Swallow

Eyetech A1XE-G3 800Mhz OS4.1
Towered A1200 OS3.9
Go to top
Re: cTorrent-gui & Newlib.library.kmod
Quite a regular
Quite a regular


See User information
@Antique

Quote:
Thanks for the info. I will try to look into this problem,but i don't get this error myself. Working very well here. just started work on a new version. Hopefully it won't take ages to complete. And hopefully i can fix your problems.


I have several crashlogs if that would help. Also it doesn't happen with all torrents, some download fine, some crash immediatley, and some crash after an unspecified amount of time.
Anyway, good to hear you are aware of the problem.


Edited by Swoop on 2008/7/2 3:23:03
Peter Swallow

Eyetech A1XE-G3 800Mhz OS4.1
Towered A1200 OS3.9
Go to top
Re: cTorrent-gui & Newlib.library.kmod
Home away from home
Home away from home


See User information
@yescop

I'm aware of the limit in filesizes,but i need a new sdk with support for commands that supports bigger files than +2/4 gig files. Until then there's not much i can do really.

X5000
Go to top
Re: cTorrent-gui & Newlib.library.kmod
Home away from home
Home away from home


See User information
@Swoop

Are all the crashlogs caused by the vfprintf?
If not then i'd like you to share them.

X5000
Go to top
Re: cTorrent-gui & Newlib.library.kmod
Quite a regular
Quite a regular


See User information
@Antique

Quote:
Are all the crashlogs caused by the vfprintf?
If not then i'd like you to share them.

I have just looked at them, and they all are newlib.library.kmod, and all have a asterix against lbz r0,108(r17). So I presume they are all the same error.

Peter Swallow

Eyetech A1XE-G3 800Mhz OS4.1
Towered A1200 OS3.9
Go to top
Re: cTorrent-gui & Newlib.library.kmod
Home away from home
Home away from home


See User information
@Swoop

Looks that way then,hopefully just one kind of error

Looking into it right now.

X5000
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2023 The XOOPS Project