Jump to content


Photo

OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library


  • Please log in to reply
40 replies to this topic

Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #21 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 21 October 2017 - 13:51

@athoik this discussion have no sense @Erik Slagter know better what is bug and what is not bug.
He know better than kernel developers. He know better than author of these extension of ABI.
 
But I am afraid that he still not understand the issue.
 
Regards,
SSS


Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #22 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 October 2017 - 15:14

@SSS, both have valid arguments.

Personally I think since we have a regression in the kernel, since we have ready patch, let's apply it and see if that will solve the problem.


I'll send create the PR for et4x00 BSP soon, and let's hope that will fix problem, since I cannot test my self (no et4x00 hw available here).
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #23 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 21 October 2017 - 20:06

@athoik, what do we need compatibility with old binaries for?


Edited by Erik Slagter, 21 October 2017 - 20:06.

* 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: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #24 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 21 October 2017 - 20:27

Why not, kernel developer add something that is causing a regression and it was fixed, later.

(although nobody confirmed that patch I mention is really solving the issue)

Personally I have no problem adding a missing patch in kernel, that exists already in newer kernels.
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #25 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 22 October 2017 - 09:19

Although it's definitely something we do not need, I agree solving a regression in a simple way is always preferrable. I am quite allergic to all sorts of binary blobs, many of them related to illegal business (otherwise they could just as well supply the source code...)


* 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: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #26 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 22 October 2017 - 09:25

@Erik, Like I said, both @SSS and you, have valid arguments.

I guess completely dropping all closed source binaries (mostly cams) from feeds is something to consider for next major release.

Only the cams with sources should be build and delivered to feeds.

Edited by athoik, 22 October 2017 - 09:26.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #27 littlesat

  • PLi® Core member
  • 57,107 posts

+698
Excellent

Posted 22 October 2017 - 10:50

Why do you need all these binary blob cams while Oscam can do all?

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #28 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 22 October 2017 - 11:23

The softcams are a gray area. I guess the deserve some purpose. I'd rather have them out, but I guess Oscam will not suffice for every card available. We may or may not try to get them all out. It would be preferrable if it was possible, but maybe we can't.

 

In my previous statement I am rather referring to "other" binary blobs, by "3rd parties".


* 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: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #29 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 22 October 2017 - 12:59

maybe we should first look into which binaries are affected by this?

adding patches to older kernel's means that we need to start testing them and submitting PR's to their bsp-layers..

if it only concerns stuff like cccam, mgcamd etc.. then fuck 'm ;)



Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #30 Erik Slagter

  • PLi® Core member
  • 46,969 posts

+541
Excellent

Posted 22 October 2017 - 15:24

Please go ahead and start the investigation. I already know the outcome.

 

- almost all binaries are generated by OE during the build process and are by definition compatible because they were built against the same libs

- some closed source softcams

- a few binaries that the developer doesn't care to make a recipe for

 

In the last category:

 

- the developer lacks the skills to do that, I guess we should step in there

- the developer has something to hide, I don't want to see or support these binaries, especially also because they violate the GPL license they're bound to


* 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: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #31 XRayhTec

  • Senior Member
  • 449 posts

+8
Neutral

Posted 25 October 2017 - 10:09

Hi,

 

I applied Set O32 default FPU flags patch to kernel 4.0.1 on et4000 (mips32el-nf)

 

This results in:

 /usr/local/hbb-browser/lib/hbbtv.app: Accessing a corrupted shared library

 

For this case the patch is not working.

 

When building without the -nf everything is working as intended.

 

Regards,


607xRAYHTECV13

ET4x00RAYHTEC4.0

XP1000RAYHTEC7B

H9COMBORAYHTEC9b


Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #32 XRayhTec

  • Senior Member
  • 449 posts

+8
Neutral

Posted 25 October 2017 - 11:35

Now the better news

 

I now applied:

Improve the overall ABI and FPU mode checks patch

Set O32 default FPU flags patch

 

No more "Accessing a corrupted shared library" :)

 

Regards,


607xRAYHTECV13

ET4x00RAYHTEC4.0

XP1000RAYHTEC7B

H9COMBORAYHTEC9b


Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #33 MastaG

  • Senior Member
  • 1,531 posts

+118
Excellent

Posted 25 October 2017 - 19:10

Thanks xrayhtec for verifying.
Now somebody needs to start forking all meta- bsp layers and submit a shitload of pull requests.

Respect for the members doing this, but I'm not going to be the one saving other people's precious cccam ;)

Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #34 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 25 October 2017 - 22:06

Now the better news
 
I now applied:
Improve the overall ABI and FPU mode checks patch
Set O32 default FPU flags patch
 
No more "Accessing a corrupted shared library" :)
 
Regards,


Can you create a PR here? https://github.com/X...eam/meta-xtrend

Or just provide the hash of patch "Improve the overall ABI and FPU mode checks patch" in order to add it to existing PR.

@MastaG, I think only et4x00 is affected.

Edited by athoik, 25 October 2017 - 22:06.

Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #35 samsamsam

  • Senior Member
  • 2,024 posts

+146
Excellent

Posted 25 October 2017 - 22:34

@athoik

 

What about XP1000?

 

Regards,

SSS



Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #36 athoik

  • PLi® Core member
  • 8,458 posts

+327
Excellent

Posted 25 October 2017 - 22:43

I thought that older kernel was used on xp1000, but they use 4.0.1 too.

So patches for meta-xp required too!
Wavefield T90: 0.8W - 1.9E - 4.8E - 13E - 16E - 19.2E - 23.5E - 26E - 33E - 39E - 42E - 45E on EMP Centauri DiseqC 16/1
Unamed: 13E Quattro - 9E Quattro on IKUSI MS-0916

Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #37 XRayhTec

  • Senior Member
  • 449 posts

+8
Neutral

Posted 26 October 2017 - 11:37

 

Now the better news
 
I now applied:
Improve the overall ABI and FPU mode checks patch
Set O32 default FPU flags patch
 
No more "Accessing a corrupted shared library" :)
 
Regards,


Can you create a PR here? https://github.com/X...eam/meta-xtrend

Or just provide the hash of patch "Improve the overall ABI and FPU mode checks patch" in order to add it to existing PR.

@MastaG, I think only et4x00 is affected.

 

Unfortunately I have no idea how to do such. I am not familiar with github.

 

However the error message does not arise anymore but the application is also not  responding as intended. I have to figure out what happens there.

For functionality I still stick to Building without -nf.

 

Regards,


607xRAYHTECV13

ET4x00RAYHTEC4.0

XP1000RAYHTEC7B

H9COMBORAYHTEC9b


Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #38 XRayhTec

  • Senior Member
  • 449 posts

+8
Neutral

Posted 26 October 2017 - 15:33

Hello,

 

Some deeper investigation

 

Hello,

 

The soft-float ABIFLAGS + no ABIFLAGS combination combination binaries cause faile "Accessing a corrupted shared library".

This problem is confirmed issue and related to ABIFLAGS  extenstion please read:

https://www.linux-mi...1/msg00290.html

for more information.

 

This cause problem when you want to run mipsel binaries compiled without ABIFLAGS extensions and use shared libraries compiled with this extension and vice versa.

 

 

The application I used for investigation indicates following:

File Attributes
  Tag_GNU_MIPS_ABI_FP: Hard float (double precision)

 

So this is different than the initial problem (soft-float ABIFLAGS + no ABIFLAGS combination)

 

My combination hard-float ABI flags + soft-float ABI flags.

 

Despite the error message is gone in this case the application is not running and something says me that never will be. Correct me if I am wrong.

 

 

Regards,

 

 

 


607xRAYHTECV13

ET4x00RAYHTEC4.0

XP1000RAYHTEC7B

H9COMBORAYHTEC9b


Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #39 dobrogi

  • Member
  • 14 posts

+1
Neutral

Posted 29 October 2017 - 18:18

I thought that older kernel was used on xp1000, but they use 4.0.1 too.

So patches for meta-xp required too!

 

Yes, my XP1000 box is also affected.
ffmpeg3.2.2: error: "Accessing a corrupted shared library"

Regards, Celeburdi


Edited by dobrogi, 29 October 2017 - 18:21.


Re: OpenPLI 6 - the soft-float ABIFLAGS + no ABIFLAGS -> Accessing a corrupted shared library #40 gorski

  • Senior Member
  • 1,699 posts

+46
Good

Posted 30 October 2017 - 11:55

The problem was reported here, for instance: https://forums.openp...dreambox/page-2

 

I tested in XP1000 with OpenPLi 6 and no joy. OpenPLi 4, in the same box, was OK > IPTV Player was fine.

 

As an IT lay person my gut feeling was correct, I see from SSS and Athoik posts now...

 

"Yeah, it seems to me - an IT lay person - that OPenPLi 6 has a number of things different and so some older things might be missing and then... we have to find a way around them..." Now I "understand" a bit better... :)

 

https://forums.openp...and-info/page-3

 

Thanx to SSS, Athoik and co. for investigating and trying...


Edited by gorski, 30 October 2017 - 11:57.

<span style='font-family: comic sans ms,cursive'>"Enlightenment is man's emergence from his self-incurred immaturity. Immaturity is the inability to use one's own understanding without the guidance of another. This immaturity is self-incurred if its cause is not lack of understanding, but lack of resolution and courage to use it without the guidance of another. The motto of enlightenment is therefore: Sapere aude! Have courage to use your own understanding!</span><br /> <br /><span style='font-family: comic sans ms,cursive'>Laziness and cowardice are the reasons why such a large proportion of men, even when nature has long emancipated them from alien guidance..." I. Kant, "Political writings" (1784)</span><br /> <br /><span style='font-family: comic sans ms,cursive'><a class='bbc_url' href='<a class='bbc_url' href='http://eserver.org/p...lightenment.txt'>http://eserver.org/p...ent.txt</a>'><a class='bbc_url' href='http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a>'>http://www.english.upenn.edu/~mgamer/Etexts/kant.html</a></a> - the jolly text on Enlightenment, at the basis of Modernity...</span>


3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users