Skip Menu |

This queue is for tickets about the Net-SSLeay CPAN distribution.

Report information
The Basics
Id: 107628
Status: open
Priority: 0/
Queue: Net-SSLeay

People
Owner: Nobody in particular
Requestors: salatiel.filho [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Segmentation fault on openwrt
Date: Thu, 8 Oct 2015 12:06:41 -0300
To: bug-Net-SSLeay [...] rt.cpan.org
From: Salatiel Filho <salatiel.filho [...] gmail.com>
Hello, i have cross compiled Net::SSLeay module to use on my openwrt router. The module compilation was flawless, but when i try to 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
Subject: Re: [rt.cpan.org #107628] Segmentation fault on openwrt
Date: Fri, 09 Oct 2015 09:44:46 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
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: Show quoted text
> 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 to 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 http://www.airspayce.com Phone +61 7 5598-7474
Subject: Re: [rt.cpan.org #107628] Segmentation fault on openwrt
Date: Thu, 8 Oct 2015 20:58:57 -0300
To: bug-Net-SSLeay [...] rt.cpan.org
From: Salatiel Filho <salatiel.filho [...] gmail.com>
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: Show quoted text
> <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 to 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 > http://www.airspayce.com > Phone +61 7 5598-7474 > >
Subject: Re: [rt.cpan.org #107628] Segmentation fault on openwrt
Date: Fri, 09 Oct 2015 10:12:18 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
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: Show quoted text
> 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 to 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 > > 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
Subject: Re: [rt.cpan.org #107628] Segmentation fault on openwrt
Date: Thu, 8 Oct 2015 21:25:54 -0300
To: bug-Net-SSLeay [...] rt.cpan.org
From: Salatiel Filho <salatiel.filho [...] gmail.com>
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? On Oct 8, 2015 9:13 PM, "Mike McCauley via RT" <bug-Net-SSLeay@rt.cpan.org> wrote: Show quoted text
> <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 to 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 > > > 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 > > >
Subject: Re: [rt.cpan.org #107628] Segmentation fault on openwrt
Date: Fri, 09 Oct 2015 10:30:48 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Hi, On Thursday, October 08, 2015 08:26:11 PM you wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > 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. Show quoted text
> 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 to 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 > > > > 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
-- 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
Subject: Re: [rt.cpan.org #107628] Segmentation fault on openwrt
Date: Thu, 8 Oct 2015 21:36:18 -0300
To: bug-Net-SSLeay [...] rt.cpan.org
From: Salatiel Filho <salatiel.filho [...] gmail.com>
Have a Nice trip :) On Oct 8, 2015 9:31 PM, "Mike McCauley via RT" <bug-Net-SSLeay@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > Hi, > > On Thursday, October 08, 2015 08:26:11 PM you wrote:
> > Queue: Net-SSLeay > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > 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 to
> 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
> > > > > 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
> > -- > 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 > > >
Subject: Re: [rt.cpan.org #107628] Segmentation fault on openwrt
Date: Fri, 09 Oct 2015 10:44:46 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
Hi again, do you think this wil be a reasonable process to use to run your image on vmware: https://wiki.openwrt.org/oldwiki/runningkamikazeonvmwarehowto On Thursday, October 08, 2015 08:36:36 PM Salatiel Filho via RT wrote: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > Have a Nice trip :) > On Oct 8, 2015 9:31 PM, "Mike McCauley via RT" <bug-Net-SSLeay@rt.cpan.org> > > wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > Hi, > > > > On Thursday, October 08, 2015 08:26:11 PM you wrote:
> > > Queue: Net-SSLeay > > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > > > 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 to
> > > > 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 > >
> > > > > > 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
> > > > -- > > 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
Subject: Re: [rt.cpan.org #107628] Segmentation fault on openwrt
Date: Thu, 8 Oct 2015 22:06:03 -0300
To: bug-Net-SSLeay [...] rt.cpan.org
From: Salatiel Filho <salatiel.filho [...] gmail.com>
The architecture is mips, recompiling for x86 maybe hide the real 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> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > Hi again, > > do you think this wil be a reasonable process to use to run your image on > vmware: > > https://wiki.openwrt.org/oldwiki/runningkamikazeonvmwarehowto > > On Thursday, October 08, 2015 08:36:36 PM Salatiel Filho via RT wrote:
> > Queue: Net-SSLeay > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > Have a Nice trip :) > > On Oct 8, 2015 9:31 PM, "Mike McCauley via RT" <
> bug-Net-SSLeay@rt.cpan.org>
> > > > wrote:
> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > > > Hi, > > > > > > On Thursday, October 08, 2015 08:26:11 PM you wrote:
> > > > Queue: Net-SSLeay > > > > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > > > > > 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 to
> > > > > > 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 > > >
> > > > > > > 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
> > > > > > -- > > > 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 > > >

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #107628] Segmentation fault on openwrt
Date: Fri, 09 Oct 2015 11:16:18 +1000
To: bug-Net-SSLeay [...] rt.cpan.org
From: Mike McCauley <mikem [...] airspayce.com>
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: Show quoted text
> Queue: Net-SSLeay > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > The architecture is mips, recompiling for x86 maybe hide the real 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> > > wrote:
> > <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > Hi again, > > > > do you think this wil be a reasonable process to use to run your image on > > vmware: > > > > https://wiki.openwrt.org/oldwiki/runningkamikazeonvmwarehowto > > > > On Thursday, October 08, 2015 08:36:36 PM Salatiel Filho via RT wrote:
> > > Queue: Net-SSLeay > > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > > > Have a Nice trip :) > > > On Oct 8, 2015 9:31 PM, "Mike McCauley via RT" <
> > > > bug-Net-SSLeay@rt.cpan.org> > >
> > > wrote:
> > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > > > > > Hi, > > > > > > > > On Thursday, October 08, 2015 08:26:11 PM you wrote:
> > > > > Queue: Net-SSLeay > > > > > > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > > > > > > > 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 > > > > > > > >> to
> > > > > > > > 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 > > > >
> > > > > > > > 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
> > > > > > > > -- > > > > 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
-- 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
Subject: Re: [rt.cpan.org #107628] Segmentation fault on openwrt
Date: Thu, 8 Oct 2015 22:20:04 -0300
To: bug-Net-SSLeay [...] rt.cpan.org
From: Salatiel Filho <salatiel.filho [...] gmail.com>
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: Show quoted text
> <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:
> > Queue: Net-SSLeay > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > The architecture is mips, recompiling for x86 maybe hide the real
> 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>
> > > > wrote:
> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > > > Hi again, > > > > > > do you think this wil be a reasonable process to use to run your image
> on
> > > vmware: > > > > > > https://wiki.openwrt.org/oldwiki/runningkamikazeonvmwarehowto > > > > > > On Thursday, October 08, 2015 08:36:36 PM Salatiel Filho via RT wrote:
> > > > Queue: Net-SSLeay > > > > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > > > > > Have a Nice trip :) > > > > On Oct 8, 2015 9:31 PM, "Mike McCauley via RT" <
> > > > > > bug-Net-SSLeay@rt.cpan.org> > > >
> > > > wrote:
> > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > > > > > > > > > > > Hi, > > > > > > > > > > On Thursday, October 08, 2015 08:26:11 PM you wrote:
> > > > > > Queue: Net-SSLeay > > > > > > > > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628
> >
> > > > > > > > > > > > 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
> > > > > > > > >> to
> > > > > > > > > > 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 > > > > >
> > > > > > > > > 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
> > > > > > > > > > -- > > > > > 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
> > -- > 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 > >

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #107628] Segmentation fault on openwrt
Date: Thu, 8 Oct 2015 22:28:30 -0300
To: bug-Net-SSLeay [...] rt.cpan.org
From: Salatiel Filho <salatiel.filho [...] gmail.com>
Where can i send you the ip address , username and password? On Oct 8, 2015 10:20 PM, "Salatiel Filho" <salatiel.filho@gmail.com> wrote: Show quoted text
> 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:
>> > Queue: Net-SSLeay >> > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > >> > >> > The architecture is mips, recompiling for x86 maybe hide the real
>> 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>
>> > >> > wrote:
>> > > <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > >> > > >> > > Hi again, >> > > >> > > do you think this wil be a reasonable process to use to run your
>> image on
>> > > vmware: >> > > >> > > https://wiki.openwrt.org/oldwiki/runningkamikazeonvmwarehowto >> > > >> > > On Thursday, October 08, 2015 08:36:36 PM Salatiel Filho via RT wrote:
>> > > > Queue: Net-SSLeay >> > > > >> > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > >> > > > >> > > > Have a Nice trip :) >> > > > On Oct 8, 2015 9:31 PM, "Mike McCauley via RT" <
>> > > >> > > bug-Net-SSLeay@rt.cpan.org> >> > >
>> > > > wrote:
>> > > > > <URL: https://rt.cpan.org/Ticket/Display.html?id=107628 > >> > > > > >> > > > > Hi, >> > > > > >> > > > > On Thursday, October 08, 2015 08:26:11 PM you wrote:
>> > > > > > Queue: Net-SSLeay >> > > > > > >> > > > > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=107628
>> >
>> > > > > > >> > > > > > 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
>> > > > > > > > >> to
>> > > > > >> > > > > 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 >> > > > >
>> > > > > > > > > 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
>> > > > > >> > > > > -- >> > > > > 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
>> >> -- >> 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 >> >>

Message body is not shown because it is too large.