> If gdb shows the error, i can help you with the compilation very easy.
> On Oct 8, 2015 10:17 PM, "Mike McCauley via RT" <
> bug-Net-SSLeay@rt.cpan.org> wrote:
>
>> <URL:
https://rt.cpan.org/Ticket/Display.html?id=107628 >
>>
>> Hmmm, mips.
>>
>> Might have to use qemu.
>>
>> But I would also need to be able to do the cross-compile to build and
>> test a
>> fix (assuming I get that far).
>>
>> This is going to be tricky.
>>
>> On Thursday, October 08, 2015 09:06:17 PM Salatiel Filho via RT wrote:
>> problem.
>> > I will probably be able to finish one image till tomorrow. Compiling
>> gdb Is
>> > really simple, just one option on the openwrt sdk.
>> > On Oct 8, 2015 9:45 PM, "Mike McCauley via RT" <
>> bug-Net-SSLeay@rt.cpan.org>
>> image on
>> >
>> > > > > >
>> > > > > > I will get the environment ready until Tuesday, ok?
>> > > > > >
>> > > > > > The device has 128Mb RAM, with about 70Mb free when i get the
>> seg
>> > >
>> > > fault.
>> > >
>> > > > > I
>> > > > >
>> > > > > > got no core dumps just the seg fault. I will try to add some
>> swap
>> > > > > > and
>> > > > >
>> > > > > make
>> > > > >
>> > > > > > the rest anyway.
>> > > > > > I will get back to you on Tuesday, ok?
>> > > > >
>> > > > > Fine.
>> > > > > Actually I am travelling for 2 weeks from Mon Oct 12, so no hurry
>> on
>> > > > > my
>> > > > > account.
>> > > > >
>> > > > > Cheers.
>> > > > >
>> > > > > > On Oct 8, 2015 9:13 PM, "Mike McCauley via RT" <
>> > > > >
>> > > > > bug-Net-SSLeay@rt.cpan.org>
>> > > > >
>> > > > > > wrote:
>> > > > > > > <URL:
https://rt.cpan.org/Ticket/Display.html?id=107628 >
>> > > > > > >
>> > > > > > > Hi,
>> > > > > > >
>> > > > > > > Thanks.
>> > > > > > > For preference, gdb
>> > > > > > > also perhaps perl compiled for debugging.
>> > > > > > >
>> > > > > > > Speaking of memory, is it possible the device is running out
>> of
>> > >
>> > > memory
>> > >
>> > > > > > > even
>> > > > > > > while trying to load perl+openssl+ssleay? I see the crash is
>> in
>> > >
>> > > break
>> > >
>> > > > > > > which
>> > > > > > > indicates a memory issue.
>> > > > > > >
>> > > > > > > Are you getting core dumps?
>> > > > > > >
>> > > > > > > Cheers.
>> > > > > > >
>> > > > > > > On Thursday, October 08, 2015 07:59:33 PM you wrote:
>> > > > > > > > Queue: Net-SSLeay
>> > > > > > > >
>> > > > > > > > Ticket <URL:
>>
https://rt.cpan.org/Ticket/Display.html?id=107628
>> > > > > > > >
>> > > > > > > > Hi Mike, i dont know if it will be easy to simulate the
>> problem
>> > >
>> > > on
>> > >
>> > > > > > > > virtual machines.
>> > > > > > > > I can give you ssh access to my router if you want to. What
>> > >
>> > > tools do
>> > >
>> > > > > > > > you need to debug ?
>> > > > > > > > I will try to build one openwrt image with the tools you
>> need,
>> > >
>> > > but
>> > >
>> > > > > the
>> > > > >
>> > > > > > > > space is really limited (32MB flash only).
>> > > > > > > >
>> > > > > > > > []'s
>> > > > > > > > Salatiel
>> > > > > > > >
>> > > > > > > >
>> > > > > > > > On Thu, Oct 8, 2015 at 8:45 PM, Mike McCauley via RT
>> > > > > > > >
>> > > > > > > > <bug-Net-SSLeay@rt.cpan.org> wrote:
>> > > > > > > > > <URL:
https://rt.cpan.org/Ticket/Display.html?id=107628 >
>> > > > > > > > >
>> > > > > > > > > Hi,
>> > > > > > > > >
>> > > > > > > > > I dont really know where to start with this one.
>> > > > > > > > >
>> > > > > > > > > Can you document a way to reproduce the problem perhaps
>> in a
>> > >
>> > > VM on
>> > >
>> > > > > > > Linux?
>> > > > > > >
>> > > > > > > > > Cheers.
>> > > > > > > > >
>> > > > > > > > > On Thursday, October 08, 2015 11:07:13 AM Salatiel Filho
>> via
>> > > > > > > > > RT
>> > > > >
>> > > > > wrote:
>> > > > > > > > >> Thu Oct 08 11:07:12 2015: Request 107628 was acted upon.
>> > > > > > > > >> Transaction: Ticket created by salatiel.filho@gmail.com
>> > > > > > > > >>
>> > > > > > > > >> Queue: Net-SSLeay
>> > > > > > > > >>
>> > > > > > > > >> Subject: Segmentation fault on openwrt
>> > > > > > > > >>
>> > > > > > > > >> Broken in: (no value)
>> > > > > > > > >>
>> > > > > > > > >> Severity: (no value)
>> > > > > > > > >>
>> > > > > > > > >> Owner: Nobody
>> > > > > > > > >>
>> > > > > > > > >> Requestors: salatiel.filho@gmail.com
>> > > > > > > > >>
>> > > > > > > > >> Status: new
>> > > > > > > > >>
>> > > > > > > > >> Ticket <URL:
>> > >
https://rt.cpan.org/Ticket/Display.html?id=107628 >
>> > >
>> > > > > > > > >> Hello, i have cross compiled Net::SSLeay module to use
>> on my
>> > > > >
>> > > > > openwrt
>> > > > >
>> > > > > > > > >> router. The module compilation was flawless, but when i
>> try
>> > > > >
>> > > > > use i
>> > > > >
>> > > > > > > > >> get segmentation fault.
>> > > > > > > > >>
>> > > > > > > > >> A simple perl script will seg fault on the first line:
>> > > > > > > > >>
>> > > > > > > > >> use Net::SSLeay;
>> > > > > > > > >>
>> > > > > > > > >> I will try to gather more information, but for now strace
>> > > > > > > > >> ends
>> > > > >
>> > > > > with:
>> > > > > > > > >> close(4) = 0
>> > > > > > > > >> brk(0xbf3000) = 0xbf3000
>> > > > > > > > >> brk(0xbf4000) = 0xbf4000
>> > > > > > > > >> brk(0xbf5000) = 0xbf5000
>> > > > > > > > >> brk(0xbf6000) = 0xbf6000
>> > > > > > > > >> brk(0xbf7000) = 0xbf7000
>> > > > > > > > >> brk(0xbf8000) = 0xbf8000
>> > > > > > > > >> brk(0xbf9000) = 0xbf9000
>> > > > > > > > >> brk(0xbfa000) = 0xbfa000
>> > > > > > > > >> brk(0xbfb000) = 0xbfb000
>> > > > > > > > >> brk(0xbfc000) = 0xbfc000
>> > > > > > > > >> brk(0xbfd000) = 0xbfd000
>> > > > > > > > >> brk(0xbfe000) = 0xbfe000
>> > > > > > > > >> brk(0xbff000) = 0xbff000
>> > > > > > > > >> brk(0xc00000) = 0xc00000
>> > > > > > > > >> brk(0xc01000) = 0xc01000
>> > > > > > > > >> brk(0xc02000) = 0xc02000
>> > > > > > > > >> brk(0xc03000) = 0xc03000
>> > > > > > > > >> brk(0xc04000) = 0xc04000
>> > > > > > > > >> brk(0xc05000) = 0xc05000
>> > > > > > > > >> brk(0xc06000) = 0xc06000
>> > > > > > > > >> brk(0xc07000) = 0xc07000
>> > > > > > > > >> brk(0xc08000) = 0xc08000
>> > > > > > > > >> brk(0xc09000) = 0xc09000
>> > > > > > > > >> brk(0xc0a000) = 0xc0a000
>> > > > > > > > >> brk(0xc0b000) = 0xc0b000
>> > > > > > > > >> brk(0xc0c000) = 0xc0c000
>> > > > > > > > >> brk(0xc0d000) = 0xc0d000
>> > > > > > > > >> brk(0xc0e000) = 0xc0e000
>> > > > > > > > >> brk(0xc0f000) = 0xc0f000
>> > > > > > > > >> brk(0xc10000) = 0xc10000
>> > > > > > > > >> brk(0xc11000) = 0xc11000
>> > > > > > > > >> brk(0xc12000) = 0xc12000
>> > > > > > > > >> brk(0xc13000) = 0xc13000
>> > > > > > > > >> brk(0xc14000) = 0xc14000
>> > > > > > > > >> brk(0xc15000) = 0xc15000
>> > > > > > > > >> --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR,
>> > > > > > >
>> > > > > > > si_addr=0x4849535c}
>> > > > > > >
>> > > > > > > > >> ---
>> > > > > > > > >> +++ killed by SIGSEGV +++
>> > > > > > > > >>
>> > > > > > > > >> What information can i provide to help fixing this ?
>> > > > > > > > >>
>> > > > > > > > >>
>> > > > > > > > >> []'s
>> > > > > > > > >> Salatiel
>> > > > > > > > >
>> > > > > > > > > --
>> > > > > > > > > Mike McCauley VK4AMM
>> > > > >
>> > > > > mikem@airspayce.com
>> > > > >
>> > > > > > > > > Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223
>> > > > >
>> > > > > Australia
>> > > > >
>> > > > > > >
>> > > > > > > --
>> > > > > > > Mike McCauley VK4AMM
>> > >
>> > > mikem@airspayce.com
>> > >
>> > > > > > > Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223
>> > >
>> > > Australia
>> > >
>> > > > >
>> > > > > --
>> > > > > Mike McCauley VK4AMM
>> mikem@airspayce.com
>> > > > > Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223
>> Australia
>> > >
>> > > --
>> > > Mike McCauley VK4AMM mikem@airspayce.com
>> > > Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia
>> > >
http://www.airspayce.com
>> > > Phone +61 7 5598-7474
>>
>> --
>> Mike McCauley VK4AMM mikem@airspayce.com
>> Airspayce Pty Ltd 9 Bulbul Place Currumbin Waters QLD 4223 Australia
>>
http://www.airspayce.com
>> Phone +61 7 5598-7474
>>
>>