Bug #1423
closed
tvheadend aborts and core dumps when using tv_grab_file
Added by glazed donut over 12 years ago.
Updated over 12 years ago.
Found in version:
3.2.18~g40a8920
Description
I am trying to get xmltv to work with my tvheadend version 3.2.18~g40a8920
I created a grabber based on the tv_grab_file found here: http://code.google.com/p/tv-grab-file/downloads/detail?name=tv_grab_file&can=2&q=
I created an xmltv file from my xmltv provider and named it ~/.xmltv/tv_grab_file.xmltv
Executing the tv_grab_file from the command line output the xmltv xml properly.
However whan I afterwards try to start tvheadend, I get the following error:
Nov 17 20:30:01 [INFO]:epggrab: module /usr/bin/tv_grab_file created
tvheadend: /opt/tvheadend/src/epggrab/module.c:94: epggrab_module_create: Assertion `!epggrab_module_find_by_id(id)' failed.
Aborted (core dumped)
- Status changed from New to Need feedback
I'm struggling to reproduce this one. I can certainly see that if the code though it had found two XMLTV scripts with exactly the same path this might happen. However I cannot see how that could happen.
Do you have the tv_find_grabbers script installed? If so what is the output?
Adam
No - I don't have the tv_find_grabbers script installed.
I actually got everything working on a different NAS box.
I will revisit my setup on the original NAS box - to ensure that it is infact a bug - rather than just an error that I made.
Ta,
I completely understand why it crashes. I just don't understand how it gets to that point. It appears that it finds 2 grabbers with the same ID, but since the path is the ID that implies 2 grabbers with the same path. How on earth that can happen I've no idea!
Adam
Matias,
Thanks for that update, somehow I missed the message. I hadn't considered that case, I'll look into this immediately.
Adam
- Status changed from Need feedback to Resolved
- Affected Versions 3.2 added
Fix now in git master. Need to decide whether to port to 3.2.
Adam
- Target version set to 3.2
- Status changed from Resolved to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:c9e438e1485c6356891b1896098353e32eafc60c.
Also available in: Atom
PDF