Mailing List Archive

POST large amount of data causes segmentation fault
Hi,

I have in my code

$req = Apache2::Request->new($r);

My code gets to line 41 then causes a "child pid 13766 exit signal Segmentation fault (11)"

$r->log_error("LINE 41") ;
@number = split /\//, $req->param("numbers") ;
$r->log_error("LINE 43") ;

the incoming numbers contains a string of mobile numbers which in this test is 3900 numbers long and each number is 10-12 characters long. javascript tells me the length of the posted string is 42260 characters long.

Any idea how to fix this problem?

httpd -v
Server version: Apache/2.2.15 (Unix)
Server built: Jun 19 2018 15:45:13

but I get the same error on the production server which is

Server version: Apache/2.4.6 (CentOS)
Server built: Aug 8 2019 11:41:18


Terveisin/Regards

Scott Alexander
Asiantuntija, j?rjestelm?t Systems Specialist

Humak
Humanistinen ammattikorkeakoulu
University of Applied Sciences
www.humak.fi<http://www.humak.fi/>

Tel. +358 (0)50 411 9556

scott.alexander@humak.fi<mailto:scott.alexander@humak.fi>
Re: POST large amount of data causes segmentation fault [ In reply to ]
Scott,

Are you saying that the incoming request has a length of 42,000+ characters?

Apache docs say 8,192 characters is the maximum length of a URL.

Would it be possible to reduce the length of the request until the
segmentation fault stops occurring?
--
Russell Lundberg
Latest Blog Post for Telecom Pros: Are you stuck with a messy mobile
network?
<https://www.linkedin.com/pulse/you-stuck-messy-mobile-network-russell-lundberg/>
Denver, Colorado +1 (808) 217-6975
Follow me on LinkedIn <https://th.linkedin.com/in/russelllundberg> | Twitter
<https://twitter.com/intent/follow?screen_name=telecomvoices> | Let's talk
<https://app.acuityscheduling.com/schedule.php?owner=14702481&appointmentType=8878125>
| Subscribe to CafeTele Newsletter <https://cafetele.ck.page/newsletter>


On Sun, Feb 9, 2020 at 4:49 PM Scott Alexander <Scott.Alexander@humak.fi>
wrote:

> Hi,
>
> I have in my code
>
> $req = Apache2::Request->new($r);
>
> My code gets to line 41 then causes a "child pid 13766 exit signal
> Segmentation fault (11)"
>
> $r->log_error("LINE 41") ;
> @number = split /\//, $req->param("numbers") ;
> $r->log_error("LINE 43") ;
>
> the incoming numbers contains a string of mobile numbers which in this
> test is 3900 numbers long and each number is 10-12 characters long.
> javascript tells me the length of the posted string is 42260 characters
> long.
>
> Any idea how to fix this problem?
>
> httpd -v
> Server version: Apache/2.2.15 (Unix)
> Server built: Jun 19 2018 15:45:13
>
> but I get the same error on the production server which is
>
> Server version: Apache/2.4.6 (CentOS)
> Server built: Aug 8 2019 11:41:18
>
>
> Terveisin/Regards
>
> *Scott Alexander*
> Asiantuntija, järjestelmät Systems Specialist
>
> Humak
> Humanistinen ammattikorkeakoulu
> University of Applied Sciences
> www.humak.fi
>
> Tel. +358 (0)50 411 9556
>
> scott.alexander@humak.fi
>
Re: POST large amount of data causes segmentation fault [ In reply to ]
Hi,

I meant I'm posting data from a form, javascript is collecting a series of numbers from a <input type=text> as a string.
Javascript seperates each number with a '/' then I use split within Perl to get the list of numbers into an array.

The length of the URL where the data is being posted to is just send_message01.pl
The length of URL is fine.

It's the length of the string being posted which causes problems. If I reduce it's length then it works.

I have a <FORM> with list of users and GSM numbers. If that list is about 600 users it has worked fine. I was testing with about 4000 users when I came across this problem.






Terveisin/Regards

Scott Alexander
Asiantuntija, j?rjestelm?t Systems Specialist

Humak
Humanistinen ammattikorkeakoulu
University of Applied Sciences
www.humak.fi<http://www.humak.fi/>

Tel. +358 (0)50 411 9556

scott.alexander@humak.fi<mailto:scott.alexander@humak.fi>

________________________________
From: Russell Lundberg <lundberg.russell@gmail.com>
Sent: 09 February 2020 12:12
To: Scott Alexander <Scott.Alexander@humak.fi>
Cc: modperl@perl.apache.org <modperl@perl.apache.org>
Subject: Re: POST large amount of data causes segmentation fault

Scott,

Are you saying that the incoming request has a length of 42,000+ characters?

Apache docs say 8,192 characters is the maximum length of a URL.

Would it be possible to reduce the length of the request until the segmentation fault stops occurring?
--
Russell Lundberg
Latest Blog Post for Telecom Pros: Are you stuck with a messy mobile network?<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fpulse%2Fyou-stuck-messy-mobile-network-russell-lundberg%2F&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832316870&sdata=g2VxSCwTl1pz1jweDR6TT0qN9BUHEXxb7n06dcTV634%3D&reserved=0>
Denver, Colorado +1 (808) 217-6975
Follow me on LinkedIn<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fth.linkedin.com%2Fin%2Frusselllundberg&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832316870&sdata=ce7xE6Pf5ZPZKpmvx%2FmyxlFTT2wDW6sKxXzAzTvuLnk%3D&reserved=0> | Twitter<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fintent%2Ffollow%3Fscreen_name%3Dtelecomvoices&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832326861&sdata=19UcZ%2Fy3nYBZXlQIemhpMe3Hxny1Oocvob02BSctkek%3D&reserved=0> | Let's talk<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapp.acuityscheduling.com%2Fschedule.php%3Fowner%3D14702481%26appointmentType%3D8878125&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832336856&sdata=X%2FX2ndBiqmihpNjNB%2FuomBiBur6OjqDrDSEzkNDheGA%3D&reserved=0> | Subscribe to CafeTele Newsletter<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcafetele.ck.page%2Fnewsletter&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832336856&sdata=ka4gOUc%2FRvbgeBm%2FV63A5irCo7tkiy4DbcskuCZ8R6o%3D&reserved=0>


On Sun, Feb 9, 2020 at 4:49 PM Scott Alexander <Scott.Alexander@humak.fi<mailto:Scott.Alexander@humak.fi>> wrote:
Hi,

I have in my code

$req = Apache2::Request->new($r);

My code gets to line 41 then causes a "child pid 13766 exit signal Segmentation fault (11)"

$r->log_error("LINE 41") ;
@number = split /\//, $req->param("numbers") ;
$r->log_error("LINE 43") ;

the incoming numbers contains a string of mobile numbers which in this test is 3900 numbers long and each number is 10-12 characters long. javascript tells me the length of the posted string is 42260 characters long.

Any idea how to fix this problem?

httpd -v
Server version: Apache/2.2.15 (Unix)
Server built: Jun 19 2018 15:45:13

but I get the same error on the production server which is

Server version: Apache/2.4.6 (CentOS)
Server built: Aug 8 2019 11:41:18


Terveisin/Regards

Scott Alexander
Asiantuntija, j?rjestelm?t Systems Specialist

Humak
Humanistinen ammattikorkeakoulu
University of Applied Sciences
www.humak.fi<http://www.humak.fi/>

Tel. +358 (0)50 411 9556

scott.alexander@humak.fi<mailto:scott.alexander@humak.fi>
Re: POST large amount of data causes segmentation fault [ In reply to ]
You might want to have a look at Apache2::SizeLimit instead
https://perl.apache.org/docs/2.0/api/Apache2/SizeLimit.html

You might decide to limit the count if numbers which get submitted with a
single form.
--
Russell Lundberg
Latest Blog Post for Telecom Pros: Are you stuck with a messy mobile
network?
<https://www.linkedin.com/pulse/you-stuck-messy-mobile-network-russell-lundberg/>
Denver, Colorado +1 (808) 217-6975
Follow me on LinkedIn <https://th.linkedin.com/in/russelllundberg> | Twitter
<https://twitter.com/intent/follow?screen_name=telecomvoices> | Let's talk
<https://app.acuityscheduling.com/schedule.php?owner=14702481&appointmentType=8878125>
| Subscribe to CafeTele Newsletter <https://cafetele.ck.page/newsletter>


On Sun, Feb 9, 2020 at 5:57 PM Scott Alexander <Scott.Alexander@humak.fi>
wrote:

> Hi,
>
> I meant I'm posting data from a form, javascript is collecting a series of
> numbers from a <input type=text> as a string.
> Javascript seperates each number with a '/' then I use split within Perl
> to get the list of numbers into an array.
>
> The length of the URL where the data is being posted to is just
> send_message01.pl
> The length of URL is fine.
>
> It's the length of the string being posted which causes problems. If I
> reduce it's length then it works.
>
> I have a <FORM> with list of users and GSM numbers. If that list is about
> 600 users it has worked fine. I was testing with about 4000 users when I
> came across this problem.
>
>
>
>
>
>
> Terveisin/Regards
>
> *Scott Alexander*
> Asiantuntija, järjestelmät Systems Specialist
>
> Humak
> Humanistinen ammattikorkeakoulu
> University of Applied Sciences
> www.humak.fi
>
> Tel. +358 (0)50 411 9556
>
> scott.alexander@humak.fi
>
> ------------------------------
> *From:* Russell Lundberg <lundberg.russell@gmail.com>
> *Sent:* 09 February 2020 12:12
> *To:* Scott Alexander <Scott.Alexander@humak.fi>
> *Cc:* modperl@perl.apache.org <modperl@perl.apache.org>
> *Subject:* Re: POST large amount of data causes segmentation fault
>
> Scott,
>
> Are you saying that the incoming request has a length of 42,000+
> characters?
>
> Apache docs say 8,192 characters is the maximum length of a URL.
>
> Would it be possible to reduce the length of the request until the
> segmentation fault stops occurring?
> --
> Russell Lundberg
> Latest Blog Post for Telecom Pros: Are you stuck with a messy mobile
> network?
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fpulse%2Fyou-stuck-messy-mobile-network-russell-lundberg%2F&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832316870&sdata=g2VxSCwTl1pz1jweDR6TT0qN9BUHEXxb7n06dcTV634%3D&reserved=0>
> Denver, Colorado +1 (808) 217-6975
> Follow me on LinkedIn
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fth.linkedin.com%2Fin%2Frusselllundberg&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832316870&sdata=ce7xE6Pf5ZPZKpmvx%2FmyxlFTT2wDW6sKxXzAzTvuLnk%3D&reserved=0>
> | Twitter
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fintent%2Ffollow%3Fscreen_name%3Dtelecomvoices&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832326861&sdata=19UcZ%2Fy3nYBZXlQIemhpMe3Hxny1Oocvob02BSctkek%3D&reserved=0>
> | Let's talk
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapp.acuityscheduling.com%2Fschedule.php%3Fowner%3D14702481%26appointmentType%3D8878125&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832336856&sdata=X%2FX2ndBiqmihpNjNB%2FuomBiBur6OjqDrDSEzkNDheGA%3D&reserved=0>
> | Subscribe to CafeTele Newsletter
> <https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcafetele.ck.page%2Fnewsletter&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832336856&sdata=ka4gOUc%2FRvbgeBm%2FV63A5irCo7tkiy4DbcskuCZ8R6o%3D&reserved=0>
>
>
> On Sun, Feb 9, 2020 at 4:49 PM Scott Alexander <Scott.Alexander@humak.fi>
> wrote:
>
> Hi,
>
> I have in my code
>
> $req = Apache2::Request->new($r);
>
> My code gets to line 41 then causes a "child pid 13766 exit signal
> Segmentation fault (11)"
>
> $r->log_error("LINE 41") ;
> @number = split /\//, $req->param("numbers") ;
> $r->log_error("LINE 43") ;
>
> the incoming numbers contains a string of mobile numbers which in this
> test is 3900 numbers long and each number is 10-12 characters long.
> javascript tells me the length of the posted string is 42260 characters
> long.
>
> Any idea how to fix this problem?
>
> httpd -v
> Server version: Apache/2.2.15 (Unix)
> Server built: Jun 19 2018 15:45:13
>
> but I get the same error on the production server which is
>
> Server version: Apache/2.4.6 (CentOS)
> Server built: Aug 8 2019 11:41:18
>
>
> Terveisin/Regards
>
> *Scott Alexander*
> Asiantuntija, järjestelmät Systems Specialist
>
> Humak
> Humanistinen ammattikorkeakoulu
> University of Applied Sciences
> www.humak.fi
>
> Tel. +358 (0)50 411 9556
>
> scott.alexander@humak.fi
>
>
Re: POST large amount of data causes segmentation fault [ In reply to ]
On Sun, 9 Feb 2020 10:57:04 +0000
Scott Alexander <Scott.Alexander@humak.fi> wrote:

> I meant I'm posting data from a form, javascript is collecting a series of numbers from a <input type=text> as a string.

Not really clear what happens here? I guess Javascript writes the content of the text input?

> Javascript seperates each number with a '/' then I use split within Perl to get the list of numbers into an array.

> I have a <FORM> with list of users and GSM numbers. If that list is about 600 users it has worked fine. I was testing with about 4000 users when I came across this problem.
>

I just tried the line of code you posted earlier (@number = split /\//, $req->param("numbers")) on a form that I use, it processes a text input of 50 000 ten digit numbers separated by a slash with no problem.

I use Apache/2.4.25 (Debian), libapache2-mod-per 2.0.10-2+deb9u and libapache2-request-perl 2.13-7~deb9u1



--

Bien ? vous, Vincent Veyron

https://marica.fr/
Logiciel de gestion des sinistres assurances, des dossiers contentieux et des contrats pour le service juridique
Re: POST large amount of data causes segmentation fault [ In reply to ]
On 09.02.2020 16:26, Vincent Veyron wrote:
> On Sun, 9 Feb 2020 10:57:04 +0000
> Scott Alexander <Scott.Alexander@humak.fi> wrote:
>
>> I meant I'm posting data from a form, javascript is collecting a series of numbers from a <input type=text> as a string.
>
> Not really clear what happens here? I guess Javascript writes the content of the text input?
>
>> Javascript seperates each number with a '/' then I use split within Perl to get the list of numbers into an array.
>
>> I have a <FORM> with list of users and GSM numbers. If that list is about 600 users it has worked fine. I was testing with about 4000 users when I came across this problem.
>>
>
> I just tried the line of code you posted earlier (@number = split /\//, $req->param("numbers")) on a form that I use, it processes a text input of 50 000 ten digit numbers separated by a slash with no problem.
>
> I use Apache/2.4.25 (Debian), libapache2-mod-per 2.0.10-2+deb9u and libapache2-request-perl 2.13-7~deb9u1
>
>
>
Might it not have something to do with the *format* used for the POST (from javascript /
<form>). I mean
Content-type : application/x-www-form-urlencoded
or
Content-type : multipart/form-data
or even
Content-type : text/plain

The parser for that data is certainly different on the server side, and one may be running
against different limits/quirks.

of course a segfault is not nice anyway..

Re (e.g.9 .
https://dev.to/sidthesloth92/understanding-html-form-encoding-url-encoded-and-multipart-forms-3lpa
Re: POST large amount of data causes segmentation fault [ In reply to ]
On Sun, Feb 09, 2020 at 04:26:31PM +0100, Vincent Veyron wrote:
> On Sun, 9 Feb 2020 10:57:04 +0000
> Scott Alexander <Scott.Alexander@humak.fi> wrote:
>
> > I meant I'm posting data from a form, javascript is collecting a series of numbers from a <input type=text> as a string.
>
> Not really clear what happens here? I guess Javascript writes the content of the text input?
>
> > Javascript seperates each number with a '/' then I use split within Perl to get the list of numbers into an array.
>


First of all, split uses a regex and this is not searching for anything
other than empty strings... I think

or maybe I am dislexic

You might need a need the regex {^\d.*}
or [^0-9]

or better - don't use split and hunt for digits specifically and secure
your input code

Also, print out fdat and see what you are actually generating and don
t swim in dark holes :)


> > I have a <FORM> with list of users and GSM numbers. If that list is about 600 users it has worked fine. I was testing with about 4000 users when I came across this problem.
> >
>
> I just tried the line of code you posted earlier (@number = split /\//, $req->param("numbers")) on a form that I use, it processes a text input of 50 000 ten digit numbers separated by a slash with no problem.
>
> I use Apache/2.4.25 (Debian), libapache2-mod-per 2.0.10-2+deb9u and libapache2-request-perl 2.13-7~deb9u1
>
>
>
> --
>
> Bien ? vous, Vincent Veyron
>
> https://marica.fr/
> Logiciel de gestion des sinistres assurances, des dossiers contentieux et des contrats pour le service juridique

--
So many immigrant groups have swept through our town
that Brooklyn, like Atlantis, reaches mythological
proportions in the mind of the world - RI Safir 1998
http://www.mrbrklyn.com

DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive
http://www.coinhangout.com - coins!
http://www.brooklyn-living.com

Being so tracked is for FARM ANIMALS and extermination camps,
but incompatible with living as a free human being. -RI Safir 2013
Re: POST large amount of data causes segmentation fault [ In reply to ]
If posted size has exceeded, what will happen by SizeLimit?

Thanks



Gesendet mit der Telekom Mail App
<https://www.telekom.de/unterwegs/apps-und-dienste/kommunikation/telekom-e-mail?wt_mc=alias_9998_unterwegs/apps-und-dienste/telekom-email#mail-app>

-----Original-Nachricht-----
Von: Russell Lundberg <lundberg.russell@gmail.com
<mailto:lundberg.russell@gmail.com> >
Betreff: Re: POST large amount of data causes segmentation fault
Datum: 09.02.2020, 19:22 Uhr
An: Scott Alexander <Scott.Alexander@humak.fi
<mailto:Scott.Alexander@humak.fi> >
CC: modperl@perl.apache.org <modperl@perl.apache.org
<mailto:modperl@perl.apache.org> >

You might want to have a look at Apache2::SizeLimit instead 
https://perl.apache.org/docs/2.0/api/Apache2/SizeLimit.html
<https://perl.apache.org/docs/2.0/api/Apache2/SizeLimit.html>

You might decide to limit the count if numbers which get submitted with a
single form.
--
Russell Lundberg
Latest Blog Post for Telecom Pros:  Are you stuck with a messy mobile
network?
<https://www.linkedin.com/pulse/you-stuck-messy-mobile-network-russell-lundberg/>
Denver, Colorado +1 (808) 217-6975
Follow me on LinkedIn <https://th.linkedin.com/in/russelllundberg>  | 
Twitter <https://twitter.com/intent/follow?screen_name=telecomvoices>  | 
Let's talk
<https://app.acuityscheduling.com/schedule.php?owner=14702481&appointmentType=8878125>
 | Subscribe to CafeTele Newsletter <https://cafetele.ck.page/newsletter>


On Sun, Feb 9, 2020 at 5:57 PM Scott Alexander <Scott.Alexander@humak.fi
<mailto:Scott.Alexander@humak.fi> > wrote:
Hi,

I meant I'm posting data from a form, javascript is collecting a series
of numbers from a <input type=text> as a string.
Javascript seperates each number with a '/' then I use split within Perl
to get the list of numbers into an array.

The length of the URL where the data is being posted to is just
send_message01.pl <http://send_message01.pl>
The length of URL is fine.

It's the length of the string being posted which causes problems. If I
reduce it's length then it works.

I have a <FORM> with list of users and GSM numbers. If that list is about
600 users it has worked fine. I was testing with about 4000 users when I
came across this problem.






Terveisin/Regards
 
Scott Alexander
Asiantuntija, järjestelmät  Systems Specialist
 
Humak
Humanistinen ammattikorkeakoulu
University of Applied Sciences
www.humak.fi <http://www.humak.fi/>
 
Tel. +358 (0)50 411 9556

scott.alexander@humak.fi <mailto:scott.alexander@humak.fi>

----------------------------------------------------------------------
From: Russell Lundberg <lundberg.russell@gmail.com
<mailto:lundberg.russell@gmail.com> >
Sent: 09 February 2020 12:12
To: Scott Alexander <Scott.Alexander@humak.fi
<mailto:Scott.Alexander@humak.fi> >
Cc: modperl@perl.apache.org <mailto:modperl@perl.apache.org> <
modperl@perl.apache.org <mailto:modperl@perl.apache.org> >
Subject: Re: POST large amount of data causes segmentation fault
 
Scott,

Are you saying that the incoming request has a length of 42,000+
characters?

Apache docs say 8,192 characters is the maximum length of a URL.

Would it be possible to reduce the length of the request until the
segmentation fault stops occurring?
--
Russell Lundberg
Latest Blog Post for Telecom Pros:  Are you stuck with a messy mobile
network?
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.linkedin.com%2Fpulse%2Fyou-stuck-messy-mobile-network-russell-lundberg%2F&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832316870&sdata=g2VxSCwTl1pz1jweDR6TT0qN9BUHEXxb7n06dcTV634%3D&reserved=0>
Denver, Colorado +1 (808) 217-6975
Follow me on LinkedIn
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fth.linkedin.com%2Fin%2Frusselllundberg&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832316870&sdata=ce7xE6Pf5ZPZKpmvx%2FmyxlFTT2wDW6sKxXzAzTvuLnk%3D&reserved=0>
 | Twitter
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftwitter.com%2Fintent%2Ffollow%3Fscreen_name%3Dtelecomvoices&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832326861&sdata=19UcZ%2Fy3nYBZXlQIemhpMe3Hxny1Oocvob02BSctkek%3D&reserved=0>
 | Let's talk
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapp.acuityscheduling.com%2Fschedule.php%3Fowner%3D14702481%26appointmentType%3D8878125&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832336856&sdata=X%2FX2ndBiqmihpNjNB%2FuomBiBur6OjqDrDSEzkNDheGA%3D&reserved=0>
 | Subscribe to CafeTele Newsletter
<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcafetele.ck.page%2Fnewsletter&data=02%7C01%7C%7C2ca2abfe915a4ad6894708d7ad48a4fd%7Ca30a558eb6084b2c8f39a7fa426fa49d%7C0%7C0%7C637168399832336856&sdata=ka4gOUc%2FRvbgeBm%2FV63A5irCo7tkiy4DbcskuCZ8R6o%3D&reserved=0>


On Sun, Feb 9, 2020 at 4:49 PM Scott Alexander <Scott.Alexander@humak.fi
<mailto:Scott.Alexander@humak.fi> > wrote:
Hi,

I have in my code

$req = Apache2::Request->new($r);

My code gets to line 41 then causes a "child pid 13766 exit signal
Segmentation fault (11)"

$r->log_error("LINE 41") ;
@number = split /\//, $req->param("numbers") ;
$r->log_error("LINE 43") ;

the incoming numbers contains a string of mobile numbers which in this
test is 3900 numbers long and each number is 10-12 characters long.
javascript tells me the length of the posted string is 42260 characters
long.

Any idea how to fix this problem?

httpd -v
Server version: Apache/2.2.15 (Unix)
Server built:   Jun 19 2018 15:45:13

but I get the same error on the production server which is

Server version: Apache/2.4.6 (CentOS)
Server built:   Aug  8 2019 11:41:18


Terveisin/Regards
 
Scott Alexander
Asiantuntija, järjestelmät  Systems Specialist
 
Humak
Humanistinen ammattikorkeakoulu
University of Applied Sciences
www.humak.fi <http://www.humak.fi/>
 
Tel. +358 (0)50 411 9556

scott.alexander@humak.fi <mailto:scott.alexander@humak.fi>