Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1889269

Summary: [abrt] gnome-shell: vsubq_f32(): gnome-shell killed by SIGBUS
Product: [Fedora] Fedora Reporter: Nicolas Chauvet (kwizart) <kwizart>
Component: gccAssignee: Jakub Jelinek <jakub>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: aoliva, dmalcolm, fmuellner, fweimer, gnome-sig, jadahl, jakub, jwakely, law, mpolacek, msebor, nickc, otaylor, philip.wyett, sipoyare
Target Milestone: ---   
Target Release: ---   
Hardware: armv7l   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ac1ce153809c79553f3dde94265f6009f89d20a7
Whiteboard: abrt_hash:8297efc0ecb600f7e50b3bd172898b480a4e6d8b;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-10 08:14:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 245418    
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: cpuinfo
none
File: dso_list
none
File: environ
none
File: exploitable
none
File: limits
none
File: maps
none
File: mountinfo
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Nicolas Chauvet (kwizart) 2020-10-19 08:37:51 UTC
Description of problem:


Version-Release number of selected component:
gnome-shell-3.38.1-2.fc33

Additional info:
reporter:       libreport-2.14.0
backtrace_rating: 4
cgroup:         0::/user.slice/user-42.slice/session-c3.scope
cmdline:        /usr/bin/gnome-shell
crash_function: vsubq_f32
executable:     /usr/bin/gnome-shell
journald_cursor: s=29f328ea0bce481a9492a0116e0809fe;i=1889e;b=0d1e78c7f04249b1b7c55d845adc965f;m=3d589251;t=5b1f5403467f0;x=18af5e9c83d176ed
kernel:         5.9.0-36.fc34.armv7hl
rootdir:        /
runlevel:       N 5
type:           CCpp
uid:            42

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 vsubq_f32 at /usr/lib/gcc/armv7hl-redhat-linux-gnueabi/10/include/arm_neon.h:1960
 #1 graphene_vec3_subtract at ../src/graphene-vectors.c:834
 #2 _cogl_util_get_eye_planes_for_screen_poly.constprop.0 at ../clutter/clutter/clutter-stage.c:752
 #3 setup_view_for_pick_or_paint at ../clutter/clutter/clutter-stage.c:828
 #4 clutter_stage_do_paint_view at ../clutter/clutter/clutter-stage.c:850
 #5 meta_stage_paint_view at ../src/backends/meta-stage.c:259
 #6 clutter_stage_paint_view at ../clutter/clutter/clutter-stage.c:875
 #7 paint_stage at ../clutter/clutter/cogl/clutter-stage-cogl.c:411
 #8 clutter_stage_cogl_redraw_view_primary at ../clutter/clutter/cogl/clutter-stage-cogl.c:604
 #9 clutter_stage_cogl_redraw_view at ../clutter/clutter/cogl/clutter-stage-cogl.c:699

Comment 1 Nicolas Chauvet (kwizart) 2020-10-19 08:37:56 UTC
Created attachment 1722575 [details]
File: backtrace

Comment 2 Nicolas Chauvet (kwizart) 2020-10-19 08:37:58 UTC
Created attachment 1722576 [details]
File: core_backtrace

Comment 3 Nicolas Chauvet (kwizart) 2020-10-19 08:38:00 UTC
Created attachment 1722577 [details]
File: cpuinfo

Comment 4 Nicolas Chauvet (kwizart) 2020-10-19 08:38:02 UTC
Created attachment 1722578 [details]
File: dso_list

Comment 5 Nicolas Chauvet (kwizart) 2020-10-19 08:38:03 UTC
Created attachment 1722579 [details]
File: environ

Comment 6 Nicolas Chauvet (kwizart) 2020-10-19 08:38:04 UTC
Created attachment 1722580 [details]
File: exploitable

Comment 7 Nicolas Chauvet (kwizart) 2020-10-19 08:38:06 UTC
Created attachment 1722581 [details]
File: limits

Comment 8 Nicolas Chauvet (kwizart) 2020-10-19 08:38:08 UTC
Created attachment 1722582 [details]
File: maps

Comment 9 Nicolas Chauvet (kwizart) 2020-10-19 08:38:09 UTC
Created attachment 1722583 [details]
File: mountinfo

Comment 10 Nicolas Chauvet (kwizart) 2020-10-19 08:38:11 UTC
Created attachment 1722584 [details]
File: open_fds

Comment 11 Nicolas Chauvet (kwizart) 2020-10-19 08:38:12 UTC
Created attachment 1722585 [details]
File: proc_pid_status

Comment 12 Nicolas Chauvet (kwizart) 2020-10-19 08:38:14 UTC
Created attachment 1722586 [details]
File: var_log_messages

Comment 13 Nicolas Chauvet (kwizart) 2020-10-19 09:17:51 UTC
Note that I'm using a non-default /proc/cpu/alignment option (echo 3 or 5) to generate the SIGBUS.

I've noted that from kernel.log, from an earlier SIGBUS.
--
oct. 18 18:02:04 jetson-tk1 kernel: Alignment trap: gnome-shell (2585) PC=0xb3441ed0 Instr=0xf4400aef Address=0x01a41458 FSR 0x811
oct. 18 18:02:04 jetson-tk1 kernel: Alignment trap: not handling instruction f4400aef at [<b3441ed0>]
oct. 18 18:02:04 jetson-tk1 kernel: 8<--- cut here ---
oct. 18 18:02:04 jetson-tk1 kernel: Unhandled fault: alignment exception (0x811) at 0x01a41458
oct. 18 18:02:04 jetson-tk1 kernel: pgd = f3dd6879
oct. 18 18:02:04 jetson-tk1 kernel: [01a41458] *pgd=ba323835
oct. 18 18:02:05 jetson-tk1 kernel: Alignment trap: gnome-shell (2585) PC=0xb3442008 Instr=0xf4612aef Address=0x01a41458 FSR 0x011
oct. 18 18:02:05 jetson-tk1 kernel: Alignment trap: not handling instruction f4612aef at [<b3442008>]
oct. 18 18:02:05 jetson-tk1 kernel: 8<--- cut here ---
oct. 18 18:02:05 jetson-tk1 kernel: Unhandled fault: alignment exception (0x011) at 0x01a41458
oct. 18 18:02:06 jetson-tk1 kernel: pgd = f3dd6879
oct. 18 18:02:06 jetson-tk1 kernel: [01a41458] *pgd=ba323835รจ
--- 

Note sure how to read this, but the Instruction looks, but the Instruction address looks located in libEGL.so. I don't see libEGL been used directly in the bt...

b332e000-b333a000 r-xp 00000000 00:1d 433142     /usr/lib/libEGL.so.1.1.0
b333a000-b334a000 ---p 0000c000 00:1d 433142     /usr/lib/libEGL.so.1.1.0
b334a000-b334b000 r--p 0000c000 00:1d 433142     /usr/lib/libEGL.so.1.1.0
b334b000-b334c000 rw-p 0000d000 00:1d 433142     /usr/lib/libEGL.so.1.1.0

Comment 14 Nicolas Chauvet (kwizart) 2020-10-21 12:21:37 UTC
re-assigned to gcc, as arm_neon.h is from there.

Comment 15 Nicolas Chauvet (kwizart) 2021-03-10 08:14:37 UTC
I've reported an issue in graphene upstream that is compiled with neon by default.
This should have worked on the jetson-tk1 that has neon support, but for some reason, the neon code

https://github.com/ebassi/graphene/issues/215
This was reported at rhbz#1937023

I also saw a previous rhbz related gcc for graphene neon been mis-compiled...

*** This bug has been marked as a duplicate of bug 1937023 ***