473,890 Members | 1,333 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Crash in PHP 4.3.11 after an extension function ( gcc 4 on Fedora Core 4)

I have an extension in C++, which I compile as a module for php 4.3.11.
I am using PHP 4.3.11 on Fedora Core 4, which has gcc 4 instead of gcc
3.2.

Fedora Core 4 normally comes with PHP 5, but I removed it and installed
PHP 4.3.11 from source, so that I didn't have to figure out problems I
had with my extension and php 5.

After a number of calls to my extension, there is one call to function
(which has been called before) in which the code exits my function, and
then crashes inside PHP shortly thereafter. The seg fault is in
php-4.3.11/Zend/zend_execute.c on line 1658, which reads:

EG(current_exec ute_data) = &execute_dat a;

The extension function it is returning from returns a long, not some
fancy php object or reference.

I don't know if anyone on this forum will have any ideas, but if you
have any thoughts at all please offer them.

I am thinking that this might be a result of php being compiled with
gcc4, and the new gcc 4 does something different and exposes some bug
in PHP ? Has anyone seen problems running PHP 4 compiled with gcc 4 ?

Any thoughts at all are appreciated.

--Rob

Jul 17 '05 #1
0 1593

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2193
by: linuxfreak | last post by:
Hi guys, Has anyone installed wxPython on Fedora Core 4. Apparently it need the libstdc++.so.5 file while Fedora installs the newer libstdc++.so.6 file. I tried installing the libstdc rpm from fedora core 3 which would have installed the required file but Fedora does not allow multiple versions of the same file . Man this is frustrating. Help desparately required..........
1
1846
by: Boris Popov | last post by:
Hello pgsql-general, It appears 7.4 is not published in all the usual places so I was wondering if there's a yum repository with updated packages available and if not then what's the approach that will cause the least amount of pain? I do realize I'll need to dump/restore, just want some expert advice on how to upgrade the installation without breaking it. Thanks!
4
2665
by: Philip Wright | last post by:
Can we install the admin client for DB2 7.2 on Fedora Core 4? Thanks, PW
2
2337
by: robert | last post by:
There is a strange freeze/crash only on dual core machines: I have a python app (Python 2.3.5 /Pythonwin build 203 / Windows) running with no stability problems on normal machines (Or a crash is so rare, that absolutely nobody obverses it, though the overall majority of users uses single core machines). Threads, network & pythonwin/win32ui all in use. Yet, from 3 users, _all_ using a Dual Processor System (XEON, amd x2 3800+)...
4
2088
by: silverburgh.meryl | last post by:
My program sometime crashes with Seg Fault, but it does not generate a core dump. I am running on Linux Fedora 5. and my program compiles with GCC 4.1. Any idea how to trouble-shoot my problem? Thank you.
3
25896
by: news | last post by:
After installing phpMyAdmin on my Fedora Core 4 box, (Apache 2.0.54, PHP 5.0.4) we're getting this error: "The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results." The phpinfo() has no reference to mbstring. Doing some searching, I found some information regarding php.ini and...
1
2090
by: Petr Prikryl | last post by:
Do you think that the following could became PEP (pre PEP). Please, read it, comment it, reformulate it,... Abstract Introduction of the mechanism for language extensions via modules written using other languages. Extensions of Python could be done via special interpreter extensions. From Python sources, the special modules would look like other modules, with the Python API (the key feature from
8
18827
usafshah
by: usafshah | last post by:
i'm using phpmyadmin on Fedora core 6, everything seems to be fine but the only thing is when i open phpmyadmin at the bottom it says like The mbstring PHP extension was not found and you seem to be using a multibyte charset. Without the mbstring extension phpMyAdmin is unable to split strings correctly and it may result in unexpected results. i opened the file php.ini and found ;extension=php_mbstring.dll and removed the semicolon,...
15
2974
by: John Nagle | last post by:
I've been installing Python and its supporting packages on a dedicated server with Fedora Core 6 for about a day now. This is a standard dedicated rackmount server in a colocation facility, controlled via Plesk control panel, and turned over to me with Fedora Core 6 in an empty state. This is the standard way you get a server in a colo today. Bringing Python up in this completely clean environment is a huge hassle, and it doesn't...
0
9978
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, weíll explore What is ONU, What Is Router, ONU & Routerís main usage, and What is the difference between ONU and Router. Letís take a closer look ! Part I. Meaning of...
0
9819
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11222
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10810
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10460
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7169
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6041
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4270
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3275
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.