I've asked again, Erik isn't online much due to health reasons.
[CutListEditor] Crash when called again
Re: [CutListEditor] Crash when called again #21
Posted 25 October 2021 - 09:46
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: [CutListEditor] Crash when called again #22
Re: [CutListEditor] Crash when called again #23
Posted 25 October 2021 - 19:12
I have done quite some work on this source file in the last year, but not in the section the error comes from. It might be related in some way though.
I still have the plan to revert all my changes to the file, because the code I added triggers a very ugly bug in glibc, especially on MIPS (less on ARM), but the code is needed for Broadcom transcoding integration. So I will revert all the change and create a filepush class especially for transcoding. That sounds logical and easy as well, but it's quite complex to integrate it into enigma as at various points enigma expects a "filepush" class and not a "transcoding_filepush_class_invented_by_me".
It would help if someone could reproduce the issue and actually print the values of both reported variables.
* Wavefrontier T90 with 28E/23E/19E/13E via SCR switches 2 x 2 x 6 user bands
I don't read PM -> if you have something to ask or to report, do it in the forum so others can benefit. I don't take freelance jobs.
Ik lees geen PM -> als je iets te vragen of te melden hebt, doe het op het forum, zodat anderen er ook wat aan hebben.
Re: [CutListEditor] Crash when called again #24
Posted 26 October 2021 - 06:24
@Erik Slagter - here are two created 'problematic' .cuts files
How is possible in most cases simulate on H7 wrong .cuts file:
- remove .cuts file
- open movie in CutListEditor
- skip to some time, use STOP for pause movie, then severals use "left/right" and set "remove before this position".
- exit editor
- open same movie again in CutListEditor ... it should crash, if not, try again similar steps
but on vs1500 is impossible for me create wrong .cuts file (but edit movie with 'corrupted' .cuts from H7 crash on vs1500 too)
Attached Files
Re: [CutListEditor] Crash when called again #25
Re: [CutListEditor] Crash when called again #26
Posted 26 October 2021 - 18:07
Are they relevant? The first one looks cosmetic.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: [CutListEditor] Crash when called again #27
Posted 2 January 2022 - 13:25
I put before 'ASSERTION' in filepush.cpp debug message:
eDebug("[* * * eFilePushThread * * *] current_span_remaining: %d m_blocksize: %d", current_span_remaining, m_blocksize);
And with problematic cuts file I got:
[* * * eFilePushThread * * *] current_span_remaining: 195484520 m_blocksize: 188 [eDVBServicePlay] have 1 video stream(s)../../git/lib/dvb/filepush.cpp:72 ASSERTION !(current_span_remaining % m_blocksize) FAILED!
Edited by ims, 2 January 2022 - 13:26.
Re: [CutListEditor] Crash when called again #29
Re: [CutListEditor] Crash when called again #30
Re: [CutListEditor] Crash when called again #31
Posted 23 January 2022 - 10:29
Maybe need apply this https://github.com/O...5ceb4e6f9a04594
Edited by Dimitrij, 23 January 2022 - 10:29.
GigaBlue UHD Quad 4K /Lunix3-4K/Duo 4K
Re: [CutListEditor] Crash when called again #32
Posted 23 January 2022 - 11:13
Writing cutlist as binary it solve, imho ...
No crash more....
I tried write cutlist twice to 2 files with "old" code (1,2) and you can see differences in size on attached screenshot in .cuts and .cuts1, cuts2.
PR is here
Attached Files
Edited by ims, 23 January 2022 - 11:18.
Re: [CutListEditor] Crash when called again #33
Re: [CutListEditor] Crash when called again #34
Re: [CutListEditor] Crash when called again #35
Re: [CutListEditor] Crash when called again #36
Posted 23 January 2022 - 15:00
In which case it is not much use to merge the PR?
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: [CutListEditor] Crash when called again #37
Re: [CutListEditor] Crash when called again #38
Posted 22 December 2022 - 19:02
The filepump requires fixed records, 188 bytes long, and expects remaining size to be an exact multiple of 188.
I'm looking in the cutlisteditor code, but nowhere is there a check on this size, whatever is the current position seems to be saved.
As the assert() in the filepump suggests the record size is a prerequisite for processing, I'd say the cutlisteditor has to make sure the data written in the cuelist should reflect that, but if I look at the code, all mark points are in time, not in bytes.
Which means dvb.cpp returns a non-aligned value somewhere, after seeking through the recording for a mark point in time.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: [CutListEditor] Crash when called again #39
Posted 22 December 2022 - 22:34
Bug found, fixed, and backported to 8.3-release.
Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)
Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.
Many answers to your question can be found in our new and improved wiki.
Re: [CutListEditor] Crash when called again #40
5 user(s) are reading this topic
0 members, 5 guests, 0 anonymous users