Discussion:
[Xmltv-devel] [ xmltv-Bugs-2612996 ] _na_dtv: possible memory leak with prebuilt exe for windows
SourceForge.net
2010-10-25 09:51:00 UTC
Permalink
Bugs item #2612996, was opened at 2009-02-18 16:27
Message generated for change (Settings changed) made by dekarl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=2612996&group_id=39046

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_na_dtv
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Rod Roark (sunsetsystems)
Summary: _na_dtv: possible memory leak with prebuilt exe for windows
Initial Comment:
Running XMLTV Manually
----------------------
"C:\Users\one\freeguide\xmltv/xmltv.exe" tv_grab_na_dtv --config-file
"C:\Users\one\freeguide\xmltv-configs\na_dtv.conf" > tv.xmltv

Timezone is -0700
Getting IDs for day 0 ............
Getting IDs for day 1 ............
Getting IDs for day 2 ............
Getting IDs for day 3 ............
Getting IDs for day 4 ............
Getting one more ...
Started 8 processes to fetch and parse 2104 web pages.

Error:
[Window Title]
EXE bundle of XMLTV tools to manage TV Listings
[Main Instruction]
EXE bundle of XMLTV tools to manage TV Listings has stopped working
[Content]
A problem caused the program to stop working correctly. Windows will close
the program and notify you if a solution is available.
[Close program]
------------------
reply to:
***@gmail.com

----------------------------------------------------------------------

Comment By: Robert Eden (rmeden)
Date: 2009-08-05 02:16

Message:
Yes, when I mean "native PERL" I mean install PERL, make and the needed
modules on windows instead of using XMLTV.EXE.

XMLTV.EXE works surprisingly well, but it it is a bit of a hack.

Robert

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-08-05 01:27

Message:
I posted the comment about the error on Win Xp SP 2
Robert what do you mean by 'try native perl' ? execute under perl in
windows? I am going to try this version in ubuntu and hopefully it works

Sriram

----------------------------------------------------------------------

Comment By: Robert Eden (rmeden)
Date: 2009-08-04 07:19

Message:
I just tried it on my XP box. XMLTV.EXE failed after growing to 499MB.
Native Perl did work, but also ate up a lot of memory. (there is no error,
the process basically core dumps)

I suspect the grabber is using too much memory and the EXE wrapper is
taking it over the edge.

For now, I suggest you try native perl. I don't think tv_grab_na_dtv has
bad dependencies If the user isn't a programmer and isn't up to using
native Perl, maybe someone can post some instructions for them to follow.

sunsetsystems may wan to look for a memory leak and a command line option
to control the number of threads. (the output messages implies some
multi-threaded code). Windows handles threads much differently than
Unix/Linux and that may be causing a problem.

Robert

----------------------------------------------------------------------

Comment By: Rod Roark (sunsetsystems)
Date: 2009-08-04 05:42

Message:
My comment dated 2009-02-18 still applies. It's not going to get fixed
like this. Is it working for *anyone* under Windows?

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-08-04 04:46

Message:
Running command: "C:\Users\sraghura\.freeguide\xmltv/xmltv.exe"
tv_grab_na_dtv --config-file
"C:\Users\sraghura\.freeguide\xmltv-configs\na_dtv.conf"
Timezone is -0500
Getting IDs for day 0 ............
Getting IDs for day 1 ............
Getting IDs for day 2 ............
Getting IDs for day 3 ............
Getting IDs for day 4 ............
Getting one more ...
Started 8 processes to fetch and parse 2491 web pages.
Error executing grabber: XML document structures must start and end within
the same entity.
Result code = -1,073,741,819


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-08-04 04:46

Message:
I am facing the same issue with Win XP SP 2

----------------------------------------------------------------------

Comment By: Rod Roark (sunsetsystems)
Date: 2009-02-18 17:45

Message:
I don't have Windows 7 either. In fact I use Linux almost exclusively and
am not equipped for debugging under any flavor of Windows. Some sort of
error message with actual information in it would be nice.

----------------------------------------------------------------------

Comment By: Robert Eden (rmeden)
Date: 2009-02-18 17:32

Message:
I don't have windows 7 to test xmltv.exe. Assigning to sunsetsystems in
case this is a tv_grab_na_dtv issue.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=2612996&group_id=39046
Loading...