[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug Runtime/28380] New: "poke" received signal SIGSEGV, Segmentation fa
From: |
guillermo.e.martinez at oracle dot com |
Subject: |
[Bug Runtime/28380] New: "poke" received signal SIGSEGV, Segmentation fault, printing a two dimensional array |
Date: |
Thu, 23 Sep 2021 22:17:53 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=28380
Bug ID: 28380
Summary: "poke" received signal SIGSEGV, Segmentation fault,
printing a two dimensional array
Product: poke
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: Runtime
Assignee: unassigned at sourceware dot org
Reporter: guillermo.e.martinez at oracle dot com
CC: poke-devel at gnu dot org
Target Milestone: ---
Steps to reproduce:
1) initialize the following variables:
(poke) var bga = [255UB, 255UB, 255UB] ; var fga = [255UB, 99UB, 71UB] ; var l0
= [bga, fga, fga, bga, bga] ; var l1 = [bga, fga, bga, fga, bga] ; var l2 =
[bga, fga, fga, bga, bga] ; var l3 = [bga, fga, bga, bga, bga] ; var l4 = l3 ;
var l5 = l4
2) Create a mem IOS:
(poke) .mem foo
The current IOS is now `*foo*'
3) Write the content of l0 variable to *foo* IOS
(poke) byte[3][5] @ 0#B = l0
4) *foo* IOS was not written correctly:
(poke) dump
76543210 0011 2233 4455 6677 8899 aabb ccdd eeff 0123456789ABCDEF
00000000: 0000 0000 0000 ff63 4700 0000 ffff ff00 .......cG.......
00000010: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000020: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000030: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000040: 0000 0000 0000 0000 0000 0000 0000 0000 ................
5) Print the content of l0[0]
(poke) l0[0]
Thread 1 "poke" received signal SIGSEGV, Segmentation fault.
0x00007fffbb2c2e37 in ?? ()
Doing the backtrace in GDB:
#0 0x00007fffbb499e37 in ?? ()
#1 0x00007ffff7b89478 in ?? () from /usr/lib/x86_64-linux-gnu/libgc.so.1
#2 0x0000000000000240 in ?? ()
#3 0x00005555555b1e00 in ?? ()
#4 0x000055005561e270 in ?? ()
#5 0x00007ffffffef790 in ?? ()
#6 0x00007fffc41559c6 in ?? ()
#7 0x000000000000002d in ?? ()
#8 0x0000555555a31350 in ?? ()
#9 0x00007ffffffef790 in ?? ()
#10 0x00007ffff7ed9d7d in pvm_program_beginning (program=0x0) at
../../poke/libpoke/pvm-program.c:245
However, It doesn't show more information using -g -O0 though. ..sorry for that
:-(
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug Runtime/28380] New: "poke" received signal SIGSEGV, Segmentation fault, printing a two dimensional array,
guillermo.e.martinez at oracle dot com <=