public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug dynamic-link/28293] New: Problem with correct __ehdr_start value on ARM's QEMU boot
@ 2021-08-31 10:40 lukma at denx dot de
  0 siblings, 0 replies; only message in thread
From: lukma at denx dot de @ 2021-08-31 10:40 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28293

            Bug ID: 28293
           Summary: Problem with correct __ehdr_start value on ARM's QEMU
                    boot
           Product: glibc
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: dynamic-link
          Assignee: unassigned at sourceware dot org
          Reporter: lukma at denx dot de
  Target Milestone: ---

Dear community,

The patch: "arm: Simplify elf_machine_{load_address,dynamic}"
(SHA1: bca0f5cbc9257c13322b99e55235c4f21ba0bd82)

causes QEMU based ARM 32 bit system to be bricked when `init` is killed with
-SIGSEGV error.

Reverting this patch causes the board to boot again.

Test environment:
ARMv7 (32 bit) with QEMU.
meta-y2038 (https://github.com/lmajewski/meta-y2038).

The kernel's OOPs:
[    3.972443] Run /sbin/init as init process                                   
[    4.047873] Kernel panic - not syncing: Attempted to kill init!
exitcode=0x0000000b       
[    4.048465] CPU: 1 PID: 1 Comm: init Not tainted
5.1.21-y2038-4a9b1eb8bc3ba4ad8b3b1aa3317cf8d4a3aaad83 #1                        
[    4.048860] Hardware name: ARM-Versatile Express                             
[    4.049900] [<80110598>] (unwind_backtrace) from [<8010c1e4>]
(show_stack+0x10/0x14)                          
[    4.050165] [<8010c1e4>] (show_stack) from [<80712438>]
(dump_stack+0x80/0x94)
[    4.050337] [<80712438>] (dump_stack) from [<80120598>] (panic+0x10c/0x2cc)  
[    4.050575] [<80120598>] (panic) from [<80124884>] (do_exit+0x9ec/0xa74)     
[    4.050734] [<80124884>] (do_exit) from [<8012572c>]
(do_group_exit+0x3c/0xd0)
[    4.050903] [<8012572c>] (do_group_exit) from [<80131818>]
(get_signal+0x168/0x89c)                                                        
[    4.051074] [<80131818>] (get_signal) from [<8010b7fc>]
(do_work_pending+0x114/0x584)
[    4.051250] [<8010b7fc>] (do_work_pending) from [<8010106c>]
(slow_work_pending+0xc/0x20)
[    4.051498] Exception stack(0xbf0b3fb0 to 0xbf0b3ff8)                
[    4.051743] 3fa0:                                     b7fd2964 b7fd296c
b7fd28ec b7fd28e4
[    4.052025] 3fc0: b7fd295c 76fd2000 76ffef84 7eb36ec0 6ffffeff 6fffff41
b7fd2994 00000000
[    4.052283] 3fe0: b7fd2994 7eb36eb8 00000028 76fd3360 80000030 ffffffff
[    4.052758] CPU0: stopping                                      
[    4.052850] CPU: 0 PID: 0 Comm: swapper/0 Not tainted
5.1.21-y2038-4a9b1eb8bc3ba4ad8b3b1aa3317cf8d4a3aaad83 #1
[    4.053046] Hardware name: ARM-Versatile Express                             
[    4.053169] [<80110598>] (unwind_backtrace) from [<8010c1e4>]
(show_stack+0x10/0x14)          
[    4.053337] [<8010c1e4>] (show_stack) from [<80712438>]
(dump_stack+0x80/0x94)                      
[    4.053490] [<80712438>] (dump_stack) from [<8010f264>]
(handle_IPI+0x334/0x368)                           
[    4.053656] [<8010f264>] (handle_IPI) from [<80448758>]
(gic_handle_irq+0x8c/0x90)                                  
[    4.053817] [<80448758>] (gic_handle_irq) from [<80101a8c>]
(__irq_svc+0x6c/0x90)
[    4.053970] Exception stack(0x80b01f10 to 0x80b01f58)
[    4.054132] 1f00:                                     00000000 00000000
000047f8 801190c0
[    4.054384] 1f20: 00000000 80b00000 00000000 00000000 80b08c30 80b08c6c
80a69950 80b01f68
[    4.054594] 1f40: 00000000 80b01f60 80108c20 80108c24 60000013 ffffffff
[    4.054760] [<80101a8c>] (__irq_svc) from [<80108c24>]
(arch_cpu_idle+0x38/0x3c)
[    4.054922] [<80108c24>] (arch_cpu_idle) from [<801500c0>]
(do_idle+0x214/0x288)
[    4.055119] [<801500c0>] (do_idle) from [<801503dc>]
(cpu_startup_entry+0x18/0x1c)
[    4.055343] [<801503dc>] (cpu_startup_entry) from [<80a00e64>]
(start_kernel+0x454/0x48c)
[    4.055971] ---[ end Kernel panic - not syncing: Attempted to kill init!
exitcode=0x0000000b ]---

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-31 10:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-31 10:40 [Bug dynamic-link/28293] New: Problem with correct __ehdr_start value on ARM's QEMU boot lukma at denx dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).