Comments (4)
Can't seem to reproduce, valgrind is also very happy. What's your exact build commands?
from zforth.
$ git diff
diff --git a/src/linux/Makefile b/src/linux/Makefile
index 7cdbf16..1486a35 100644
--- a/src/linux/Makefile
+++ b/src/linux/Makefile
@@ -10,8 +10,8 @@ CC := $(CROSS)gcc
VPATH := ../zforth
CFLAGS += -I. -I../zforth
CFLAGS += -Os -g -std=c89 -ansi -pedantic -MMD
-CFLAGS += -Wall -Wextra -Werror -Wno-unused-parameter -Wno-clobbered -Wno-unused-result
-LDFLAGS += -g
+CFLAGS += -fsanitize=address -Wall -Wextra -Werror -Wno-unused-parameter -Wno-clobbered -Wno-unused-result
+LDFLAGS += -fsanitize=address -g
LIBS += -lm
$ make clean
$ make
It is not every time asan "issue":
$ ./src/linux/zforth forth/core.zf
Welcome to zForth, 1035 bytes used
^C
$ ./src/linux/zforth forth/core.zf
Welcome to zForth, 1035 bytes used
^C
$ ./src/linux/zforth forth/core.zf
AddressSanitizer:DEADLYSIGNAL
=================================================================
==80885==ERROR: AddressSanitizer: SEGV on unknown address 0x60ef5cd25290 (pc 0x77e7e0b42c47 bp 0x000000000000 sp 0x7fff1f154e60 T0)
==80885==The signal is caused by a READ memory access.
AddressSanitizer:DEADLYSIGNAL
AddressSanitizer: nested bug in the same thread, aborting.
$
from zforth.
Tried this on 3 different machines, but no reproduction, sorry :(
from zforth.
Closing this as "can't reproduce"
from zforth.
Related Issues (16)
- strings.zf missing HOT 1
- How to set a variable HOT 1
- Clarify the level of ANS Forth compliance HOT 1
- todo's and notes to self
- Port to Pico? HOT 6
- include triggers ZF_ABORT_BUSY HOT 8
- Does not build on Void Linux without libsanitizer-devel HOT 1
- Missing some headers and C++ compatibility? HOT 4
- Loop iterator "j" HOT 9
- I want to embed zForth into Tic-80 HOT 3
- Floating Point segmentation fault 2017-07-23 HOT 3
- Does zforth support more memory than 16Kb HOT 5
- d
- see for word definition HOT 1
- GPL HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zforth.