5.31, 5.24 B1 x86 - Memory viewer crash

Post bugs related to the IDE here
Inf0Byt3
PureBasic Fanatic
PureBasic Fanatic
Posts: 2236
Joined: Fri Dec 09, 2005 12:15 pm
Location: Elbonia

5.31, 5.24 B1 x86 - Memory viewer crash

Post by Inf0Byt3 »

The memory viewer segfaults when reading certain memory areas. Steps to reproduce:

- Paste the following code in the IDE, compile and run it:

Code: Select all

ShowMemoryViewer(?x,  3)
DataSection
    x:
    Data.a $1,$2,$3
EndDataSection
-After the memory viewer appears, change the view from "Hex view" to "Byte table", then the crash will occur.

OS: Mint 17 x86, KDE
None are more hopelessly enslaved than those who falsely believe they are free. (Goethe)
User avatar
Zebuddi123
Enthusiast
Enthusiast
Posts: 796
Joined: Wed Feb 01, 2012 3:30 pm
Location: Nottinghamshire UK
Contact:

Re: 5.31, 5.24 B1 x86 - Memory viewer crash

Post by Zebuddi123 »

Hi Inf0Byt3

Works fine on mint 17 kde x64 PB 5.31

Zebuddi. :)
malleo, caput, bang. Ego, comprehendunt in tempore
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: 5.31, 5.24 B1 x86 - Memory viewer crash

Post by ts-soft »

Confirmed on XUbuntu x86!
Works fine on XUbuntu x64.
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
User avatar
heartbone
Addict
Addict
Posts: 1058
Joined: Fri Apr 12, 2013 1:55 pm
Location: just outside of Ferguson

Re: 5.31, 5.24 B1 x86 - Memory viewer crash

Post by heartbone »

Confirmed on UBUNTU x86 - PB 5.31 & 5.22
Keep it BASIC.
User avatar
Sicro
Enthusiast
Enthusiast
Posts: 562
Joined: Wed Jun 25, 2014 5:25 pm
Location: Germany
Contact:

Re: 5.31, 5.24 B1 x86 - Memory viewer crash

Post by Sicro »

Ok, there is already a bug report.

I could reproduce the bug in the current PB version: 5.42LTSx86
In the x64 version, there is no problem.

Code: Select all

*Memory = AllocateMemory(1)
ShowMemoryViewer(*Memory, 1)
Switching from "Hex View" to "Byte Table" to produce the error.

Error Message:
An Error has been detected in the IDE!
Error: Segmentation violation

IDE build on 03/01/2016 [09:21] by fred
Branch: Revision: 1741
Image
Why OpenSource should have a license :: PB-CodeArchiv-Rebirth :: Pleasant-Dark (syntax color scheme) :: RegEx-Engine (compiles RegExes to NFA/DFA)
Manjaro Xfce x64 (Main system) :: Windows 10 Home (VirtualBox) :: Newest PureBasic version
Post Reply