#49732 [Fbk->Opn]: PHP crashes when using finfo_file() to get mime info with this file (included)
| From: | nirvn dot asia at gmail dot com | Date: | Thu, 01 Oct 2009 12:09:11 +0000 |
| Subject: | #49732 [Fbk->Opn]: PHP crashes when using finfo_file() to get mime info with this file (included) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-143120@lists.php.net to get a copy of this message | ||
ID: 49732
User updated by: nirvn dot asia at gmail dot com
Reported By: nirvn dot asia at gmail dot com
-Status: Feedback
+Status: Open
Bug Type: Unknown/Other Function
Operating System: windows xp
PHP Version: 5.3.0
Assigned To: pajoye
New Comment:
Having a fix for the crash would be fantastic, never mind the detection
failure if it's too hard. We're doing batch processing of files and
extract plain text of types we support (doc/pdf/rdf/etc.). With this
crash, the process breaks and thus leaves many files unchecked for
extraction.
Regarding the kaboom.doc, if you open it in word and save it as new
file, the crash disappear (hence the reason why I'm dragging along this
bug a 3meg testcase :) )
Pajoye, I'm unsure what you want me to do with the timestamps
conversion bit.
Once again, thanks for the prompt response and time spent on this.
Previous Comments:
------------------------------------------------------------------------
[2009-10-01 10:25:19] pajoye@php.net
Ok, I have a fix for at least the crash but I'm not sure we can fix the
detection failure.
Can you create a small word document in Word (cambodia version or the
language you used) please? I would like to see if it is the "kaboom.doc"
that is corrupt or if there is something different in the format for
this version of Word.
Check if timestamp conversion failed: http://pastie.org/637883
------------------------------------------------------------------------
[2009-10-01 09:42:59] nirvn dot asia at gmail dot com
I've just downloaded a 5.3 snapshot from the link provided and confirm
it still crashes PHP.
Pajoye, thanks for the quick answer, it's appreciated.
------------------------------------------------------------------------
[2009-10-01 09:22:09] pajoye@php.net
I got the mail later, but you can still try with a snapshot :)
------------------------------------------------------------------------
[2009-10-01 09:21:28] pajoye@php.net
Can you post a link to the file or drop me a mail with the file
attached please?
Please also try using a 5.3 snapshot
(http://windows.php.net/snapshots).
------------------------------------------------------------------------
[2009-10-01 07:51:01] nirvn dot asia at gmail dot com
Hrm, I didn't know we can't attach files to bug reports. I've uploaded
it to our NGO website for easy access to any developer who would like to
help resolving this bug.
$fname = http://www.licadho-cambodia.org/php/kaboom.doc
I've also attached the basic debug info that XP outputs when it
crashes, you can access it from
http://www.licadho-cambodia.org/php/xpcrash.txt
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/49732
--
Edit this bug report at http://bugs.php.net/?id=49732&edit=1