# ScyllaDB crashes with iostream errors

**URL:** <https://forum.scylladb.com/t/scylladb-crashes-with-iostream-errors/5017>\
**Category:** ScyllaDB\
**Tags:** error-message, io\
**Created:** [July 29, 2025, 8:39am UTC](https://forum.scylladb.com/t/scylladb-crashes-with-iostream-errors/5017 "2025-07-29T08:39:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Takashi](https://avatars.discourse-cdn.com/v4/letter/t/82dd89/32.png) [@Takashi](https://forum.scylladb.com/u/Takashi)\
**Post date:** [July 29, 2025, 8:39am UTC](https://forum.scylladb.com/t/scylladb-crashes-with-iostream-errors/5017/1 "2025-07-29T08:39:04Z")

</div>

Hello,  
I’d like to share the logs from one of my ScyllaDB nodes. I’m not sure what’s causing the issue.  
This has happened for the second time.  
The first time it occurred, I was trying to shut down the node or one of other nodes and it crashed. (I don’t remember clearly)

Do you have any idea why this might be happening?

Thanks.

> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: scylla: seastar/include/seastar/core/iostream.hh:420: seastar::output\_stream::~output\_stream() [CharType = char]: Assertion `!\_end && !\_zc\_bufs && “Was this stream properly closed?”’ failed.  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: Aborting on shard 0, in scheduling group streaming.  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: Backtrace:  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x59d7144  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x59965bb  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x59cbf16  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: /opt/scylladb/libreloc/libc.so.6+0x40cff  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: /opt/scylladb/libreloc/libc.so.6+0x994a3  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: /opt/scylladb/libreloc/libc.so.6+0x40c4d  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: /opt/scylladb/libreloc/libc.so.6+0x28901  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: /opt/scylladb/libreloc/libc.so.6+0x2881d  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: /opt/scylladb/libreloc/libc.so.6+0x38d86  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x1b485d4  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x5d8b600  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x59a691f  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x59a7e8a  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x59a9077  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x59a8428  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x5938773  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x5937ad3  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x13842a5  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x1385c60  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x13826c3  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: /opt/scylladb/libreloc/libc.so.6+0x2a087  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: /opt/scylladb/libreloc/libc.so.6+0x2a14a  
> Jul 21 09:23:20 scylladb-node-3 scylla[26690]: 0x137fd44  
> Jul 21 09:24:18 scylladb-node-3 scylla[200784]: Scylla version 6.1.2-0.20240915.b60f9ef4c223 with build-id c713ac9e819492d7560aa3ad461c43cf404c977b starting …  
> Jul 21 09:24:18 scylladb-node-3 scylla[200784]: command used: “/usr/bin/scylla --log-to-syslog 1 --log-to-stdout 0 --default-log-level info --network-stack posix --io-properties-file=/etc/scylla.d/io\_properties.yaml --cpuset 0-3 --lock-memory=1”

_Installation details_  
#ScyllaDB version: 6.1.2  
#Cluster size: 3 Node (4 Core - 8 GB Ram)  
#os (RHEL/CentOS/Ubuntu/AWS AMI): Rocky Linux 9

---

<div class="post-metadata">

**Author:** ![Botond\_Denes](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/botond_denes/32/163_2.png) [@Botond\_Denes](https://forum.scylladb.com/u/Botond_Denes)\
**Post date:** [August 1, 2025, 6:41am UTC](https://forum.scylladb.com/t/scylladb-crashes-with-iostream-errors/5017/2 "2025-08-01T06:41:04Z")

</div>

6.2 is not supported anymore, please update.

In general, when posting backtraces, please resolve them via [Scylla relocatable packages](http://backtrace.scylladb.com/index.html)

For posterity, here is the resolved backtrace:

```auto
Jul 21 09:23:20 scylladb-node-3 scylla[26690]: Backtrace:
Jul 21 09:23:20 scylladb-node-3 scylla[26690]:
[Backtrace #0]
void seastar::backtrace<seastar::backtrace_buffer::append_backtrace()::'lambda'(seastar::frame)>(seastar::backtrace_buffer::append_backtrace()::'lambda'(seastar::frame)&&) at ./build/release/seastar/./seastar/include/seastar/util/backtrace.hh:68
seastar::backtrace_buffer::append_backtrace() at ./build/release/seastar/./seastar/src/core/reactor.cc:826
 (inlined by) seastar::print_with_backtrace(seastar::backtrace_buffer&, bool) at ./build/release/seastar/./seastar/src/core/reactor.cc:859
seastar::print_with_backtrace(char const*, bool) at ./build/release/seastar/./seastar/src/core/reactor.cc:871
 (inlined by) seastar::sigabrt_action() at ./build/release/seastar/./seastar/src/core/reactor.cc:4033
 (inlined by) void seastar::install_oneshot_signal_handler<6, (void (*)())(&seastar::sigabrt_action())>()::'lambda'(int, siginfo_t*, void*)::operator()(int, siginfo_t*, void*) const at ./build/release/seastar/./seastar/src/core/reactor.cc:4009
 (inlined by) void seastar::install_oneshot_signal_handler<6, (void (*)())(&seastar::sigabrt_action())>()::'lambda'(int, siginfo_t*, void*)::__invoke(int, siginfo_t*, void*) at ./build/release/seastar/./seastar/src/core/reactor.cc:4005
/data/scylla-s3-reloc.cache/by-build-id/c713ac9e819492d7560aa3ad461c43cf404c977b/extracted/scylla/libreloc/libc.so.6: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=8f53abaad945a669f2bdcd25f471d80e077568ef, for GNU/Linux 3.2.0, not stripped

?? at ??:0
__pthread_kill_implementation at ??:0
gsignal at ??:0
abort at ??:0
__assert_fail_base.cold at ??:0
__assert_fail at ??:0
seastar::output_stream<char>::~output_stream() at ././seastar/include/seastar/core/iostream.hh:420
std::_Head_base<0ul, seastar::output_stream<char>, false>::~_Head_base() at /usr/lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/tuple:83
 (inlined by) seastar::internal::do_with_state<std::tuple<seastar::output_stream<char>>, seastar::future<void>>::~do_with_state() at ./build/release/seastar/./seastar/include/seastar/core/do_with.hh:40
 (inlined by) seastar::internal::do_with_state<std::tuple<seastar::output_stream<char>>, seastar::future<void>>::run_and_dispose() at ./build/release/seastar/./seastar/include/seastar/core/do_with.hh:48
seastar::reactor::run_tasks(seastar::reactor::task_queue&) at ./build/release/seastar/./seastar/src/core/reactor.cc:2651
seastar::reactor::run_some_tasks() at ./build/release/seastar/./seastar/src/core/reactor.cc:3114
seastar::reactor::do_run() at ./build/release/seastar/./seastar/src/core/reactor.cc:3282
seastar::reactor::run() at ./build/release/seastar/./seastar/src/core/reactor.cc:3172
seastar::app_template::run_deprecated(int, char**, std::function<void ()>&&) at ./build/release/seastar/./seastar/src/core/app-template.cc:276
seastar::app_template::run(int, char**, std::function<seastar::future<int> ()>&&) at ./build/release/seastar/./seastar/src/core/app-template.cc:167
scylla_main(int, char**) at ./main.cc:699
std::function<int (int, char**)>::operator()(int, char**) const at /usr/lib/gcc/x86_64-redhat-linux/14/../../../../include/c++/14/bits/std_function.h:591
main at ./main.cc:2208
__libc_start_call_main at ??:0
__libc_start_main@GLIBC_2.2.5 at ??:0
_start at ??:0

```

I am not familiar with this crash, but it is very likely that we have fixed it since, 6.1 is quite an old release.

Please upgrade and see if it reproduces with a supported version, if so we will investigate.
