php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7169 Crash with long .php-file and --trans-sid
Submitted: 2000-10-12 18:24 UTC Modified: 2000-10-15 12:13 UTC
From: balu at technologist dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.3 OS: Linux 2.2.14
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: balu at technologist dot com
New email:
PHP Version: OS:

 

 [2000-10-12 18:24 UTC] balu at technologist dot com
I have problems accessing a rather long file after enabling --trans-sid. Apache-childs die after processing X lines of that file. (I tested to add one more char at the end of the last processed character, but it was not displayed)

Is it possible that the buffer --trans-sid uses to store the page (and process it) in is too small?

I have no gdb installed yet, or can create a logfile, so perhaps this could be approved by someone else... 

I will try to reproduce it on another system and get a trace from that...


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-13 05:50 UTC] balu at technologist dot com
I configured it on the original system with:
./configure  --with-apxs=/usr/local/apache/current/bin/apxs --enable-versioning --with-mysql --enable-track-vars --enable-syvshm --enable-sysvsem --with-config-file-path=/etc --enable-url-includes --enable-trans-sid

On a second system I used:

./configure  --prefix=/usr --libexecdir=/usr/libexec/php --sysconfdir=/etc/ --sharedstatedir=/var/state/php --localstatedir=/var/state/php --with-apxs --enable-versioning --enable-inline-optimization --enable-calendar --with-gdbm --enable-ftp --with-gettext --with-mysql=/usr --enable-trans-sid --enable-sysvsem --enable-sysvshm --with-zlib --with-config-file-path=/etc/php.ini

I can't get a logfile, so I used:
gdb /usr/local/apache/current/bin/httpd
(gdb) run -X 

and got (before accessing the page)

Starting program: /usr/local/apache/current/bin/httpd -X
warning: find_solib: Can't read pathname for load map: Input/output error

Error while mapping shared library sections:
"/sbin/": not in executable format: Is a directory.
Error while reading shared library symbols:
"/sbin/": can't read symbols: Is a directory.
Cannot access memory at address 0xc3815b00.
(gdb)

But I think that is a gdb-problem...

 [2000-10-15 12:13 UTC] balu at technologist dot com
Okay - we've tried nearly everything to get arout this "bug", until we found a small error in the html-code of the crashing page.

It looks like trans-sid does not like broken pages - it gets confused if a ">" is too much, or a " is not closed, I think.

But as this has nothing to do with filesize and trans-sid I close this report.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Jun 22 11:00:01 2026 UTC