php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20352 PHP-GTK apps crash with corrupt argc/argv error
Submitted: 2002-11-10 22:05 UTC Modified: 2003-02-11 02:33 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: scott dot lerman at umit dot maine dot edu Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 4.3.0-pre2 OS: RedHat Linux 7.3
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: scott dot lerman at umit dot maine dot edu
New email:
PHP Version: OS:

 

 [2002-11-10 22:05 UTC] scott dot lerman at umit dot maine dot edu
Trying to run any program that uses the PHP-GTK extension dies immediately with an error message similar to this:
PHP Fatal error:  php-gtk: argc/argv are corrupted in /root/php-gtk-cvs/test/hello.php on line 7

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-02-11 01:34 UTC] bert at tschursch dot de
had the same problem and solved it:

problem was, that i had 2 php versions (4.1.0 and 4.3.0) installed and the "buildconf" call for php-gtk just configured to get used with (4.1.0 the default php-installation) 

so php-gtk first found the php (4.1.0) installed in /usr/bin the distribution-installation from Mandrake and php-gtk worked fine with it ... 

but i tried to use my own php-version (4.3.0) with gtk, so i completly removed the 4.1.0 and run the php-gtk build process again ... everything runs fine now.
 [2003-02-11 02:33 UTC] alan_k@php.net
yes this is a known problem if you mix versions on the same machine (even if you are not aware of it).. 

Fix - make sure your PHP version that you run php-gtk with is the same as the one you build it with.

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 19 18:00:02 2025 UTC