php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35625 Partition table for first hard drive deleted after compile
Submitted: 2005-12-10 22:40 UTC Modified: 2005-12-11 09:46 UTC
From: peterupfold at gmail dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 5.1.1 OS: Linux
Private report: No CVE-ID: None
 [2005-12-10 22:40 UTC] peterupfold at gmail dot com
Description:
------------
After compiling & building PHP 5.1.1 as Apache module on Apache 2.2 (and 2.0 on a separate occasion), my partition table for my primary hard drive is gone. Is on a dual boot Windows XP/SUSE Linux 10 (2.4.21-99-smp4G) box. 

A reboot just after configuring and making PHP shows that partition table is completely gone. Primary (Windows C:) and extended (including some Windows data partitions and Linux) are now effectively deleted from my hard drive.

This has now occurred on two occasions, both with the source code version. MD5 sums were checked before compile. Downloaded from one of these:

uk.php.net or uk2.php.net (not sure which)

Reproduce code:
---------------
./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql

make

su

make install

Expected result:
----------------
Install correctly and be able to reboot into my GRUB bootloader, to choose Windows or Linux.

Actual result:
--------------
As above, the drive partition table (or possibly MBR) is gone, so the system will not boot and my computer has no operating systems on it. Unable to give you any more debugging info as Linux is now no longer on my computer.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-10 22:52 UTC] tony2001@php.net
Do you **REALLY** think it's a problem of PHP or are you kidding?
Just think about it: if your a program (in your case - a compiler) eats your HDD, the one and only place to report about it is PHP bug database, right?
 [2005-12-11 09:46 UTC] peterupfold at gmail dot com
This issue did not happen with PHP 5.0.5, but on the two occasions of compiling PHP 5.1.1, it has happened. This led me to believe it may be an issue with PHP.

I wouldn't have reported this if it hadn't have happened twice - once on a build of SUSE 10 I'd been using for a while, and the second time on a new clean build of SUSE 10.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Oct 18 17:03:34 2021 UTC