Bug #80442 [Fbk->NoF]: Running maxima using exec results in segfault

From: Date: Sun, 06 Dec 2020 04:22:08 +0000
Subject: Bug #80442 [Fbk->NoF]: Running maxima using exec results in segfault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230884@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80442&edit=1

 ID:               80442
 Updated by:       php-bugs@lists.php.net
 Reported by:      fadykamel902 at gmail dot com
 Summary:          Running maxima using exec results in segfault
-Status:           Feedback
+Status:           No Feedback
 Type:             Bug
 Package:          Program Execution
 Operating System: Ubuntu 20.04
 PHP Version:      7.4.13
 Private report:   N

 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.


Previous Comments:
------------------------------------------------------------------------
[2020-11-29 03:36:23] requinix@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

It's not clear from the description, but I assume the segfault is with PHP and not maxima?

------------------------------------------------------------------------
[2020-11-29 03:24:31] fadykamel902 at gmail dot com

Description:
------------
This used to work just fine in older versions of PHP/Ubuntu/Maxima

If I try to run maxima from php exec() I'll get a segmentation fault, no matter how simple the
input file is.

Test script:
---------------
<?php
   exec("/usr/bin/maxima -b /tmp/testInput.txt > /tmp/testOutput.txt");
   // replace /usr/bin/maxima with your maxima path
   // testInput.txt contains the text "1+1;"
?>

Actual result:
--------------
Segmentation fault


------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=80442&edit=1


Thread (3 messages)

« previous php.bugs (#230884) next »