|
Message-ID: <CAEfvv4+6M=fY40hSrgQxkqLaYu7h5ZBefjUkewN1gaw94jjwQw@mail.gmail.com>
Date: Fri, 1 Mar 2019 07:23:50 -0500
From: James Larrowe <larrowe.semaj11@...il.com>
To: musl@...ts.openwall.com
Subject: Re: Segmentation fault on statically linked programs
Program received signal SIGSEGV, Segmentation fault.
0x00000000004018e6 in static_init_tls (aux=0x7fffffffdda0) at
src/env/__init_tls.c:90
90 if (phdr->p_type == PT_PHDR)
On Fri, Mar 1, 2019 at 7:23 AM James Larrowe <larrowe.semaj11@...il.com>
wrote:
> This is the output of GDB when musl and the program itself are built with
> -gdwarf-4 -g3 -fno-omit-frame-pointer:
>
>
> On Fri, Mar 1, 2019 at 7:08 AM James Larrowe <larrowe.semaj11@...il.com>
> wrote:
>
>> Any statically linked musl program gives a segmentation fault when run.
>>
>> Output of GDB debugger:
>>
>> Starting program: /home/chronos/user/Downloads/tarballs/busybox-1.30.1/test
>>
>> Program received signal SIGSEGV, Segmentation fault.
>> 0x0000000000401566 in __init_tls ()
>> (gdb) bt
>> #0 0x0000000000401566 in __init_tls ()
>> #1 0x0000000000000000 in ?? ()
>>
>>
>> Minimal example:
>>
>> int main(void) { return 0; }
>>
>>
>> Please CC me, I'm not subscribed to the list.
>>
>>
Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.