PHP-Pear bricht ab mit Core Dump

kmh

Well-Known Member
PHP-Pear bricht ab mit Core Dump [FIXED]

Hossa,

ich habe folgendes Problem auf meinem Webserver, nach einem "portupgrade -a". Das Installieren einiger PHP-Pakete schlug fehl. Danach habe ich "pkgdb -F" aufgerufen um fehlende abhaengigkeiten aufzulösen.


Code:
(19:13:37) kmh@xxx: /home/kmh# pkgdb -F
--->  Checking the package registry database
Stale dependency: horde-base-3.1.4_3 -> pear-Net_Socket-1.0.7 (net/pear-Net_Socket):
pear-Net_SMTP-1.2.10 (score:62%) ? ([y]es/[n]o/[a]ll) [no]
Install stale dependency? ([y]es/[n]o/[a]ll) [yes]
[Gathering depends for net/pear-Net_Socket ........................................ done]
--->  Installing 'pear-Net_Socket-1.0.8' from a port (net/pear-Net_Socket)
--->  Building '/usr/ports/net/pear-Net_Socket'
===>  Cleaning for pear-Net_Socket-1.0.8
===>  Extracting for pear-Net_Socket-1.0.8
=> MD5 Checksum OK for PEAR/Net_Socket-1.0.8.tgz.
=> SHA256 Checksum OK for PEAR/Net_Socket-1.0.8.tgz.
===>  Patching for pear-Net_Socket-1.0.8
===>   pear-Net_Socket-1.0.8 depends on file: /usr/local/share/pear/PEAR.php - found
===>  Configuring for pear-Net_Socket-1.0.8
--->  Installing the new version via the port
===>  Installing for pear-Net_Socket-1.0.8
===>   pear-Net_Socket-1.0.8 depends on file: /usr/local/share/pear/PEAR.php - found
===>   pear-Net_Socket-1.0.8 depends on executable: pear - found
===>   Generating packing list
===>   Generating temporary packing list
===>  Checking if net/pear-Net_Socket already installed
install ok: channel://pear.php.net/Net_Socket-1.0.8
Segmentation fault (core dumped)
*** Error code 139

Stop in /usr/ports/net/pear-Net_Socket.
*** Error code 1

Stop in /usr/ports/net/pear-Net_Socket.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.39822.0 env make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! net/pear-Net_Socket   (install error)
--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
Command failed [exit code 1]: /usr/local/sbin/portinstall net/pear-Net_Socket

Darauf hin habe ich einfach mal pear ausgefuehrt:

Code:
kmh@xxx: /home/kmh# pear
Commands:
build                  Build an Extension From C Source
bundle                 Unpacks a Pecl Package
channel-add            Add a Channel
[...SNIP...]
uninstall              Un-install Package
update-channels        Update the Channel List
upgrade                Upgrade Package
upgrade-all            Upgrade All Packages
Usage: pear [options] command [command-options] <parameters>
Type "pear help options" to list all options.
Type "pear help shortcuts" to list all command shortcuts.
Type "pear help <command>" to get the help for the specified command.
Segmentation fault (core dumped)

Der Core-Dump liefert im gdb folgendes:

Code:
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.3
Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /lib/libz.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.3
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/local/lib/php/20060613/session.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/session.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000000 in ?? ()

Die Frage ist nun wie bekomme ich das Problem in den Griff?

Ich möchte ungerne PHP bzw PHP-Pear komplett entfernen um anschliessend festzustellen das ich nichts davon mehr installieren kann, da bisher noch alle benötigten Anwendungen auf dem Server funktionieren.

------------------------------------------
EDIT: Nachdem ich PHP5 neu kompiliert hatte lief wieder alles wie gewohnt.
 
Zuletzt bearbeitet:
Zurück
Oben