php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58924 Segmentation fault on x64 build
Submitted: 2009-10-28 15:18 UTC Modified: 2015-04-12 04:22 UTC
From: sgriffin at ftek dot com Assigned:
Status: No Feedback Package: uuid (PECL)
PHP Version: 5.2.6 OS: Ubuntu 9.04
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.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: sgriffin at ftek dot com
New email:
PHP Version: OS:

 

 [2009-10-28 15:18 UTC] sgriffin at ftek dot com
Description:
------------
I get a segmentation fault on described system when using:

echo uuid_create(UUID_TYPE_RANDOM);

This works fine on 32bit version of Ubuntu 9.04 but I get segmentation fault on 64bit version of Ubuntu 9.04.

Reproduce code:
---------------
#!/usr/bin/php
<?php

echo uuid_create(UUID_TYPE_RANDOM) . "\n";


Expected result:
----------------
I expect to see a new uuid followed by a new line on the console.

Actual result:
--------------
user@host:~/pwd$ ./guid theprogram
Segmentation fault
user@host:~/pwd$

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-11-02 06:33 UTC] mike@php.net
If you're also loading imagick, try loading uuid prior imagick in your php.ini.
 [2013-08-21 21:45 UTC] david at nnucomputerwhiz dot com
Nearly 4 years later this bug is still happening. 
Running CentOS 6.4 and php 5.4.17 and uuid 1.0.3

Switching the order of extensions so uuid.so is loaded before imagemagick.so 
fixes the problem. Should the order really matter? Is this a problem with uuid or 
imagemagick?
 [2015-04-04 05:26 UTC] remi@php.net
-Status: Open +Status: Feedback
 [2015-04-04 05:26 UTC] remi@php.net
Please test upcoming 1.0.4RC1
 [2015-04-12 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Oct 08 17:01:27 2024 UTC