Anonymous | Login | Signup for a new account | 2024-11-21 12:14 CET |
My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0001123 | aMule | Search | public | 2007-06-11 23:02 | 2007-06-20 20:27 | ||||
Reporter | Gnucco | ||||||||
Assigned To | Kry | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Platform | OS | OS Version | |||||||
Product Version | SVN | ||||||||
Target Version | Fixed in Version | SVN | |||||||
Summary | 0001123: No kad sources are ever found/used on Ubuntu | ||||||||
Description | Even if a kad search returns many results, NO sources are added from kad. The only sources added are those from server searches. I'm using ubuntu 7.04, the problem is present in the CVS snapshot (I used 20070606). I added some more traces around the code, and found that the method CFileDataIO::ReadTag does not properly fill the name property of the returned tag object. The ReadString call inside this method does not convert the name to unicode. Name is tipically a 1char string, where the char is something like 0xFF / 0xFE, not a human readable "name". I used this very dumb and broken code as a workaround, I'm sure that you can do better than this: // name = ReadString(false); { uint32 len = ReadUInt16(); unsigned char val[len + 1]; val[len] = 0; Read( (void*)val, len ); printf("Tag len: %d Buf: %s\n", len, val ); name= wxT("X"); name[0]= val[0]; } With this change, aMule CVS snapshot works like a charm. ( See http://forum.amule.org/index.php?topic=12776.0 [^] ) | ||||||||
Tags | No tags attached. | ||||||||
Fixed in Revision | |||||||||
Operating System | Linux, Ubuntu 7.04 | ||||||||
Attached Files | |||||||||
Issue History | |||
Date Modified | Username | Field | Change |
2007-06-11 23:02 | Gnucco | New Issue | |
2007-06-11 23:02 | Gnucco | Operating System | => Linux, Ubuntu 7.04 |
2007-06-17 19:45 | Wuischke | Status | new => assigned |
2007-06-17 19:45 | Wuischke | Assigned To | => phoenix |
2007-06-20 20:27 | Wuischke | Assigned To | phoenix => Kry |
2007-06-20 20:27 | Wuischke | Status | assigned => resolved |
2007-06-20 20:27 | Wuischke | Fixed in Version | => SVN |
2007-06-20 20:27 | Wuischke | Resolution | open => fixed |
Copyright © 2000 - 2024 MantisBT Team |