#3925 closed Defect (worksforme)
elgg generating segmentation fault and core dump during installation on fedora 12
| Reported by: | lovesh | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Needs Review |
| Component: | Core | Version: | 1.8 |
| Severity: | critical | Keywords: | installation seg-fault core dump |
| Cc: | brett@… | Difficulty: |
Description
i tried elgg 1.8.0.1 on windows XP and it installed successfully but when i tried on fedora 12 it is not able to install. here is what happens i extracted the zip file for elgg 1.8.0.1 in /var/www/html now when i use firefox to go to the url http://localhost/elgg-1.8.0.1 it asks me whether i want to open or save install.php ,but when i open it with a text editor or if i save it and then open it its an empty file. The size of file is 0 bytes.
i checked the error log of apache and it displays the following line
child pid 2147 exit signal Segmentation Fault(11)
I was able to install elgg 1.7.11 on fedora successfully,also i am able to run other php files nicely.I wonder what can go wrong because elgg 1.8.0.1 installs successfully in windows XP
My php version is 5.3 and the maximum memory for php is 256 mb and i have mod-rewrite enabled. I tried this
strace php install.php
whose output i am uploading. I cant upload the core dump because its 4 mb and the uploading limit is 1mb here
Attachments (2)
Change History (4)
Changed 20 months ago by lovesh
Changed 20 months ago by lovesh
comment:1 Changed 20 months ago by brettp
- Resolution set to worksforme
- Status changed from new to closed
Thanks for the report. You can add comments and attachments after the ticket is opened, so please only open one ticket per issue.
It looks like the crash occurs after PHP tries to access a file that doesn't exist, s this is almost definitely a server misconfiguration problem or bug. Try upgrading Fedora to the latest PHP and Apache. Have you confirmed PHP is working generally? Until it can be confirmed if this is an Elgg-specific bug, please post to the community site (http://community.elgg.org), which is for support requests.
comment:2 Changed 20 months ago by cash
Google group is best for this, but this is likely outside the scope of Elgg. As Brett said this is very likely to be a server/PHP issue.
http://groups.google.com/group/elgg-development/browse_thread/thread/54d608f2725b6d27

stace of the seg-fault