Opened 16 years ago

Last modified 10 years ago

#2647 closed bug

runtime_loader error — at Version 2

Reported by: xspager Owned by: axeld
Priority: normal Milestone: R1
Component: System/runtime_loader Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: x86

Description (last modified by mmlr)

I got this errot in runtime loader, calling a program compiled by me:

~/src/VisualBoyAdvance-1.7.2/src/sdl> ./VisualBoyAdvance
runtime_loader: unhandled pheader type 0x68003300
runtime_loader: Troubles parsing Program headers, numRegions = -2147483632

i had a lot of trouble to get VisualBoyAdvande to compile, but the link process don't emit any warning, so i suppose that the binnary is ok. As sugested by DeadYak i put here the output of

objdump -x VisualBoyAdvance
VisualBoyAdvance:     file format elf32-i386
VisualBoyAdvance
architecture: i386, flags 0x00000150:
HAS_SYMS, DYNAMIC, D_PAGED
start address 0x000128d4

Program Header:
    LOAD off    0x00000000 vaddr 0x00000000 paddr 0x00000000 align 2**12
         filesz 0x000f5684 memsz 0x000f5684 flags r-x
    LOAD off    0x000f5684 vaddr 0x000f6684 paddr 0x000f6684 align 2**12
         filesz 0x0000701c memsz 0x0010999c flags rw-
 DYNAMIC off    0x000f6f60 vaddr 0x000f7f60 paddr 0x000f7f60 align 2**2
         filesz 0x00000100 memsz 0x00000100 flags rw-

Dynamic Section:
  NEEDED      libSDL.so
  NEEDED      libpng.so
  NEEDED      libgame.so
  NEEDED      libmedia.so
  NEEDED      libGL.so
  NEEDED      libbe.so
  NEEDED      libdevice.so
  NEEDED      libtextencoding.so
  NEEDED      libz.so
  NEEDED      libnetwork.so
  NEEDED      libroot.so
  SYMBOLIC    0x0
  INIT        0x1204c
  FINI        0xedb10
  HASH        0x94
  STRTAB      0x81c4
  SYMTAB      0x2754
  STRSZ       0x6217
  SYMENT      0x10
  PLTGOT      0xf8060
  PLTRELSZ    0x3c0
  PLTREL      0x11
  JMPREL      0x11c8c
  REL         0xe3dc
  RELSZ       0x38b0
  RELENT      0x8
  RELCOUNT    0x70c

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .hash         000026c0  00000094  00000094  00000094  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .dynsym       00005a70  00002754  00002754  00002754  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .dynstr       00006217  000081c4  000081c4  000081c4  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  3 .rel.dyn      000038b0  0000e3dc  0000e3dc  0000e3dc  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .rel.plt      000003c0  00011c8c  00011c8c  00011c8c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .init         0000001e  0001204c  0001204c  0001204c  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  6 .plt          00000790  0001206c  0001206c  0001206c  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  7 .text         000db310  00012800  00012800  00012800  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  8 .fini         00000019  000edb10  000edb10  000edb10  2**0
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  9 .rodata       00007b44  000edb40  000edb40  000edb40  2**5
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 10 .eh_frame     000018c4  000f6684  000f6684  000f5684  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 11 .ctors        00000010  000f7f48  000f7f48  000f6f48  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 12 .dtors        00000008  000f7f58  000f7f58  000f6f58  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 13 .dynamic      00000100  000f7f60  000f7f60  000f6f60  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 14 .got          00000d8c  000f8060  000f8060  000f7060  2**2
                  CONTENTS, ALLOC, LOAD, DATA
 15 .data         000048a0  000f8e00  000f8e00  000f7e00  2**5
                  CONTENTS, ALLOC, LOAD, DATA
 16 .bss          00102980  000fd6a0  000fd6a0  000fc6a0  2**5
                  ALLOC
 17 .comment      000006c0  00000000  00000000  000fc6a0  2**0
                  CONTENTS, READONLY
 18 .debug_aranges 00000060  00000000  00000000  000fcd60  2**0
                  CONTENTS, READONLY, DEBUGGING
 19 .debug_pubnames 00000106  00000000  00000000  000fcdc0  2**0
                  CONTENTS, READONLY, DEBUGGING
 20 .debug_info   00002e0d  00000000  00000000  000fcec6  2**0
                  CONTENTS, READONLY, DEBUGGING
 21 .debug_abbrev 0000044c  00000000  00000000  000ffcd3  2**0
                  CONTENTS, READONLY, DEBUGGING
 22 .debug_line   00001932  00000000  00000000  0010011f  2**0
                  CONTENTS, READONLY, DEBUGGING

Change History (2)

comment:1 by anevilyak, 16 years ago

Platform: x64x86

Update platform, we don't have an x64 rev at the moment.

comment:2 by mmlr, 16 years ago

Description: modified (diff)

How did you compile the binary? What compiler were you using? When you say you had a lot of trouble compiling, what kind of trouble do you mean? This rather looks like an incorrectly built binary and not like a runtime loader issue.

Note: See TracTickets for help on using tickets.