Bug 2180629 - [abrt] corectrl: std::__glibcxx_assert_fail(): corectrl killed by SIGABRT
Summary: [abrt] corectrl: std::__glibcxx_assert_fail(): corectrl killed by SIGABRT
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: corectrl
Version: 38
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Artem
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4fb1f04386b48d220890c2e2384...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-03-21 23:13 UTC by Schuyler Cavender
Modified: 2023-04-15 02:07 UTC (History)
1 user (show)

Fixed In Version: corectrl-1.3.5-2.fc38
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-15 02:07:06 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: proc_pid_status (1.38 KB, text/plain)
2023-03-21 23:13 UTC, Schuyler Cavender
no flags Details
File: maps (3.97 KB, text/plain)
2023-03-21 23:13 UTC, Schuyler Cavender
no flags Details
File: limits (1.29 KB, text/plain)
2023-03-21 23:13 UTC, Schuyler Cavender
no flags Details
File: environ (1.61 KB, text/plain)
2023-03-21 23:13 UTC, Schuyler Cavender
no flags Details
File: open_fds (10.29 KB, text/plain)
2023-03-21 23:13 UTC, Schuyler Cavender
no flags Details
File: mountinfo (3.89 KB, text/plain)
2023-03-21 23:13 UTC, Schuyler Cavender
no flags Details
File: os_info (756 bytes, text/plain)
2023-03-21 23:13 UTC, Schuyler Cavender
no flags Details
File: cpuinfo (3.13 KB, text/plain)
2023-03-21 23:13 UTC, Schuyler Cavender
no flags Details
File: core_backtrace (22.36 KB, text/plain)
2023-03-21 23:13 UTC, Schuyler Cavender
no flags Details
File: var_log_messages (501 bytes, text/plain)
2023-03-21 23:13 UTC, Schuyler Cavender
no flags Details
File: backtrace (74.86 KB, text/plain)
2023-03-21 23:13 UTC, Schuyler Cavender
no flags Details
File: backtrace (75.32 KB, text/plain)
2023-03-22 20:20 UTC, André
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Gitlab corectrl corectrl issues 354 0 None opened CoreCtrl Crashes immediately upon opening 2023-03-23 07:44:19 UTC

Description Schuyler Cavender 2023-03-21 23:13:41 UTC
Description of problem:
Starting CoreCtl instantly crashes. Every time.

Version-Release number of selected component:
corectrl-1.3.2-1.fc38

Additional info:
reporter:       libreport-2.17.8
type:           CCpp
reason:         corectrl killed by SIGABRT
journald_cursor: s=16e7f1e306de442faf58eec6404482f3;i=1e380;b=3873e2d948a14dc4a874403be4d9db27;m=2fa0ddc2;t=5f72fdbd2d703;x=a6b78cdc057be49
executable:     /usr/bin/corectrl
cmdline:        /usr/bin/corectrl
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.corectrl.corectrl-7608.scope
rootdir:        /
uid:            1000
kernel:         6.2.6-300.fc38.x86_64
package:        corectrl-1.3.2-1.fc38
runlevel:       N 5
dso_list:       /usr/bin/corectrl corectrl-1.3.2-1.fc38.x86_64 (Fedora Project) 1679159795
backtrace_rating: 4
crash_function: std::__glibcxx_assert_fail
comment:        Starting CoreCtl instantly crashes. Every time.

Truncated backtrace:
Thread no. 1 (10 frames)
 #4 std::__glibcxx_assert_fail at ../../../../../libstdc++-v3/src/c++11/debug.cc:61
 #5 std::clamp<units::unit_t<units::unit<std::ratio<1l, 1000000l>, units::unit<std::ratio<1l, 1l>, units::base_unit<std::ratio<2l, 1l>, std::ratio<1l, 1l>, std::ratio<-3l, 1l>, std::ratio<0l, 1l>, std::ratio<0l, 1l>, std::ratio<0l, 1l>, std::ratio<0l, 1l>, std::ratio<0l, 1l>, std::ratio<0l, 1l> >, std::ratio<0l, 1l>, std::ratio<0l, 1l> >, std::ratio<0l, 1l>, std::ratio<0l, 1l> >, double, units::linear_scale> > at /usr/include/c++/13/bits/stl_algo.h:3667
 #7 AMD::PMPowerCap::value at /usr/src/debug/corectrl-1.3.2-1.fc38.x86_64/src/core/components/controls/amd/pm/advanced/powercap/pmpowercap.cpp:85
 #8 AMD::PMPowerCap::init at /usr/src/debug/corectrl-1.3.2-1.fc38.x86_64/3rdparty/units/units.h:2471
 #9 ControlGroup::init at /usr/src/debug/corectrl-1.3.2-1.fc38.x86_64/src/core/components/controls/controlgroup.cpp:33
 #10 ControlMode::init at /usr/src/debug/corectrl-1.3.2-1.fc38.x86_64/src/core/components/controls/controlmode.cpp:37
 #11 GPU::init at /usr/src/debug/corectrl-1.3.2-1.fc38.x86_64/src/core/components/gpu.cpp:58
 #12 SysModel::init at /usr/src/debug/corectrl-1.3.2-1.fc38.x86_64/src/core/sysmodel.cpp:22
 #13 SysModelSyncer::init at /usr/src/debug/corectrl-1.3.2-1.fc38.x86_64/src/core/sysmodelsyncer.cpp:57
 #14 App::exec at /usr/src/debug/corectrl-1.3.2-1.fc38.x86_64/src/app/app.cpp:112

Comment 1 Schuyler Cavender 2023-03-21 23:13:43 UTC
Created attachment 1952572 [details]
File: proc_pid_status

Comment 2 Schuyler Cavender 2023-03-21 23:13:45 UTC
Created attachment 1952573 [details]
File: maps

Comment 3 Schuyler Cavender 2023-03-21 23:13:46 UTC
Created attachment 1952574 [details]
File: limits

Comment 4 Schuyler Cavender 2023-03-21 23:13:48 UTC
Created attachment 1952575 [details]
File: environ

Comment 5 Schuyler Cavender 2023-03-21 23:13:49 UTC
Created attachment 1952576 [details]
File: open_fds

Comment 6 Schuyler Cavender 2023-03-21 23:13:50 UTC
Created attachment 1952577 [details]
File: mountinfo

Comment 7 Schuyler Cavender 2023-03-21 23:13:51 UTC
Created attachment 1952578 [details]
File: os_info

Comment 8 Schuyler Cavender 2023-03-21 23:13:52 UTC
Created attachment 1952579 [details]
File: cpuinfo

Comment 9 Schuyler Cavender 2023-03-21 23:13:53 UTC
Created attachment 1952580 [details]
File: core_backtrace

Comment 10 Schuyler Cavender 2023-03-21 23:13:55 UTC
Created attachment 1952581 [details]
File: var_log_messages

Comment 11 Schuyler Cavender 2023-03-21 23:13:56 UTC
Created attachment 1952582 [details]
File: backtrace

Comment 12 Artem 2023-03-22 00:16:49 UTC
Mine works on f38 in VM. Could you file a bug upstream please?
https://gitlab.com/corectrl/corectrl/-/issues/

Comment 13 Schuyler Cavender 2023-03-22 05:51:15 UTC
(In reply to Artem from comment #12)
> Mine works on f38 in VM. Could you file a bug upstream please?
> https://gitlab.com/corectrl/corectrl/-/issues/

Sure, I'll do it first thing in the morning. Do you need me to relay the bug id to this report?

Comment 14 Artem 2023-03-22 06:16:27 UTC
(In reply to Schuyler Cavender from comment #13)
> Do you need me to relay the bug id to this report?

That indeed would very be useful. I'm worried that something still could go wrong due unbundled libs.

Comment 15 Schuyler Cavender 2023-03-22 07:11:37 UTC
Report has been made. I mentioned and linked this bug report as well to give more context.

Link to upstream is here: https://gitlab.com/corectrl/corectrl/-/issues/354

Comment 16 André 2023-03-22 20:20:54 UTC
I just opened the application.


reporter:       libreport-2.17.8
type:           CCpp
reason:         corectrl killed by SIGABRT
journald_cursor: s=9e72d5632b574a7384472e6604e0d57c;i=82e22;b=3ac570e04a7349308cc25d79596f6d73;m=2ac64cb53;t=5f782d663b052;x=7c50934b6cda5f0e
executable:     /usr/bin/corectrl
cmdline:        /usr/bin/corectrl
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.corectrl.corectrl-21654.scope
rootdir:        /
uid:            1000
kernel:         6.2.7-300.fc38.x86_64
package:        corectrl-1.3.2-1.fc38
runlevel:       N 5
dso_list:       /usr/bin/corectrl corectrl-1.3.2-1.fc38.x86_64 (Fedora Project) 1679514937
backtrace_rating: 4
crash_function: std::__glibcxx_assert_fail
comment:        I just opened the application.

Comment 17 André 2023-03-22 20:20:56 UTC
Created attachment 1952926 [details]
File: backtrace

Comment 19 Schuyler Cavender 2023-03-24 21:42:58 UTC
Still had the same issue. Here is the output from terminal after downgrading


schuyler@fedora(~)$corectrl
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
/usr/include/c++/13/bits/stl_algo.h:3669: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = units::unit_t<units::unit<ratio<1, 1000000>, units::unit<ratio<1>, units::base_unit<ratio<2>, ratio<1>, ratio<-3> > >, ratio<0, 1>, ratio<0, 1> > >]: Assertion '!(__hi < __lo)' failed.
Aborted (core dumped)


Output after upgrading to the current package:

schuyler@fedora(~)$corectrl
amdgpu: os_same_file_description couldn't determine if two DRM fds reference the same file description.
If they do, bad things may happen!
/usr/include/c++/13/bits/stl_algo.h:3669: constexpr const _Tp& std::clamp(const _Tp&, const _Tp&, const _Tp&) [with _Tp = units::unit_t<units::unit<ratio<1, 1000000>, units::unit<ratio<1>, units::base_unit<ratio<2>, ratio<1>, ratio<-3> > >, ratio<0, 1>, ratio<0, 1> > >]: Assertion '!(__hi < __lo)' failed.
Aborted (core dumped)

I have no idea what any of this means so I'm sorry I can't be much help.

Comment 20 Fedora Update System 2023-03-28 16:48:41 UTC
FEDORA-2023-189b1f8380 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-189b1f8380

Comment 21 Fedora Update System 2023-03-29 02:02:08 UTC
FEDORA-2023-189b1f8380 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-189b1f8380

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

Comment 22 André 2023-03-29 10:25:39 UTC
I just opened the application.


reporter:       libreport-2.17.9
type:           CCpp
reason:         corectrl killed by SIGABRT
journald_cursor: s=9e72d5632b574a7384472e6604e0d57c;i=82e22;b=3ac570e04a7349308cc25d79596f6d73;m=2ac64cb53;t=5f782d663b052;x=7c50934b6cda5f0e
executable:     /usr/bin/corectrl
cmdline:        /usr/bin/corectrl
cgroup:         0::/user.slice/user-1000.slice/user/app.slice/app-gnome-org.corectrl.corectrl-21654.scope
rootdir:        /
uid:            1000
kernel:         6.2.7-300.fc38.x86_64
package:        corectrl-1.3.2-1.fc38
runlevel:       N 5
dso_list:       /usr/bin/corectrl corectrl-1.3.2-1.fc38.x86_64 (Fedora Project) 1679514937
comment:        I just opened the application.
backtrace_rating: 4
crash_function: std::__glibcxx_assert_fail

Comment 23 Fedora Update System 2023-04-15 02:07:06 UTC
FEDORA-2023-bfa8e55b6e has been pushed to the Fedora 38 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.