Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882487 - gnome-extra/cjs-5.6.1 leaves trace of segfault in dmesg
Summary: gnome-extra/cjs-5.6.1 leaves trace of segfault in dmesg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Turnbull
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-11-22 10:03 UTC by Agostino Sarubbo
Modified: 2024-08-05 03:36 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2022-11-22 10:03:26 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: gnome-extra/cjs-5.6.1 leaves trace of segfault in dmesg.
Discovered on: amd64 (internal ref: ci)

NOTE:
To reproduce this issue:
1) Install the package with FEATURES=test
2) Check dmesg output with: dmesg -T | grep -E '( segfault | traps:| audit:)'

This type of report comes from a check that is a bit outside of the tinderbox, that's the reason because build.log was not provided (however in cases like these the build.log doesn't help much) but if you need further help to diagnose this issue feel free to ask.

In any case I'm providing what I can see via dmesg.
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-22 10:03:48 UTC
[Tue Nov 22 08:58:27 2022] traps: cjs-console[24684] trap int3 ip:7f4be5c80c12 sp:7ffe8df6d550 error:0 in libglib-2.0.so.0.7400.1[7f4be5c42000+8c000]
[Tue Nov 22 08:58:27 2022] traps: cjs-console[24802] trap int3 ip:7eff8fc87c12 sp:7ffccc8e1810 error:0 in libglib-2.0.so.0.7400.1[7eff8fc49000+8c000]
[Tue Nov 22 08:58:29 2022] traps: cjs-console[25589] trap int3 ip:7facbade9c12 sp:7ffd0edbe290 error:0 in libglib-2.0.so.0.7400.1[7facbadab000+8c000]
[Tue Nov 22 08:58:29 2022] traps: cjs-console[25625] trap int3 ip:7fa2ae88fc12 sp:7fff47079050 error:0 in libglib-2.0.so.0.7400.1[7fa2ae851000+8c000]
[Tue Nov 22 08:58:30 2022] traps: cjs-console[26568] trap int3 ip:7fb88b388c12 sp:7ffe089fbdd0 error:0 in libglib-2.0.so.0.7400.1[7fb88b34a000+8c000]
[Tue Nov 22 08:58:30 2022] traps: cjs-console[27115] trap int3 ip:7f574777bc12 sp:7ffd4ba929e0 error:0 in libglib-2.0.so.0.7400.1[7f574773d000+8c000]
Comment 2 Matthew Turnbull 2022-11-26 05:03:36 UTC
Thee messages appear to only be output during unit test execution in the test phase. I have not seen any of these errors occur during normal operation of the Cinnamon desktop environment.

Also, in-tree versions of dev-libs/gjs also produce the same output during tests.

[328479.761256] traps: gjs-console[17489] trap int3 ip:7fe64344936a sp:7fffceae7150 error:0 in libglib-2.0.so.0.7400.1[7fe64340a000+8d000]
[328479.823380] traps: gjs-console[17592] trap int3 ip:7f500354a36a sp:7ffe1a2d42f0 error:0 in libglib-2.0.so.0.7400.1[7f500350b000+8d000]
[328480.518724] traps: gjs-console[18284] trap int3 ip:7f98f3b4036a sp:7ffc4226df60 error:0 in libglib-2.0.so.0.7400.1[7f98f3b01000+8d000]
[328480.584779] traps: gjs-console[18438] trap int3 ip:7f7458c2536a sp:7ffd0ea092c0 error:0 in libglib-2.0.so.0.7400.1[7f7458be6000+8d000]
[328480.730211] traps: gjs-console[18638] trap int3 ip:7f85e41c336a sp:7fffb5785cd0 error:0 in libglib-2.0.so.0.7400.1[7f85e4184000+8d000]
[328480.765187] traps: gjs-console[18650] trap int3 ip:7f11db8b936a sp:7ffe5691ca10 error:0 in libglib-2.0.so.0.7400.1[7f11db87a000+8d000]

Since cjs is a fork of gjs, and tracks upstream (currently 1.70), this should probably be filed against gjs. The upstream fix can be back ported to cjs whenever it's available.
Comment 3 Matthew Turnbull 2024-07-04 02:44:50 UTC
cjs-6.2 has been rebased on a newer version of gjs. So far, I'm unable to reproduce the error messages.
Comment 4 Larry the Git Cow gentoo-dev 2024-08-05 03:36:41 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=271a4b7deba516c0fe7a2c6299556812ebe89432

commit 271a4b7deba516c0fe7a2c6299556812ebe89432
Author:     Matthew S. Turnbull <sparky@bluefang-logic.com>
AuthorDate: 2024-06-24 03:44:48 +0000
Commit:     Eli Schwartz <eschwartz@gentoo.org>
CommitDate: 2024-08-05 03:35:44 +0000

    gnome-extra/cjs: add 6.2.0
    
    Bug: https://bugs.gentoo.org/934783
    Closes: https://bugs.gentoo.org/882487
    Signed-off-by: Matthew S. Turnbull <sparky@bluefang-logic.com>
    Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>

 gnome-extra/cjs/Manifest         |  1 +
 gnome-extra/cjs/cjs-6.2.0.ebuild | 91 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 92 insertions(+)