Love Fuel?
Donate
About
Forums
Discussions
Login
FuelPHP Forums
Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
General
Segmentation Fault on insert after updating to 1.8.
jbdas
June 2016
Hello,
We just upgraded to 1.8 (from 1.6) and started experiencing very strange issue, which took a while to trace down.
Below is a quick code extract:
===
$sql = 'INSERT INTO Log4Asp (MsgTime, MsgLevel, MsgText, IP, user_agent) VALUES (NOW(), '.$level.', '.$msg.', '.$ip.', '.$user_agent.')';
DB::query($sql,DB::INSERT)->execute();
===
this causes segmentation fault - [core:notice] [pid 30916] AH00052: child pid 3622 exit signal Segmentation fault (11)
note: we did change from mysql driver to PDO. All DB selects prior to that point work just fine.
I would appreciate any thoughts on the subject and where we could look for resolution.
Thank you!
-John B
Harro
June 2016
No clue, segfaults are notoriously hard to debug without the proper low-level tools.
If you were using the mysql driver before, you might want to try the mysqli driver, as a workaround.
Add a Comment
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
5,089
General
↳ General
3,364
↳ Job Board
13
↳ Installation & Setup
214
Packages
↳ Oil
213
↳ Orm
700
↳ Auth
261
Development
↳ Tips and Tutorials
126
↳ Code share
145
↳ Applications
52
In this Discussion
Harro
June 2016