8000 MEMCHECK: 136 bytes in 1 blocks are possibly lost in loss record · Issue #675 · Attnam/ivan · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
MEMCHECK: 136 bytes in 1 blocks are possibly lost in loss record #675
Open
@JohnSmithBH84

Description

@JohnSmithBH84

I’ve scanned ivan with MEMCHECK and it has triggered on ivan/FeLib/Source/festring.cpp line 887. I'm not sure whether this is an actual issue, or whether code of ivan is too sophisticated for MEMCHECK to understand. Do you guys have any idea?

Project version

ivan: master

Operating system

compiler: gcc (Debian 12.2.0-14) 12.2.0

Ubuntu 22.04.4 LTS
Linux 5.15.0-125-generic #135-Ubuntu SMP Fri Sep 27 13:53:58 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

I did this

Launched ivan/build/Main/ivan

I expected the following

No problem reported by MEMCHECK

I got the following

/home/ivan/build/Main/ivan
MIDI Out Error
Please submit a bug report on our forum at http://attnam.com
including a brief description of what you did, what version
you are running and which kind of system you are using.
==7895== Memcheck, a memory error detector
==7895== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==7895== Using Valgrind-3.19.0 and LibVEX; rerun with -h for copyright info
==7895== Command: /home/ivan/build/Main/ivan
==7895== ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory
MidiOutAlsa::initialize: error creating ALSA sequencer client object.
...
==7895== 136 bytes in 1 blocks are possibly lost in loss record 315 of 388
==7895==    at 0x484220F: operator new[](unsigned long) (coregrind/m_replacemalloc/vg_replace_malloc.c:640)
==7895==    by 0xAA2D7E: festring::CreateNewData(unsigned long) (home/ivan/FeLib/Source/festring.cpp:887)
==7895==    by 0xAA1013: festring::SlowAppend(char const*, unsigned long) (home/ivan/FeLib/Source/festring.cpp:227)
==7895==    by 0xAA0E6C: festring::Append(char const*, unsigned long) (home/ivan/FeLib/Source/festring.cpp:183)
==7895==    by 0x7FF131: festring::operator<<(char const*) (home/ivan/FeLib/Include/festring.h:286)
==7895==    by 0x8010E6: festringpile& festringpile::operator+<char const*>(char const*) (home/ivan/FeLib/Include/festring.h:147)
==7895==    by 0x800E6D: festringpile operator+<char const*>(festring const&, char const*) (home/ivan/FeLib/Include/festring.h:159)
==7895==    by 0x94EF02: game::GetMusicDir() (home/ivan/Main/Source/game.cpp:5301)
==7895==    by 0xA1C48C: main (home/ivan/Main/Source/main.cpp:137)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0