View previous topic :: View next topic |
Author |
Message |
stevensheehy n00b
Joined: 25 Dec 2006 Posts: 13
|
Posted: Mon Dec 25, 2006 10:46 pm Post subject: |
|
|
queen wrote: | lately i mean approximately a month. ;-(
I haven't tried backtrace. I don't know how to do that. If you can tell me how to do that i will be grateful. I don't think it's broken cpu or bad cflags because it worked all along and i didn't change cflags. I suspect that it has hashing problems. Sometimes it shows less share than i actually do. I need to rehash the files in these cases. It shows in the list files that i don't share anymore.
EDIT: here is the error i get with scons
Code: | build/gui/WulforUtil.o: In function `WulforUtil::getNicks(CID const&)':
WulforUtil.cc:(.text+0x44a): undefined reference to `ClientManager::getNicks(CID const&)'
build/gui/WulforUtil.o: In function `WulforUtil::getHubNames(CID const&)':
WulforUtil.cc:(.text+0x4f2): undefined reference to `ClientManager::getHubNames(CID const&)'
collect2: ld returned 1 exit status
scons: *** [linuxdcpp] Error 1
scons: building terminated because of errors. |
|
You should sign up for or at least read the linuxdcpp mailing list. I posted a solution to your problem awhile ago. You need to delete the "build" directory to get it to compile due to some sort of scons bug.
As for learning how to debug, read the debug section in our manual. The download queue has known crashing issues so you should minimize the amount of time it is open. |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Tue Dec 26, 2006 7:55 pm Post subject: |
|
|
stevensheehy wrote: | queen wrote: | lately i mean approximately a month. ;-(
I haven't tried backtrace. I don't know how to do that. If you can tell me how to do that i will be grateful. I don't think it's broken cpu or bad cflags because it worked all along and i didn't change cflags. I suspect that it has hashing problems. Sometimes it shows less share than i actually do. I need to rehash the files in these cases. It shows in the list files that i don't share anymore.
EDIT: here is the error i get with scons
Code: | build/gui/WulforUtil.o: In function `WulforUtil::getNicks(CID const&)':
WulforUtil.cc:(.text+0x44a): undefined reference to `ClientManager::getNicks(CID const&)'
build/gui/WulforUtil.o: In function `WulforUtil::getHubNames(CID const&)':
WulforUtil.cc:(.text+0x4f2): undefined reference to `ClientManager::getHubNames(CID const&)'
collect2: ld returned 1 exit status
scons: *** [linuxdcpp] Error 1
scons: building terminated because of errors. |
|
You should sign up for or at least read the linuxdcpp mailing list. I posted a solution to your problem awhile ago. You need to delete the "build" directory to get it to compile due to some sort of scons bug.
As for learning how to debug, read the debug section in our manual. The download queue has known crashing issues so you should minimize the amount of time it is open. |
Oh, thanks for the tip. I will register to the mailing list. tried to enter now berlios web site. it's down now. |
|
Back to top |
|
|
bingobob Apprentice
Joined: 05 Apr 2004 Posts: 296 Location: Hertfordshire, UK
|
Posted: Sun Dec 31, 2006 6:31 am Post subject: |
|
|
Code: | bingobob,
Try the latest (0.3.8) version of valknut (not in portage yet, but renaming 2 ebuilds, removing "epatch" lines and changing the SRC_URI does the trick). The tarballs are here: http://sourceforge.net/project/showfiles.php?group_id=181579
ALternatively, try RevConnect under Wine. Just remember to disable minimizing to tray, or it'll crash.
Good luck!
_________________
60s: sex, drugs, rock'n'roll
90s: sux, bugs, drag'n'drop
---
Some multimedia keys refuse to work? See my mini-howto:
http://forums.gentoo.org/viewtopic.php?p=1896734#1896734 |
hi,
well revconnect (under wine) seems fine - just one thing - Can I limit upload/downlaod bandwidth with this Application - is there an easy way.
I had a look at bandwidth throttling through IPTABLES or whatever and it scared the heck out of me - don't want to get into that really if I can avoid it. |
|
Back to top |
|
|
stevensheehy n00b
Joined: 25 Dec 2006 Posts: 13
|
Posted: Sun Dec 31, 2006 7:35 am Post subject: |
|
|
bingobob wrote: | hi,
well revconnect (under wine) seems fine - just one thing - Can I limit upload/downlaod bandwidth with this Application - is there an easy way.
I had a look at bandwidth throttling through IPTABLES or whatever and it scared the heck out of me - don't want to get into that really if I can avoid it. |
http://monkey.org/~marius/pages/?page=trickle
Putting bandwidth limiting into a dc client will only get it banned by hubs. |
|
Back to top |
|
|
stevensheehy n00b
Joined: 25 Dec 2006 Posts: 13
|
Posted: Thu Jan 04, 2007 7:03 am Post subject: |
|
|
queen wrote: | Oh, thanks for the tip. I will register to the mailing list. tried to enter now berlios web site. it's down now. |
The berlios site has been down now for awhile, with only brief moments of respite. However, the mailing list is still alive and you can access it at https://lists.berlios.de/pipermail/linuxdcpp-developers/ |
|
Back to top |
|
|
habarnam n00b
Joined: 30 Mar 2005 Posts: 10
|
Posted: Thu Jan 04, 2007 2:20 pm Post subject: |
|
|
Hi, since I couldn't find any ebuilds for valknut 3.8.0, I have made them myself based on the posts of Slavo and blaster999 (it includes the patches):
http://habarnam.org/overlay.tar.bz2
It worked great for x86.
Code: |
habarnam@murphy ~ $ valknut
Checking xml version ...
Compiled for '20627' using '20627'
Using Valknut: '0.3.8'
Checking dclib version ...
Using DCLib: '0.3.8'
Checking Qt (TM) version ...
Compiled for '3.3.6' using '3.3.6'
Checking Qt (TM) privates ...
private test ok !
|
|
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Tue Jan 16, 2007 8:12 pm Post subject: |
|
|
stevensheehy wrote: | queen wrote: | Oh, thanks for the tip. I will register to the mailing list. tried to enter now berlios web site. it's down now. |
The berlios site has been down now for awhile, with only brief moments of respite. However, the mailing list is still alive and you can access it at https://lists.berlios.de/pipermail/linuxdcpp-developers/ |
Thank you steven. I checked the mailing list and found a nice patch to make sound when a private message comes. But i don't know how to do this patch.
I installed the new updated client. The problem i have is with connection to users. I manage to connect to the hub but when it tries to connect to the users i get dissconected. I use port forward in the router. put the same port in the client both tcp and udp. I tried both active, firewall with manual port forward and even passive. it didn't help me.
The message that i get in konsole is Code: | StartSocket (tcp): Caught "Address already in use"
|
Any hints what can be done? I use router linksys wrt54gc which has upnp enabled. has spi firewall enabled.
the port i used is 24000. |
|
Back to top |
|
|
stevensheehy n00b
Joined: 25 Dec 2006 Posts: 13
|
Posted: Wed Jan 17, 2007 4:12 pm Post subject: portage |
|
|
LinuxDC++ is now in portage! |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Sat Jan 20, 2007 7:09 pm Post subject: |
|
|
stevensheehy wrote: | queen wrote: | lately i mean approximately a month. ;-(
I haven't tried backtrace. I don't know how to do that. If you can tell me how to do that i will be grateful. I don't think it's broken cpu or bad cflags because it worked all along and i didn't change cflags. I suspect that it has hashing problems. Sometimes it shows less share than i actually do. I need to rehash the files in these cases. It shows in the list files that i don't share anymore.
EDIT: here is the error i get with scons
Code: | build/gui/WulforUtil.o: In function `WulforUtil::getNicks(CID const&)':
WulforUtil.cc:(.text+0x44a): undefined reference to `ClientManager::getNicks(CID const&)'
build/gui/WulforUtil.o: In function `WulforUtil::getHubNames(CID const&)':
WulforUtil.cc:(.text+0x4f2): undefined reference to `ClientManager::getHubNames(CID const&)'
collect2: ld returned 1 exit status
scons: *** [linuxdcpp] Error 1
scons: building terminated because of errors. |
|
You should sign up for or at least read the linuxdcpp mailing list. I posted a solution to your problem awhile ago. You need to delete the "build" directory to get it to compile due to some sort of scons bug.
As for learning how to debug, read the debug section in our manual. The download queue has known crashing issues so you should minimize the amount of time it is open. |
I made debugging using Code: | ulimit -c unlimited |
As far as i saw from the full backtrace it looks like it crashes due to usage of trickle (bandwidth shaper).
Here are the results
Code: |
#0 update (sock=89, len=-1, which=0) at trickle-overload.c:941
941 trickle-overload.c: No such file or directory.
in trickle-overload.c
(gdb) backtrace full
#0 update (sock=89, len=-1, which=0) at trickle-overload.c:941
sd = (struct sockdesc *) 0xd8000000
#1 0xb7f1d2ab in send (sock=89, buf=0xd8000000, len=3623878656,
flags=-671088640) at trickle-overload.c:746
ret = -1
xlen = 262
eagain = 1
#2 0x08142a17 in Socket::write ()
No symbol table info available.
#3 0x08078bc4 in BufferedSocket::threadSendData ()
No symbol table info available.
#4 0x08079274 in BufferedSocket::checkEvents ()
No symbol table info available.
#5 0x08079383 in BufferedSocket::run ()
No symbol table info available.
#6 0x08168ee0 in Thread::starter ()
No symbol table info available.
#7 0xb7ef3294 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#8 0xb789356e in clone () from /lib/libc.so.6
No symbol table info available.
(gdb) quit
|
2nd time it crashed i got this:
Code: | (gdb) backtrace full
#0 0xb7ef3ec7 in select (nfds=19, rfds=0xa6d242c8, wfds=0xa6d24248,
efds=0x0, __timeout=0xb1600050)
at trickle-overload.c:422
__result = 8 '\b'
sd = (struct sockdesc *) 0xb1600050
fdsets = {0xa6d24248, 0xa6d242c8}
fds = (fd_set *) 0xa6d242c8
delaytv = (struct timeval *) 0x0
selecttv = (struct timeval *) 0xa6d24160
timeout = (struct timeval *) 0xa6d24160
_timeout = {tv_sec = 0, tv_usec = 250000}
inittv = {tv_sec = 1169224900, tv_usec = 206353}
curtv = {tv_sec = 1169224900, tv_usec = 206353}
difftv = {tv_sec = 0, tv_usec = 0}
which = 1
dhead = {tqh_first = 0x0, tqh_last = 0xa6d24168}
d = (struct delay *) 0xb1600050
_d = (struct delay *) 0xa6d242c8
ret = -1496169784
#1 0x08142907 in Socket::wait ()
No symbol table info available.
#2 0x08078b5f in BufferedSocket::threadSendData ()
No symbol table info available.
#3 0x08079274 in BufferedSocket::checkEvents ()
No symbol table info available.
#4 0x08079383 in BufferedSocket::run ()
No symbol table info available.
#5 0x08168ee0 in Thread::starter ()
No symbol table info available.
#6 0xb7ec9294 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#7 0xb786956e in clone () from /lib/libc.so.6
No symbol table info available. |
I checked trickle folder and the file trickle-overload.c exists there.
Someone can help me with this? |
|
Back to top |
|
|
Slavo Apprentice
Joined: 26 May 2005 Posts: 229
|
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri Feb 02, 2007 8:52 pm Post subject: |
|
|
seems that the problem with crashing dissapeared. But from a lot of users from the queue i am dissconected. Usually i manage to download from 3-4 users. The rest it tries to connect and after some time it discconects.
Anyone knows what is the problem? I use port forwarding in my router. And i am active. |
|
Back to top |
|
|
Zepp Veteran
Joined: 15 Mar 2004 Posts: 1246 Location: Ontario, Canada
|
Posted: Sat Feb 03, 2007 9:53 am Post subject: |
|
|
I've been using linux dc++, no more crashing like last time I tried it. Now it just needs to catch up with features, I really need favourite users (auto grant slots to certain users) |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Sat Feb 03, 2007 3:50 pm Post subject: |
|
|
Zepp wrote: | I've been using linux dc++, no more crashing like last time I tried it. Now it just needs to catch up with features, I really need favourite users (auto grant slots to certain users) |
yes, i'd like these features too. Do you have problems with discconecting? about 90% of the users i am disconnected. |
|
Back to top |
|
|
urguncle n00b
Joined: 03 Feb 2007 Posts: 12
|
Posted: Sat Feb 03, 2007 6:35 pm Post subject: |
|
|
The biggest problem I've noticed is that Valknut for example is banned by most hubs I used to use.
I dunno about linuxdc++, but I've never cared to try..
Linux has the best bittorrent client ever. |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Sat Feb 03, 2007 8:41 pm Post subject: |
|
|
urguncle wrote: | The biggest problem I've noticed is that Valknut for example is banned by most hubs I used to use.
I dunno about linuxdc++, but I've never cared to try..
Linux has the best bittorrent client ever. |
I managed to connect to private hubs with valknut. You can put untag option. Which bittorent client is the best? |
|
Back to top |
|
|
CosminG Apprentice
Joined: 19 Jan 2005 Posts: 166
|
Posted: Fri Feb 23, 2007 3:26 pm Post subject: |
|
|
I use ktorrent even I am on gnome. |
|
Back to top |
|
|
boniek Guru
Joined: 26 Mar 2005 Posts: 373
|
Posted: Wed Mar 28, 2007 4:59 pm Post subject: |
|
|
queen wrote: | urguncle wrote: | The biggest problem I've noticed is that Valknut for example is banned by most hubs I used to use.
I dunno about linuxdc++, but I've never cared to try..
Linux has the best bittorrent client ever. |
I managed to connect to private hubs with valknut. You can put untag option. Which bittorent client is the best? |
Depends on your needs - Azureus, ktorrent, rtorrent (best three I'm aware of). _________________ [HOWTO]New freetype subpixel font rendering for lcd monitors |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Wed May 02, 2007 9:52 pm Post subject: |
|
|
I'm having now problems with linuxdcpp that it doesn't fetch all the users in the hubs. Also, it doesn't say no slot available. Instead of message no slots available i get disconnected.
Any ideas what's wrong? I have linuxdcpp from portage ~20070403. |
|
Back to top |
|
|
stevensheehy n00b
Joined: 25 Dec 2006 Posts: 13
|
Posted: Fri May 04, 2007 11:24 pm Post subject: |
|
|
queen wrote: | I'm having now problems with linuxdcpp that it doesn't fetch all the users in the hubs. Also, it doesn't say no slot available. Instead of message no slots available i get disconnected.
Any ideas what's wrong? I have linuxdcpp from portage ~20070403. |
Might want to see if next update fixes it for you. Should be within a few days. |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Sat May 05, 2007 7:20 am Post subject: |
|
|
stevensheehy wrote: | queen wrote: | I'm having now problems with linuxdcpp that it doesn't fetch all the users in the hubs. Also, it doesn't say no slot available. Instead of message no slots available i get disconnected.
Any ideas what's wrong? I have linuxdcpp from portage ~20070403. |
Might want to see if next update fixes it for you. Should be within a few days. |
Cool. I really hope so. |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Thu May 10, 2007 8:36 am Post subject: |
|
|
stevensheehy wrote: | queen wrote: | I'm having now problems with linuxdcpp that it doesn't fetch all the users in the hubs. Also, it doesn't say no slot available. Instead of message no slots available i get disconnected.
Any ideas what's wrong? I have linuxdcpp from portage ~20070403. |
Might want to see if next update fixes it for you. Should be within a few days. |
I upgraded to the new version in portage. It seems to be solved. But it still takes a lot of time to connect to the users. It can take up to an hour to connect to users.
I have another problem with linuxdcpp and trickle. linuxdcpp crashes when i use it with trickle. I used trickle and amule and amule doesn't crash. I posted few pages ago the error when i try to debug. If someone can help, i will be very glad. I need to limit upload speed because it affects my download speed dramatically. |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Fri May 11, 2007 10:22 pm Post subject: |
|
|
Is there a particular reason why i can't connect to many users? Actually i manage to download from about 20% of the users that i have in the queue. Although fetching their files is possible. I use port forwarding in the router and i am active. But in the queue, i keep being disconnected all the time. Is it a slot issue that appears as disconnect or something else? |
|
Back to top |
|
|
stevensheehy n00b
Joined: 25 Dec 2006 Posts: 13
|
Posted: Sat May 12, 2007 5:04 am Post subject: |
|
|
queen wrote: | Is there a particular reason why i can't connect to many users? Actually i manage to download from about 20% of the users that i have in the queue. Although fetching their files is possible. I use port forwarding in the router and i am active. But in the queue, i keep being disconnected all the time. Is it a slot issue that appears as disconnect or something else? |
Honestly? No idea. The dc++ core handles all network traffic and I don't know that much about it. If you can find a reproducible issue with valid terminal debug output then I or someone else can take a look at it. The only advice I can offer to you is to make sure the character encoding of the hub is set to that which is most common to the users on the hub. |
|
Back to top |
|
|
queen Veteran
Joined: 19 Jul 2005 Posts: 1642
|
Posted: Sat May 12, 2007 3:17 pm Post subject: |
|
|
stevensheehy wrote: | queen wrote: | Is there a particular reason why i can't connect to many users? Actually i manage to download from about 20% of the users that i have in the queue. Although fetching their files is possible. I use port forwarding in the router and i am active. But in the queue, i keep being disconnected all the time. Is it a slot issue that appears as disconnect or something else? |
Honestly? No idea. The dc++ core handles all network traffic and I don't know that much about it. If you can find a reproducible issue with valid terminal debug output then I or someone else can take a look at it. The only advice I can offer to you is to make sure the character encoding of the hub is set to that which is most common to the users on the hub. |
You mean to use ulimit and get info on what happens when it tries to connect to a user? usually if i launch from command line linuxdcpp there are no errors. Sometimes an error of address already in use is thrown and then i know i have to restart the program, because in such cases it doesn't connect to any user.
As for encoding, i use the default one. which is probably used by the hub too. There are very few users with special characters encoding. But, that's a good idea. I will ask the operator of the hub about character encoding, just to be sure i am on the safe side. |
|
Back to top |
|
|
stevensheehy n00b
Joined: 25 Dec 2006 Posts: 13
|
Posted: Sat May 12, 2007 7:10 pm Post subject: |
|
|
queen wrote: | You mean to use ulimit and get info on what happens when it tries to connect to a user? usually if i launch from command line linuxdcpp there are no errors. Sometimes an error of address already in use is thrown and then i know i have to restart the program, because in such cases it doesn't connect to any user.
As for encoding, i use the default one. which is probably used by the hub too. There are very few users with special characters encoding. But, that's a good idea. I will ask the operator of the hub about character encoding, just to be sure i am on the safe side. |
Not ulimit, that's only good if it crashes. I'm referring to compiling in debug mode then running from command line.
It's not just the hub's encoding, but each person on the hub can have a different encoding. The program can only make a best guess and assume that most people on the hub have the same encoding. The default encoding is that of your filesystem, so if you're using utf8 on your machine it probably is not the choice you want in ldcpp. Instead, if you visit a lot of northern or western European hubs, then choose CP1252. |
|
Back to top |
|
|
|