Bug #80442 [NEW]: Running maxima using exec results in segfault

From: Date: Sun, 29 Nov 2020 03:24:31 +0000
Subject: Bug #80442 [NEW]: Running maxima using exec results in segfault
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-230703@lists.php.net to get a copy of this message
From:             fadykamel902 at gmail dot com
Operating system: Ubuntu 20.04
PHP version:      7.4.13
Package:          Unknown/Other Function
Bug Type:         Bug
Bug description:Running maxima using exec results in segfault

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 bug report at https://bugs.php.net/bug.php?id=80442&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=80442&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=80442&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=80442&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=80442&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=80442&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=80442&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=80442&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=80442&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=80442&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=80442&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=80442&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=80442&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=80442&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=80442&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=80442&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=80442&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=80442&r=mysqlcfg


Thread (3 messages)

« previous php.bugs (#230703) next »