Hello everyone

We started having a major issue after installing Entity 1.5 (from beta10) on Drupal 7.28

After downloading the module and running the update, we get the message shown on the attachement "Screen Shot 2014-05-20 at 2.15.08 PM.png"

After that, Drush does not work anymore and keep outputting the message "Segmentation fault"

Apache log was shows the following

[Tue May 20 22:33:53 2014] [notice] child pid 460 exit signal Segmentation fault (11)
[Tue May 20 22:34:00 2014] [notice] child pid 490 exit signal Segmentation fault (11)
[Tue May 20 22:34:03 2014] [notice] child pid 491 exit signal Segmentation fault (11)
CommentFileSizeAuthor
Screen Shot 2014-05-20 at 2.15.08 PM.png14.82 KBasiby
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Yorgg’s picture

Are you sure its entity 1.5? I have copied a previous release back, cleared the caches but the issue remains the same.
Most parts of Drupal run but I can't create features or disable modules with drush dis.

damien_dd’s picture

Same problem here:

[htdocs]$ drush up entity
 Name                 Installed Version  Proposed version  Message
 Entity API (entity)  7.x-1.0-rc1        7.x-1.5           SECURITY UPDATE
                                                           available


Update information last refreshed: ven, 07/04/2014 - 10:39
Security updates will be made to the following projects: Entity API [entity-7.x-          1.5]

Note: A backup of your project will be stored to backups directory if it is not           managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of thes          e projects, you will have to migrate those modifications after updating.
Do you really want to continue with the update process? (y/n): y
Project entity was updated successfully. Installed version is now 7.x-1.5.
Backups were saved into the directory                                [ok]
20140704084917/modules/entity.
 Entity  7003  Create cache tables for entities that support Entity cache
               module.
Do you wish to run all pending updates? (y/n): y
Performed update: entity_update_7003                                 [ok]
Finished performing updates.                                         [ok]
sh: line 1: 24184 Segmentation fault      /usr/local/bin/php -d memory_limit="12          8M" -d error_reporting="E_ALL|E_NOTICE|E_STRICT" -d display_errors="stderr" -d m          agic_quotes_gpc=Off -d magic_quotes_runtime=Off -d magic_quotes_sybase=Off /usr/          local/lib/php/drush/drush.php --php=/usr/local/bin/php --php-options='-d memory_          limit="128M" -d error_reporting="E_ALL|E_NOTICE|E_STRICT" -d display_errors="std          err"  -d magic_quotes_gpc=Off -d magic_quotes_runtime=Off -d magic_quotes_sybase          =Off' --backend=2 --yes --root=/data/www/root/xx/          htdocs --uri=http://default cache-clear all 2>&1
[htdocs]$ drush up search_api
Segmentation fault
damien_dd’s picture

 Drupal version                  :  7.22
 Site URI                        :  http://default
 Database driver                 :  mysql
 Database username               :  xx
 Database name                   :  xx
 Database                        :  Connected
 Drupal bootstrap                :  Successful
 Drupal user                     :  Anonyme
 Default theme                   :  xx
 Administration theme            :  seven
 PHP executable                  :  /usr/local/bin/php
 PHP configuration               :  /xx/.drush/drush.ini
 PHP OS                          :  Linux
 Drush version                   :  6.2.0
 Drush configuration             :
 Drush alias files               :
 Drupal root                     :  /xx
 Site path                       :  sites/default
 File directory path             :  sites/default/files
 Temporary file directory path   :  /data/www/tmp_php_upload

More info about it.

ps: i've try again tryin to isolate the problem and still the same error.

damien_dd’s picture

Also crash on:

 Name                 Installed Version  Proposed version  Message
 Entity API (entity)  7.x-1.0-rc1        7.x-1.2           Specified version
                                                           available
damien_dd’s picture

Ok, more infos about how and why.

So first try, i did this:
1.0-rc1 -> 1.0
It did not works.

I think this is because you need to update i18n module, in https://www.drupal.org/node/626176/release :

entity 7.x-1.0-rc2
Posted by fago on April 22, 2012 at 2:47pm
Release notes

Compatibility note: If the i18n Translation Sets module (i18n_translation) is used, an i18n version of 1.5 or later is required!

I did it, and i upgrade smoothly:
1.0-rc1 -> 1.0-rc2 -> 1.0-rc3 -> 1.0

And it works great.

Voila.

jnettik’s picture

Can you clarify this a bit more? I've updated entity to 1.5 and i18n_translation is at 1.11 which is the most recent release. I'm still getting the same issue and I have both modules enabled.

TR’s picture

Priority: Critical » Normal
Status: Active » Closed (cannot reproduce)

This evidently doesn't affect many people, as there have been no other reports of this problem. It would be difficult for a module to do anything that could cause a segmentation fault - that most likely has something to do with your server resources. Anyway, closing this because there is not enough information to reproduce the problem.