poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SEGFAULT when writing array of arrays to buffer


From: Agathe Porte
Subject: SEGFAULT when writing array of arrays to buffer
Date: Thu, 24 Nov 2022 13:47:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1

Hello,

I can reproduce bug 28380 [1] using the latest revision of GNU poke from the git repository (revision 52fd6468b803c8561762172d961c92c0b298d728). Since this bug is marked as UNCONFIRMED, I think it should be at least marked CONFIRMED if a developer can reproduce the steps listed below that provokes the crash.

I can provide additional details if asked.

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=28380

Thanks,

Agathe.

-----

     _____
 ---'   __\_______
            ______)  GNU poke 2.4
            __)
           __)
 ---._______)

Copyright (C) 2019-2022 The poke authors.
License GPLv3+: GNU GPL version 3 or later.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Powered by Jitter 0.9.284.
Perpetrated by Jose E. Marchesi.

For help, type ".help".
Type ".exit" to leave the program.
(poke) .mem test
The current IOS is now `*test*'.
(poke) var a = [0xffUB,0x42UB,0x13UB]
(poke) var l = [a,a,a,a,a]
(poke) var i = [l,l,l,l,l]
(poke) i
[[[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB]],[[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB]],[[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB]],[[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB]],[[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB],[255UB,66UB,19UB]]]
(poke)  byte[3][5][5] @ 0#B = i
(poke) dump
76543210  0011 2233 4455 6677 8899 aabb ccdd eeff 0123456789ABCDEF
00000000: 0000 0000 0000 0000 0000 0000 0000 0000 ................
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 ff42 1300 0000 0000 .........B......
00000050: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000060: 0000 0000 0000 0000 0000 0000 0000 0000 ................
00000070: 0000 0000 0000 0000 0000 0000 0000 0000 ................
(poke) l
[1]    196333 segmentation fault  ./run poke




reply via email to

[Prev in Thread] Current Thread [Next in Thread]