Content
You are here:
Internal error / illegal instruction bug after update to 12.2.1
Added by Thomas Entner over 2 years ago
Hi,
after updating to 12.2.1 (from some 11.x version) I get internal errors when I e.g. want to add a note to a task.
With "sudo openproject logs --tail" I see following error (see [BUG] in 3rd line):
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
Aug 19 11:25:16 openproject openproject-web-1.service[11853]: ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x86_64-linux]
Aug 19 11:25:16 openproject openproject-web-1.service[11853]: -- Control frame information -----------------------------------------------
Aug 19 11:25:16 openproject openproject-web-1.service[11853]: c:0113 p:---- s:0787 e:000786 CFUNC :load
Aug 19 11:25:16 openproject openproject-web-1.service[11853]: c:0112 p:0035 s:0781 e:000780 METHOD /opt/openproject/vendor/bundle/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json/adapters/oj.rb:34
Aug 19 11:25:16 openproject openproject-web-1.service[11853]: c:0111 p:0046 s:0775 e:000774 METHOD /opt/openproject/vendor/bundle/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json/adapter.rb:21
Aug 19 11:25:16 openproject openproject-web-1.service[11853]: c:0110 p:0019 s:0769 e:000768 METHOD /opt/openproject/vendor/bundle/ruby/3.1.0/gems/multi_json-1.15.0/lib/multi_json.rb:122
Aug 19 11:25:16 openproject openproject-web-1.service[11853]: c:0109 p:0013 s:0761 e:000760 METHOD /opt/openproject/lib/api/v3/parser.rb:32
Aug 19 11:25:16 openproject openproject-web-1.service[11853]: c:0108 p:0114 s:0752 e:000748 METHOD /opt/openproject/vendor/bundle/ruby/3.1.0/gems/grape-1.6.2/lib/grape/middleware/formatter.rb:104
Aug 19 11:25:16 openproject openproject-web-1.service[11853]: c:0107 p:0192 s:0741 e:000740 METHOD /opt/openproject/vendor/bundle/ruby/3.1.0/gems/grape-1.6.2/lib/grape/middleware/formatter.rb:90
Any ideas how I can fix this?
Regards,
Thomas
Replies (3)
Could hot-fix it myself, maybe it helps someone else (or someone knows the root cause or a better fix):
It looks like the 3.1.0 version of oj.so is buggy. I could fix it by replacing it with the 3.0.0 version which I had also on my system. I found 3 occureces of oj.so. What I exactly did is this:
THANK YOU! Your commands saved my behind this morning during an upgrade that failed. https://community.openproject.org/topics/15381
This should be fixed for good by OP 12.2.4.