[Libtorrent-devel] Unaddressed memory issue
In Incognito
in.incognito at gmail.com
Fri Jan 4 20:37:23 UTC 2008
Ok i got it running.
Right after it started, the log file had:
5x Conditional jump or move depends on uninitialised value(s)
2x Use of uninitialised value of size 4
On Jan 4, 2008 3:06 PM, Ivan Kalvachev <ikalvachev at gmail.com> wrote:
> On Jan 4, 2008 9:11 PM, In Incognito <in.incognito at gmail.com> wrote:
> > PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
> > 8128 rtorrent 16 0 1262m 689m 6300 S 1 68.3 8:20.21 rtorrent
> >
> >
> > total used free shared buffers
> cached
> > Mem: 1009 973 35 0 1
> 51
> > -/+ buffers/cache: 920 89
> > Swap: 2047 931 1115
> >
> > In a few hours the server will crash.
> >
> > I've been searching for mmap bugs with centos 5.1's gcc 4.1.2-14 and
> > libstdc++20 but nothing shows up.
> >
> > Right now rtorrent is seeding 1 torrent, 6 peers, 250kb/s total upload
> > speed.
> >
> > On Jan 4, 2008 9:32 AM, Josef Drexler < josef at ttdpatch.net> wrote:
> > >
> > >
> > >
> > > On Jan 4, 2008, at 2:27 AM, In Incognito wrote:
> > >
> > > > I updated libsigc++ to a newer version and recompiled everything.
> > > > Its only been up for a few hours but ill post up some numbers
> > > > tomorrow after some time has passed.
> > > >
> > > > At first it looks like upgrading libsigc++ had a positive affect
> > > > but its too early to say.
> > >
> > >
> > > I wouldn't be surprised if it doesn't help, since it's not libsigc++
> > > that's the problem, but either g++ or libstdc++ as I said before.
>
> You can try valgrind as memory debugger.
> valgrind --leak-check=full --show-reachable=yes --log-file=rt.log rtorrent
> I'm using --tool=memcheck, but heap tool could also be useful
> --tool=massif
>
> If valgrind doesn't show any cause, then it may be kernel problem, try
> with vanilla kernel.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rakshasa.no/pipermail/libtorrent-devel/attachments/20080104/c9882173/attachment.html
More information about the Libtorrent-devel
mailing list