On Wed, 17 Mar 2010 23:21:36 +0100, gregor herrmann wrote: > Now it hit the same.
s/it/I/
And again.
After the first time I rebuilt the newsbeuter package with
DEB_BUILD_OPTIONS=nostrip.
Now it's hanging again (actually about the third time in a row).
Unfortunately I'm a gdb noob; what I've tried is:
$ gdb
(gdb) attach 2000
Attaching to process 2000
Reading symbols from /usr/bin/newsbeuter...done.
Reading symbols from /lib/i686/cmov/libpthread.so.0...(no debugging
symbols found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb652fb70 (LWP 2140)]
[New Thread 0xb6d30b70 (LWP 2136)]
[..]
(gdb) continue
Continuing.
<!-- here it hangs again some minutes later -->
[Thread 0xb652fb70 (LWP 2140) exited]
^C
Program received signal SIGINT, Interrupt.
0xb724e119 in ?? () from /lib/i686/cmov/libc.so.6
(gdb) bt
#0 0xb724e119 in ?? () from /lib/i686/cmov/libc.so.6
#1 0xb724d747 in iconv () from /lib/i686/cmov/libc.so.6
#2 0x081090ee in stfl_ipool_fromwc ()
#3 0x080f1d42 in newsbeuter::utils::wstr2str (wstr=...) at src/utils.cpp:474
#4 0x080cdc58 in newsbeuter::listformatter::add_line (this=0xbf85c338,
text=...,
id=4294967295, width=90) at src/listformatter.cpp:23
#5 0x080ce1eb in newsbeuter::listformatter::add_lines (this=0xbf85c338,
thelines=...,
width=90) at src/listformatter.cpp:35
#6 0x080c327f in newsbeuter::itemview_formaction::prepare (this=0xc9cbaf0)
at src/itemview_formaction.cpp:131
#7 0x0807022c in newsbeuter::view::run (this=0xbf85c89c) at src/view.cpp:166
#8 0x0807eb57 in newsbeuter::controller::run (this=0xbf85c718, argc=1,
argv=0xbf85c9d4)
at src/controller.cpp:498
#9 0x0804ed5d in main (argc=1, argv=0xbf85c9d4) at newsbeuter.cpp:29
(gdb) cont
Continuing.
<!-- memory usage goes up and up --->
Does this help in any way?
Since this evening the memory leak+hang happens quite often I'm happy
to do more debugging if someone can lend me a helping hand :)
Cheers,
gregor
--
.''`. http://info.comodo.priv.at/ -- GPG Key IDs: 0x8649AA06, 0x00F3CFE4
: :' : Debian GNU/Linux user, admin, & developer - http://www.debian.org/
`. `' Member of VIBE!AT & SPI, fellow of Free Software Foundation Europe
`- NP: Townes Van Zandt: Sixteen Summers, Fifteen Falls
signature.asc
Description: Digital signature

