stuart wrote: > > G C wrote: >> I was running mvpmc 0.3.1 with MythTV 0.20 .... >> On my MVP, though, I can no longer watch recordings....
> Very interesting... I have the same problem. .... But, now > that you mention it, it all started after I added a KWorld > ATSC110 tuner card. Ok, in another trace I see: "Event socket closed, shutting down myth" ...which indicates that cmyth_event_get returned with a value of CMYTH_EVENT_CLOSE or 1. This only happens if cmyth_rcv_length returns zero or less. The description of that function indicates it should return the length of a MythTV protocol message and that a success is a positive non zero value. Going back to the dump - I see where it says that cmyth_rcv_length failed w/a -4. And before that in the dump was a call to cmyth_conn_destroy. Comments for this function say it is for tear down and release storage associated with a connection. And before that, there were many calls to cmyth_release. Many of these calls print out "free it" indicating that this was the "last reference" and that we need to "destroy the structure". However, eventually, it appears calls are made to cmyth_release w/"nil" as the argument? Am I reading the dump right? I think the transition from allocating memory to destroying memory is the key. Here, I think I captured the beginning of when MVPMC starts destroying memory: cmyth_allocate_data(28, ret = 0x1056bd94, ref = 0x1056bd88) { cmyth_allocate_data(28, ret = 0x1056bd94, ref = 0x1056bd88) } cmyth_timestamp_create cmyth_allocate_data(28, ret = 0x1056bdc4, ref = 0x1056bdb8) { cmyth_allocate_data(28, ret = 0x1056bdc4, ref = 0x1056bdb8) } cmyth_timestamp_create cmyth_proginfo_create } __cmyth_rcv_proginfo: VERSION IS 31 __cmyth_rcv_string: string received '' cmyth_strdup(0x7fff5550) { cmyth_allocate_data(1, ret = 0x1056bdf4, ref = 0x1056bde8) { cmyth_allocate_data(1, ret = 0x1056bdf4, ref = 0x1056bde8) } cmyth_strdup str = 0x7fff5550[], len = 1, ret =0x1056bdf4 cmyth_strdup() } __cmyth_rcv_string: string received '' cmyth_strdup(0x7fff5550) { cmyth_allocate_data(1, ret = 0x1056be0c, ref = 0x1056be00) { cmyth_allocate_data(1, ret = 0x1056be0c, ref = 0x1056be00) } cmyth_strdup str = 0x7fff5550[], len = 1, ret =0x1056be0c cmyth_strdup() } __cmyth_rcv_string: string received '' cmyth_strdup(0x7fff5550) { cmyth_allocate_data(1, ret = 0x1056be24, ref = 0x1056be18) { cmyth_allocate_data(1, ret = 0x1056be24, ref = 0x1056be18) } cmyth_strdup str = 0x7fff5550[], len = 1, ret =0x1056be24 cmyth_strdup() } __cmyth_rcv_string: string received '' cmyth_strdup(0x7fff5550) { cmyth_allocate_data(1, ret = 0x1056be3c, ref = 0x1056be30) { cmyth_allocate_data(1, ret = 0x1056be3c, ref = 0x1056be30) } cmyth_strdup str = 0x7fff5550[], len = 1, ret =0x1056be3c cmyth_strdup() } __cmyth_rcv_string: string received '4294967295' __cmyth_rcv_long: long long out of range: '4294967295' __cmyth_rcv_proginfo: cmyth_rcv_long() failed (34) cmyth_release(0x1056bbfc) { libs/libcmyth/alloc.c:441 cmyth_release(0x1056bbfc,ref = 0x1056bbf0,refcount = 0x1,length = 200) cmyth_proginfo_destroy { cmyth_release(0x1056bdf4) { libs/libcmyth/alloc.c:441 cmyth_release(0x1056bdf4,ref = 0x1056bde8,refcount = 0x1,length = 1) libs/libcmyth/alloc.c:460 cmyth_release() -- free it ...there are some interesting functions here. The "cmyth_rcv_string", "cmyth_rcv_long" and "cmyth_rcv_proginfo" which returns a failure! In "cmyth_rcv_long" if val is larger then limit the message that is found in the above dump "out of range" is printed. The value of limit appears to be "0x7fffffff". And the value of ... well, I'll leave that up to you as I have to get some sleep... :-). ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mvpmc-users mailing list Mvpmc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mvpmc-users mvpmc wiki: http://mvpmc.wikispaces.com/