Skip to content
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

SIGBUS encountered when writing a Jay file and disk space is too low #1837

Closed
st-pasha opened this issue May 1, 2019 · 0 comments · Fixed by #1838
Closed

SIGBUS encountered when writing a Jay file and disk space is too low #1837

st-pasha opened this issue May 1, 2019 · 0 comments · Fixed by #1838
Assignees
Labels
segfault Severe bugs that lead to crashes / seg.faults / process termination
Milestone

Comments

@st-pasha
Copy link
Contributor

st-pasha commented May 1, 2019

Stack trace:

Thread 1 "python" received signal SIGBUS, Bus error.
__memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:238
238	../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: No such file or directory.
(gdb) bt
#0  __memcpy_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:238
#1  0x00007ffff5def2c5 in ThreadsafeWritableBuffer::write_at (this=0xcba7e0, pos=<optimized out>, n=<optimized out>, src=<optimized out>) at c/writebuf.cc:177
#2  0x00007ffff5f654c0 in saveMemoryRange (mbuf=<optimized out>, wb=<optimized out>) at c/jay/save_jay.cc:186
#3  column_to_jay (col=<optimized out>, name=..., fbb=..., wb=<optimized out>) at c/jay/save_jay.cc:150
#4  DataTable::save_jay_impl (this=<optimized out>, wb=<optimized out>) at c/jay/save_jay.cc:71
#5  0x00007ffff5f66694 in DataTable::save_jay (this=<optimized out>, path=..., wstrategy=<optimized out>) at c/jay/save_jay.cc:41
#6  py::Frame::to_jay (this=0x7ffff7edde08, args=...) at c/jay/save_jay.cc:273
#7  0x00007ffff5e2747f in py::PKArgs::exec_method<py::Frame> (this=0x7ffff6289190 <py::args_to_jay>, self=<optimized out>, args=<optimized out>, kwds=<optimized out>, 
    fn=<optimized out>) at c/python/args.h:298
#8  0x00000000004b33ec in ?? ()
#9  0x00007ffff7e4ee58 in ?? ()
#10 0x00007fff00000002 in ?? ()
...

Reproduce via:

$ dd if=/dev/zero of=small.txt bs=5MB count=1
$ mkfs -t ext3 small.txt
$ sudo mkdir /media/small
$ sudo chown pasha:pasha /media/small
$ sudo mount -t ext3 small.txt /media/small
$ python

import datatable as dt
n = 1000000
DT = dt.Frame(range(n))
DT.to_jay("/media/small/out.jay")
@st-pasha st-pasha added the segfault Severe bugs that lead to crashes / seg.faults / process termination label May 1, 2019
@st-pasha st-pasha self-assigned this May 1, 2019
@st-pasha st-pasha added this to the Release 0.9.0 milestone May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
segfault Severe bugs that lead to crashes / seg.faults / process termination
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant