# Bug OP-11126 - Internal error / Illegal instruction error

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-11126

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module |  |
| Target versions | 12.2.4 |
| Observed in versions | 12.2.0 |
| Sprint | 12.2.4 |
| Backlog bucket |  |
| Bug found in version (deprecated) | 12.2.x |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

Some users reported to have errors after updating to 12.2.1: <https://community.openproject.org/topics/15246>

The logs reported the following error:

``` text
Aug 19 11:25:16 openproject openproject-web-1.service[11853]: I, [2022-08-19T11:25:16.325057 #11853]  INFO -- : Started POST "/api/v3/work_packages/1739/activities" for 85.127.70.217 at 2022-08-19 11:25:16 +0200
Aug 19 11:25:16 openproject openproject-web-1.service[11853]: /opt/openproject/vendor/bundle/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json/adapters/oj.rb:34: [BUG] Illegal instruction at 0x00007fcd5296bf29
```

The issue seems to come from oj gem and is reported here: <https://github.com/ohler55/oj/issues/789>

Version 3.13.15 started using SSE4.2 CPU instructions, and CPUs not supporting SSE4.2 instructions, like AMD Opteron 4180, will fail. It is likely that the users experimented just that.

Issue was fixed in [version 3.13.18](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md#31318---2022-07-25) but some users [still experienced issues](https://github.com/ohler55/oj/issues/789#issuecomment-1206500023). Version [3.13.20 disabled SSE 4.2 entirely to fix the issue](https://github.com/ohler55/oj/issues/789#issuecomment-1207692736).

Upgrading to 3.13.20 or later should fix the issue.
