Enigma2 next-master crashes on dm8000.
christophecvr 23 May 2016
@Littlesat.
The enigma2 next-master (build with pli-core master-next)
Does crash during start off e2 on dm8000 (vuduo2 no problem)
The enigma2 master last version is ok on dm8000 and vuduo2.
What does happen the profile file located in /etc/enigma2 is always emptied during start by dm8000 when using e2 next-master not by vuduo2. and not when using e2 master.
Included debug 4 level file dm8000 with e2-last-master-dm8000-ok and e2-last-next-master-dm8000-nok.
Attached Files
littlesat 23 May 2016
No idea at all... and troubleshooting is not possible by me as I do not own the DM8K...
christophecvr 23 May 2016
yes I gues it's better to erase the next-master and start with fresh clone off current master in next-master then .
littlesat 23 May 2016
I think it is better to locate the issue... it has something to do with the Wizard... but wierd...
it could also be a 'strange' config in /etc/enigma2/settings that is restored from the backup....
christophecvr 23 May 2016
On this point config and so I really tested all.
No I do not restore old backup.
I even did reflasheded the full box (whitout restore off anything.)
I even tried to replace the last py executed modules by that from e2 version master and so on.
No it is due to to much differences between master and next-master. When merging somewhere something has been erased .
This will be as good as impossible to trace.
But that is what I already was afraid off . enigma2 is to much alive. If then in next-master the differences are to big very severe bugs may arise up on merging. master to next-master.
A lot of commits out off master have not being taken into next-master and then especially with the many config changes we had this problems do arise. It is just share luck that it works on duo2.
p. s. I just tried forking last enigma2 removed the next-master branch. and cloned the master back into new next-master then just recoded the last servicemp3.cpp patch about pause/rapid fingers issue. since patch did not applied anymore and then rebuild.
all ok . The problem is the running off 130 commits behind master for next master.
christophecvr 23 May 2016
o yes but it's
This branch is 130 commits ahead, 6 commits behind master.
indeed 130 commits ahead but 6 behind. But anyway the problem is not in the behind commits.
Very very severe bug must be in the commits ahead
littlesat 23 May 2016
enigma2 -or- oe??? As far I can se enigma2 is not behind that much.... The issue seems to be E2 related.
Edited by littlesat, 23 May 2016 - 12:39.
christophecvr 23 May 2016
it is e2 has nothing to do with oe or pli-oe .
But first think You best do a new merge off master into master next.
Maybe it's just a problem with very very severe consequences into start wizard. But ...
the differences are really to big and with this 130 commits ahead ????? it's impossible to trace the very very severe bug but which is most probably a small code issue due to not correctly merged stuff
Edited by christophecvr, 23 May 2016 - 12:46.
Taapat 23 May 2016
@christophecvr maybe there is a difference in large numbers of commits, but in enigma2 code between master and master-next difference is small (see Files changed): https://github.com/O...are/next-master
Maybe on dm is the problem with overscanwizard?
Edited by Taapat, 23 May 2016 - 14:37.
christophecvr 23 May 2016
I do not know but anyway the next-master is behind master at this time so we can't compare.
The current master works 100 %
but I'm back to master next-master does not work
Edited by christophecvr, 23 May 2016 - 14:50.
Taapat 23 May 2016
Maybe I miss something but why can not compare?
We can see what has been changed directly in the master-next.
I see only three things:
1. Your servicemp3.cpp patch, which has nothing to do with this error .
2. Defult skin PLI-FullNightHD if HasFullHDSkinSupport. I think that this also is not the reason for the error.
3. OSD position setup and OSD 3D setup changed to Overscan Wizard and added in StartWizard.
christophecvr 23 May 2016
To start it's a must to have first an 100 % exact merged base. And that's not the case.
Other wise we are loosing a full day like now just to find out what's wrong.
mx3L 23 May 2016
3. there exists path of execution where you can register wizard NoneType instead of overscanWizard screen, so maybe that's the problem here:
Taapat 23 May 2016
And if MACHINE_FEATURES not contain "osdposition", then OSDPositionSetup plugin not included in the image and cause this error:
https://github.com/O...a2-image.bb#L63
Edited by Taapat, 23 May 2016 - 18:22.
littlesat 23 May 2016
Thanks for reporting and finding it. Could you please offer me a patch on github...
Edited by littlesat, 23 May 2016 - 19:46.
Taapat 23 May 2016
You think just remove check if the feature is there in openpli-enigma2-image.bb?
But what is the historical reason for this feature checking?
Maybe any receiver does not have required entry in the proc to use this plugin?
Edited by Taapat, 23 May 2016 - 20:09.
littlesat 24 May 2016
Edited by littlesat, 24 May 2016 - 06:56.
mx3L 24 May 2016
And if MACHINE_FEATURES not contain "osdposition", then OSDPositionSetup plugin not included in the image and cause this error:
marko@ openpli-oe-core2 $find . -maxdepth 1 -type d -name 'meta-*' -exec echo 'in' {} \; -exec grep -rl osdposition {} \; in ./meta-xsarius ./meta-xsarius/conf/machine/include/xsarius.inc in ./meta-formuler ./meta-formuler/conf/machine/include/formuler.inc in ./meta-edision ./meta-edision/conf/machine/osmini.conf in ./meta-hd ./meta-hd/conf/machine/include/hd.inc in ./meta-vuplus ./meta-vuplus/conf/machine/include/vuxxo2.inc ./meta-vuplus/conf/machine/include/vuxxo4k.inc ./meta-vuplus/conf/machine/include/vuxxo.inc in ./meta-xpeedc ./meta-xpeedc/conf/machine/include/xpeedc.inc in ./meta-zgemma ./meta-zgemma/conf/machine/include/zgemma.inc in ./meta-openembedded in ./meta-xp ./meta-xp/conf/machine/include/xp.inc in ./meta-local in ./meta-dream in ./meta-xtrend ./meta-xtrend/conf/machine/include/et7k.inc ./meta-xtrend/conf/machine/include/et.inc in ./meta-wetek in ./meta-openpli ./meta-openpli/recipes-openpli/images/openpli-enigma2-image.bb
meta-dream and meta-wetek doesn't contain it so indeed, that's the problem here.
christophecvr 24 May 2016
Well if the plugin
enigma2-plugin-systemplugins-osdpositionsetup
is installed on dm8000 no crash anymore
But this means the rule is not made right since it's a pli required plugin so I guess it must be :
ENIGMA2_PLUGINS = " \ enigma2-plugin-extensions-audiosync \ enigma2-plugin-extensions-autobackup \ enigma2-plugin-extensions-cutlisteditor \ enigma2-plugin-extensions-graphmultiepg \ enigma2-plugin-extensions-mediaplayer \ enigma2-plugin-extensions-mediascanner \ enigma2-plugin-extensions-moviecut \ enigma2-plugin-extensions-openwebif \ enigma2-plugin-extensions-pictureplayer \ enigma2-plugin-extensions-ppanel \ \ enigma2-plugin-pli-softcamsetup \ \ enigma2-plugin-systemplugins-fastscan \ enigma2-plugin-systemplugins-hotplug \ enigma2-plugin-systemplugins-networkbrowser \ enigma2-plugin-systemplugins-positionersetup \ enigma2-plugin-systemplugins-satfinder \ enigma2-plugin-systemplugins-skinselector \ enigma2-plugin-systemplugins-softwaremanager \ enigma2-plugin-systemplugins-videomode \ enigma2-plugin-systemplugins-videotune \ enigma2-plugin-systemplugins-osdpositionsetup \ \ ${@base_contains("MACHINE_FEATURES", "3dtv", "enigma2-plugin-systemplugins-osd3dsetup" , "", d)} \ ${@base_contains("MACHINE_FEATURES", "dvb-c", "enigma2-plugin-systemplugins-cablescan" , "", d)} \ ${@base_contains("MACHINE_FEATURES", "hdmicec", "enigma2-plugin-systemplugins-hdmicec" , "", d)} \ ${@base_contains("MACHINE_FEATURES", "wlan", "enigma2-plugin-systemplugins-wirelesslan", "", d)} \ \ ${@base_contains('OPENPLI_FEATURES', 'ci', 'enigma2-plugin-systemplugins-commoninterfaceassignment', '', d)} \ ${@base_contains('OPENPLI_FEATURES', 'dvd', 'enigma2-plugin-extensions-cdinfo enigma2-plugin-extensions-dvdplayer', '', d)} \ ${@base_contains('OPENPLI_FEATURES', 'fan', 'enigma2-plugin-systemplugins-tempfancontrol', '', d)} \ "
for master-next and master-for-gcc5 then while the enigma2.bb must have branch next-master in the oe
Edited by christophecvr, 24 May 2016 - 11:37.