foss-for-synopsys-dwc-arc-processors/toolchain

Screen crashing when built for snps_arc32_defconfig

Closed this issue · 1 comments

I'm using branch arc-2023.09, config snps_arc32_defconfig
I added screen and libxcrypt in menuconfig.

After running the vmlinux in nSIM, I can see the following crash when trying to run screen and typing some newlines there

# screen
[..] type here something line 15-20 newlines
#
[screen caught signal 11. (core dumped)]
#
#
#
# potentially unexpected fatal signal 6.
Path: /usr/bin/screen
CPU: 0 PID: 82 Comm: screen Not tainted 5.16.0 #6
  @off 0x3d0b6 in [/lib/libuClibc-1.0.45.so]  VMA: 0x20076000 to 0x200e7000
ECR: 0x00090000 EFA: 0x00000000 ERET: 0x200b30b6
STAT: 0x80080a82 [IE U     ]   BTA: 0x200b3054
 SP: 0x5f821054  FP: 0x4006b470 BLK: 0x200af252
r00: 0x00000000 r01: 0x5f821054 r02: 0x00000000
r03: 0x00000008 r04: 0x00000000 r05: 0x00000001
r06: 0x00000000 r07: 0x01010101 r08: 0x00000087
r09: 0x19999999 r10: 0x00000000 r11: 0x00000006
r12: 0x4000baa4 r13: 0x5f821054 r14: 0x200eaa5c
r15: 0x40064388 r16: 0x200e818c r17: 0x00000000
r18: 0x5f821090 r19: 0x00000000 r20: 0x400575a0
r21: 0x00000000 r22: 0x00000000 r23: 0x4006d9fc
r24: 0x00000000 r25: 0x4006ddd0

#

Thanks, I can confirm that fix in toolchain resolved the issue.