Skip to content

Assertion `backup_off == lseek_off' failed. #151

@cheongpeibin

Description

@cheongpeibin

Hi guys, I am facing a crash when the binary is run as a binary in Ubuntu.

My workflow is the binary will be placed in a ubuntu:20.10 docker image, and then a supervisord process will run the compiled node-packer binary.

The issue is when there is a lot of usage, the binary will crash with the message:
../deps/libsquash/sample/enclose_io_unix.c:459: enclose_io_pread: Assertion `backup_off == lseek_off' failed.

I have researched the line causing the crash is:

assert(backup_off == lseek_off);

But I don't understand this part of the code and thus unable to perform debugging.

I am using Nodec: 1.5.0 binary (the one pre-built by pmq20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions