**Describe what's wrong**

ClickHouse server crashes when inserting data into compressed Decimal, String, FixedString and Array columns.

**Does it reproduce on recent release?**

Happens on v21.11.5.33 03d80c491f4a1afe4032903859dba4bfbc758e30. 

**How to reproduce**

Unfortunately i was unable to reproduce this using official docker image. However it happens all the time on my custom build (lightweight, with all the stuff i don't use disabled) when inserting data into Decimal, String, FixedString and Array columns.

**Error message and/or stacktrace**

```
#0  DB::Memory<Allocator<false, false> >::size (this=0x0) at ../src/IO/BufferWithOwnMemory.h:70
#1  DB::ColumnVector<unsigned long>::compress (this=0x7faa0f122be0) at ../src/Columns/ColumnVector.cpp:495
#2  0x000000000bab8a14 in DB::ColumnNullable::compress() const () at ../contrib/boost/boost/smart_ptr/intrusive_ptr.hpp:179
#3  0x000000000bc43645 in DB::MemorySink::consume (this=0x7faa969873d8, chunk=...) at ../contrib/libcxx/include/new:285
#4  0x000000000c2e7a38 in DB::SinkToStorage::transform(DB::Chunk&) () at ../src/Processors/Sinks/SinkToStorage.cpp:19
#5  0x000000000c27a04d in std::__1::__function::__policy_func<void ()>::operator()() const (this=0x7fa9eabeed20) at ../contrib/libcxx/include/functional:2558
#6  std::__1::function<void ()>::operator()() const (this=0x7fa9eabeed20) at ../contrib/libcxx/include/functional:2560
#7  DB::runStep(std::__1::function<void ()>, DB::ThreadStatus*, std::__1::atomic<unsigned long>*) () at ../src/Processors/Transforms/ExceptionKeepingTransform.cpp:102
#8  0x000000000c27a257 in DB::ExceptionKeepingTransform::work() () at ../contrib/libcxx/include/type_traits:2549
#9  0x000000000c1a8cc9 in DB::executeJob (processor=0x7faa969873d8) at ../src/Processors/Executors/PipelineExecutor.cpp:88
```
{
    if constexpr (is_arithmetic_v<T>)
        return static_cast<Float64>(data[n]);
    else
        throw Exception(ErrorCodes::NOT_IMPLEMENTED, "Cannot get the value of {} as Float64", TypeName<T>);
}
template <typename T>
Float32 ColumnVector<T>::getFloat32(size_t n [[maybe_unused]]) const
{
    if constexpr (is_arithmetic_v<T>)
        return static_cast<Float32>(data[n]);
    else
        throw Exception(ErrorCodes::NOT_IMPLEMENTED, "Cannot get the value of {} as Float32", TypeName<T>);
}
template <typename T>
void ColumnVector<T>::insertRangeFrom(const IColumn & src, size_t start, size_t length)
{
    const ColumnVector & src_vec = assert_cast<const ColumnVector &>(src);
    if (start + length > src_vec.data.size())
        throw Exception("Parameters start = "
            + toString(start) + ", length = "
            + toString(length) + " are out of bound in ColumnVector<T>::insertRangeFrom method"
            " (data.size() = " + toString(src_vec.data.size()) + ").",
            ErrorCodes::PARAMETER_OUT_OF_BOUND);
    size_t old_size = data.size();
    data.resize(old_size + length);
    memcpy(data.data() + old_size, &src_vec.data[start], length * sizeof(data[0]));
}
template <typename T>
ColumnPtr ColumnVector<T>::filter(const IColumn::Filter & filt, ssize_t result_size_hint) const