Bug 1943766 - [abrt] glmark2: std::__replacement_assert(): glmark2 killed by SIGABRT
Summary: [abrt] glmark2: std::__replacement_assert(): glmark2 killed by SIGABRT
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: glmark2
Version: 33
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominik 'Rathann' Mierzejewski
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:26349fe55847ebdf98cd7e2c9b0...
: 1953183 1995238 1996947 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-27 07:56 UTC by Constantine Karnacevych
Modified: 2021-10-29 23:03 UTC (History)
5 users (show)

Fixed In Version: glmark2-2021.02-2.fc34 glmark2-2021.02-2.fc33 glmark2-2021.02-3.fc35
Clone Of:
Environment:
Last Closed: 2021-10-20 19:22:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (21.63 KB, text/plain)
2021-03-27 07:56 UTC, Constantine Karnacevych
no flags Details
File: cgroup (497 bytes, text/plain)
2021-03-27 07:56 UTC, Constantine Karnacevych
no flags Details
File: core_backtrace (2.64 KB, text/plain)
2021-03-27 07:56 UTC, Constantine Karnacevych
no flags Details
File: cpuinfo (2.53 KB, text/plain)
2021-03-27 07:56 UTC, Constantine Karnacevych
no flags Details
File: dso_list (2.31 KB, text/plain)
2021-03-27 07:56 UTC, Constantine Karnacevych
no flags Details
File: environ (5.58 KB, text/plain)
2021-03-27 07:56 UTC, Constantine Karnacevych
no flags Details
File: limits (1.29 KB, text/plain)
2021-03-27 07:56 UTC, Constantine Karnacevych
no flags Details
File: maps (17.43 KB, text/plain)
2021-03-27 07:56 UTC, Constantine Karnacevych
no flags Details
File: mountinfo (5.21 KB, text/plain)
2021-03-27 07:56 UTC, Constantine Karnacevych
no flags Details
File: open_fds (1.02 KB, text/plain)
2021-03-27 07:56 UTC, Constantine Karnacevych
no flags Details
File: proc_pid_status (1.40 KB, text/plain)
2021-03-27 07:56 UTC, Constantine Karnacevych
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github glmark2 glmark2 issues 153 0 None closed segmentation fault on nvidia GPUs (OpenGL only) because of PR #132 2021-10-11 22:31:11 UTC

Description Constantine Karnacevych 2021-03-27 07:56:37 UTC
Version-Release number of selected component:
glmark2-2021.02-1.fc33

Additional info:
reporter:       libreport-2.14.0
backtrace_rating: 4
cmdline:        glmark2
crash_function: std::__replacement_assert
executable:     /usr/bin/glmark2
journald_cursor: s=681ab4d3cb854d4aa499503e236bbbb4;i=1d907;b=8be2859ab20547249c2f0915269c85f1;m=c3bf8d5d;t=5be7f20b8bb8e;x=375fedf2c0c5d297
kernel:         5.11.9-200.fc33.x86_64
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000
xsession_errors: 

Truncated backtrace:
Thread no. 1 (9 frames)
 #2 std::__replacement_assert at /usr/include/c++/10/x86_64-redhat-linux/bits/c++config.h:2560
 #3 std::vector<int, std::allocator<int> >::operator[] at /usr/include/c++/10/bits/stl_vector.h:1043
 #5 Mesh::render_vbo at ../src/mesh.cpp:574
 #6 TerrainRenderer::render at ../src/scene-terrain/terrain-renderer.cpp:52
 #7 RendererChain::render at ../src/scene-terrain/renderer-chain.cpp:107
 #8 SceneTerrain::draw at ../src/scene-terrain.cpp:359
 #9 MainLoop::draw at ../src/main-loop.cpp:133
 #10 MainLoop::step at ../src/main-loop.cpp:108
 #11 do_benchmark at ../src/main.cpp:123

Comment 1 Constantine Karnacevych 2021-03-27 07:56:40 UTC
Created attachment 1766859 [details]
File: backtrace

Comment 2 Constantine Karnacevych 2021-03-27 07:56:41 UTC
Created attachment 1766860 [details]
File: cgroup

Comment 3 Constantine Karnacevych 2021-03-27 07:56:42 UTC
Created attachment 1766861 [details]
File: core_backtrace

Comment 4 Constantine Karnacevych 2021-03-27 07:56:43 UTC
Created attachment 1766862 [details]
File: cpuinfo

Comment 5 Constantine Karnacevych 2021-03-27 07:56:44 UTC
Created attachment 1766863 [details]
File: dso_list

Comment 6 Constantine Karnacevych 2021-03-27 07:56:45 UTC
Created attachment 1766864 [details]
File: environ

Comment 7 Constantine Karnacevych 2021-03-27 07:56:46 UTC
Created attachment 1766865 [details]
File: limits

Comment 8 Constantine Karnacevych 2021-03-27 07:56:47 UTC
Created attachment 1766866 [details]
File: maps

Comment 9 Constantine Karnacevych 2021-03-27 07:56:48 UTC
Created attachment 1766867 [details]
File: mountinfo

Comment 10 Constantine Karnacevych 2021-03-27 07:56:49 UTC
Created attachment 1766868 [details]
File: open_fds

Comment 11 Constantine Karnacevych 2021-03-27 07:56:50 UTC
Created attachment 1766869 [details]
File: proc_pid_status

Comment 12 Dominik 'Rathann' Mierzejewski 2021-05-19 16:56:24 UTC
I can see you are running with nvidia binary driver installed. Can you reproduce it with nouveau?

Comment 13 Dominik 'Rathann' Mierzejewski 2021-05-19 16:57:58 UTC
*** Bug 1953183 has been marked as a duplicate of this bug. ***

Comment 14 Dominik 'Rathann' Mierzejewski 2021-05-19 17:00:35 UTC
Can you also attach glmark2 terminal output?

Comment 15 Constantine Karnacevych 2021-05-19 18:35:23 UTC
$ glmark2
=======================================================
    glmark2 2021.02
=======================================================
    OpenGL Information
    GL_VENDOR:     NVIDIA Corporation
    GL_RENDERER:   NVIDIA GeForce MX130/PCIe/SSE2
    GL_VERSION:    4.6.0 NVIDIA 465.27
=======================================================
[build] use-vbo=false: FPS: 2222 FrameTime: 0.450 ms
[build] use-vbo=true: FPS: 3929 FrameTime: 0.255 ms
[texture] texture-filter=nearest: FPS: 3453 FrameTime: 0.290 ms
[texture] texture-filter=linear: FPS: 3472 FrameTime: 0.288 ms
[texture] texture-filter=mipmap: FPS: 3584 FrameTime: 0.279 ms
[shading] shading=gouraud: FPS: 3168 FrameTime: 0.316 ms
[shading] shading=blinn-phong-inf: FPS: 3185 FrameTime: 0.314 ms
[shading] shading=phong: FPS: 3055 FrameTime: 0.327 ms
[shading] shading=cel: FPS: 3099 FrameTime: 0.323 ms
[bump] bump-render=high-poly: FPS: 1929 FrameTime: 0.518 ms
[bump] bump-render=normals: FPS: 3953 FrameTime: 0.253 ms
Error: Failed to add fragment shader from file None:
Error:   0(15) : error C0000: syntax error, unexpected identifier, expecting "::" at token "highp"
Error: 0(36) : warning C1503: undefined variable "TextureCoord"
Error: 0(37) : warning C1503: undefined variable "TextureCoord"
Error: 0(38) : warning C1503: undefined variable "TextureCoord"
Error:
[bump] bump-render=height: Set up failed
[effect2d] kernel=0,1,0;1,-4,1;0,1,0;: FPS: 2837 FrameTime: 0.352 ms
[effect2d] kernel=1,1,1,1,1;1,1,1,1,1;1,1,1,1,1;: FPS: 1732 FrameTime: 0.577 ms
[pulsar] light=false:quads=5:texture=false: FPS: 3365 FrameTime: 0.297 ms
[desktop] blur-radius=5:effect=blur:passes=1:separable=true:windows=4: FPS: 1348 FrameTime: 0.742 ms
[desktop] effect=shadow:windows=4: FPS: 2127 FrameTime: 0.470 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 859 FrameTime: 1.164 ms
[buffer] columns=200:interleave=false:update-dispersion=0.9:update-fraction=0.5:update-method=subdata: FPS: 1403 FrameTime: 0.713 ms
[buffer] columns=200:interleave=true:update-dispersion=0.9:update-fraction=0.5:update-method=map: FPS: 911 FrameTime: 1.098 ms
[ideas] speed=duration: FPS: 2901 FrameTime: 0.345 ms
[jellyfish] <default>: FPS: 2120 FrameTime: 0.472 ms
Error: Failed to add fragment shader from file None:
Error:   0(26) : warning C7022: unrecognized profile specifier "highp"
Error: 0(26) : error C0502: syntax error at token "highp"
Error:
Error: Failed to add fragment shader from file None:
Error:   0(75) : warning C7022: unrecognized profile specifier "highp"
Error: 0(75) : error C0502: syntax error at token "highp"
Error:
[terrain] <default>:/usr/include/c++/10/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::reference = int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__builtin_expect(__n < this->size(), true)' failed.
Interrupted (Memory dumped)

the last sentence translated from ukrainian, not sure if correct

also can confirm that only glmark2-es2 works fine

Comment 16 Dominik 'Rathann' Mierzejewski 2021-05-20 10:40:16 UTC
Thanks. This is definitely the same issue as reported in the upstream bug report. I'll update glmark2 once upstream fixes the issue.

Comment 17 Dominik 'Rathann' Mierzejewski 2021-08-18 20:28:32 UTC
*** Bug 1995238 has been marked as a duplicate of this bug. ***

Comment 18 Dominik 'Rathann' Mierzejewski 2021-08-24 07:18:35 UTC
*** Bug 1996947 has been marked as a duplicate of this bug. ***

Comment 19 frogtd129 2021-08-27 21:32:53 UTC
Similar problem has been detected:

Running GLMark under NVIDIA proprietary drivers crashes with the error  
```
Error: Failed to add fragment shader from file None:
Error:   0(26) : warning C7022: unrecognized profile specifier "highp"
Error: 0(26) : error C0502: syntax error at token "highp"
Error:
Error: Failed to add fragment shader from file None:
Error:   0(75) : warning C7022: unrecognized profile specifier "highp"
Error: 0(75) : error C0502: syntax error at token "highp"
Error:
```

reporter:       libreport-2.15.2
backtrace_rating: 4
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-alacritty-9934.scope
cmdline:        glmark2
crash_function: std::__replacement_assert
executable:     /usr/bin/glmark2
journald_cursor: s=22ba7344b4c94a9687cceff993af3095;i=d808;b=edf128159d324037ab7875c5df98ef16;m=153a3c88;t=5ca90f1e7de7c;x=3e0b1317b3e42428
kernel:         5.13.12-200.fc34.x86_64
package:        glmark2-2021.02-1.fc34
reason:         glmark2 killed by SIGABRT
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            1000

Comment 20 Fedora Update System 2021-10-11 23:19:22 UTC
FEDORA-2021-0baa41e0da has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-0baa41e0da

Comment 21 Fedora Update System 2021-10-11 23:19:22 UTC
FEDORA-2021-cc241ebc03 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cc241ebc03

Comment 22 Fedora Update System 2021-10-11 23:19:23 UTC
FEDORA-2021-cc41325b54 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-cc41325b54

Comment 23 Fedora Update System 2021-10-12 17:11:36 UTC
FEDORA-2021-cc241ebc03 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cc241ebc03`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cc241ebc03

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 24 Fedora Update System 2021-10-12 23:44:05 UTC
FEDORA-2021-0baa41e0da has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-0baa41e0da`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-0baa41e0da

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 25 Fedora Update System 2021-10-13 00:32:00 UTC
FEDORA-2021-cc41325b54 has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-cc41325b54`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-cc41325b54

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 26 Fedora Update System 2021-10-20 19:22:44 UTC
FEDORA-2021-0baa41e0da has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 27 Fedora Update System 2021-10-20 19:26:15 UTC
FEDORA-2021-cc41325b54 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 28 Constantine Karnacevych 2021-10-20 20:13:26 UTC
(In reply to Fedora Update System from comment #26)
> FEDORA-2021-0baa41e0da has been pushed to the Fedora 34 stable repository.
> If problem still persists, please make note of it in this bug report.

[jellyfish] <default>: FPS: 337 FrameTime: 2.967 ms
Error: Failed to add fragment shader from file None:
Error:   0(26) : warning C7022: unrecognized profile specifier "highp"
Error: 0(26) : error C0502: syntax error at token "highp"
Error:
Error: Failed to add fragment shader from file None:
Error:   0(75) : warning C7022: unrecognized profile specifier "highp"
Error: 0(75) : error C0502: syntax error at token "highp"
Error:
[terrain] <default>:/usr/include/c++/11/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = int; _Alloc = std::allocator<int>; std::vector<_Tp, _Alloc>::reference = int&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.

doesn't seem to be addressed

Comment 29 Dominik 'Rathann' Mierzejewski 2021-10-22 07:50:00 UTC
Are you sure you have the correct package version installed? The glmark2-2021.02-2.fc33 build definitely contains the upstream patch.

Comment 30 Constantine Karnacevych 2021-10-22 07:56:16 UTC
(In reply to Dominik 'Rathann' Mierzejewski from comment #29)
> Are you sure you have the correct package version installed? The
> glmark2-2021.02-2.fc33 build definitely contains the upstream patch.

I have tested this one: glmark2.x86_64-2021.02-2.fc34

Comment 31 Fedora Update System 2021-10-29 23:03:43 UTC
FEDORA-2021-cc241ebc03 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.