Core dump

#1
I'm getting a core dump when a user posts a Stripe payment to our server. The really weird thing about it is that this only happens when the user uses Chrome, or when the user is using Firefox and refreshes the page with errors and resends the form data.

Using Stripe's PHP library version 6.43.0.
Using CodeIgniter 3.1.10.

The user would open Stripe's legacy checkout, submits their payment information, and is redirected to our Payment processing script with POSTed x-www-form-urlencoded data.

Core dump:
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-114.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/lsws/bin/openlitespeed...done.
[New LWP 226]
[New LWP 230]
[New LWP 231]
[New LWP 232]
[New LWP 233]
[New LWP 234]
[New LWP 235]
[New LWP 236]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `openlitespeed (lsht'.
Program terminated with signal 6, Aborted.
#0 0x00007fc30642b2c7 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:55
55 return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);
The exception reported when using Firefox:
An uncaught Exception was encountered

Type: Error

Message: Class 'Stripe' not found
The problem: The PHP script didn't have
PHP:
use Stripe\Stripe;
or any of the other namespace class use declarations.

I have fixed these PHP script errors and am not experiencing any core dumps anymore.

I thought I'd make this post so that the core dump bug can get fixed.
 
Top