-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault -z -b 0 #15
Comments
with zig we get a slightly different failure mode jim@gentoo ~/work/gztool $ zig cc gztool.c -I /usr/include/ -l{z,m} -o gztool ACTION: Extract from byte = 0 Processing '/home/jim/work/fumes/data/galaxy_1day.json.gz' ... edit: same result happens without the -z I can settle for an index with line information and -I works on my system with -b 0 so this is not a showstopper for me, but I am certainly interested in a minimal index. |
Hi @jnorthrup There's a bug with
|
I've released v1.5.2 in order to patch this bug. It can be downloaded also from launchpad.net: Let me know any problems 👍 |
Hey I'm reporting something where I want the block index but i am doing my own line index with
-b 0
so-z
looks like the thing.then this happens.
$
gztool -z ~/work/fumes/data/galaxy_1day.json.gz -I FOOIdx.gzi -b 0 >/dev/null
ACTION: Extract from byte = 0
Processing '/home/jim/work/fumes/data/galaxy_1day.json.gz' ...
Processing index to 'FOOIdx.gzi'...
Segmentation fault
the OS distro is recent gentoo ~2 months world build on gcc compiler -O2
the gztool binary is from
clang-15 -l{z,m} -O3 -flto -ogztool gztool.c
it was also plain old gcc before with same result.
I think I could possibly get a cheap build with zig to test different libc's which would output clang but I'd need to rtfm and follow up for that.
The text was updated successfully, but these errors were encountered: