Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libcef.so: ELF load command alignment not page-aligned #366

Open
mayl0415 opened this issue Apr 22, 2024 · 3 comments
Open

libcef.so: ELF load command alignment not page-aligned #366

mayl0415 opened this issue Apr 22, 2024 · 3 comments

Comments

@mayl0415
Copy link

I'm encountering the following error when trying to load libcef.so:

"libcef.so: ELF load command alignment not page-aligned"

getconf PAGESIZE

65536

readelf -l /myl/jbr_jcef-17.0.6-aarch64-b469/lib/libcef.so

Elf file type is DYN (Shared object file)
Entry point 0x0
There are 11 program headers, starting at offset 64

Program Headers:
Type Offset VirtAddr PhysAddr
FileSiz MemSiz Flags Align
PHDR 0x0000000000000040 0x0000000000000040 0x0000000000000040
0x0000000000000268 0x0000000000000268 R 0x8
LOAD 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000001e83d44 0x0000000001e83d44 R 0x1000
LOAD 0x0000000001e83d80 0x0000000001e84d80 0x0000000001e84d80
0x0000000007cd2540 0x0000000007cd2540 R E 0x1000
LOAD 0x0000000009b562c0 0x0000000009b582c0 0x0000000009b582c0
0x000000000077cd70 0x000000000077cd70 RW 0x1000
LOAD 0x000000000a2d3030 0x000000000a2d6030 0x000000000a2d6030
0x000000000009a620 0x00000000002b3e01 RW 0x1000
TLS 0x0000000009b562c0 0x0000000009b582c0 0x0000000009b582c0
0x0000000000000038 0x0000000000000160 R 0x8
DYNAMIC 0x000000000a2a1720 0x000000000a2a3720 0x000000000a2a3720
0x00000000000003a0 0x00000000000003a0 RW 0x8
GNU_RELRO 0x0000000009b562c0 0x0000000009b582c0 0x0000000009b582c0
0x000000000077dd40 0x000000000077dd40 R 0x1
GNU_EH_FRAME 0x0000000001e7b5dc 0x0000000001e7b5dc 0x0000000001e7b5dc
0x0000000000001874 0x0000000000001874 R 0x4
GNU_STACK 0x0000000000000000 0x0000000000000000 0x0000000000000000
0x0000000000000000 0x0000000000000000 RW 0x0
NOTE 0x00000000000002a8 0x00000000000002a8 0x00000000000002a8
0x0000000000000044 0x0000000000000044 R 0x4

Section to Segment mapping:
Segment Sections...
00
01 .note.crashpad.info .note.gnu.build-id .dynsym .gnu.version .gnu.version_r .gnu.hash .dynstr .rela.dyn .rela.plt .rodata .gcc_except_table .eh_frame_hdr .eh_frame
02 .text .init .fini malloc_hook .plt
03 .tdata .fini_array .init_array .data.rel.ro .dynamic .got .got.plt
04 .tm_clone_table .data .bss
05 .tdata .tbss
06 .dynamic
07 .tdata .fini_array .init_array .data.rel.ro .dynamic .got .got.plt
08 .eh_frame_hdr
09
10 .note.crashpad.info .note.gnu.build-id

@mkartashev
Copy link
Collaborator

The message seems accurate, LOAD segment's addresses are not page-aligned. Could you please clarify how exactly did you encounter the error message?

@mayl0415
Copy link
Author

The message seems accurate, LOAD segment's addresses are not page-aligned. Could you please clarify how exactly did you encounter the error message?

My system is Linux arm64, and I have configured IDEA-IC with JBR-JCEF. After installing a JCEF-supported plugin, the plugin reports an error when starting IDEA

@mkartashev
Copy link
Collaborator

Can you give instructions on how to reproduce the problem? The name and version of the plugin, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants