Shell creates an event loop for each captured Execute node, seems like the LocalSocket buffers are not being freed for some reason
0xc0163107 Kernel::LocalSocket::LocalSocket(int) +779
0xc01631dc Kernel::LocalSocket::create(int) +46
0xc016954d Kernel::Socket::create(int, int, int) +63
0xc0192087 Kernel::Process::sys$socket(int, int, int) +277
0xc017be04 syscall_handler +1020
0xc017ba00 syscall_asm_entry +49
0x080bb204 Core::LocalServer::listen(AK::String const&) +50
0x080b37bd Core::EventLoop::start_rpc_server() +597
0x080b3926 Core::EventLoop::EventLoop() +332
0x08074379 Shell::Shell::run_command(Shell::AST::Command const&) +3507
0x08074c8b Shell::Shell::run_commands(AK::Vector<Shell::AST::Command, 0ul>&) +91
0x08060759 Shell::AST::Execute::for_each_entry(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >, AK::Function<AK::IterationDecision (AK::NonnullRefPtr<Shell::AST::Value>)>) +1491
0x08060d31 Shell::AST::Execute::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +221
0x0805980e Shell::AST::VariableDeclarations::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +482
0x080602b7 Shell::AST::Execute::for_each_entry(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >, AK::Function<AK::IterationDecision (AK::NonnullRefPtr<Shell::AST::Value>)>) +305
0x08060d31 Shell::AST::Execute::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +221
0x08060caa Shell::AST::Execute::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +86
0x0805fb63 Shell::AST::IfCond::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +857
0x0805f35a Shell::AST::Sequence::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +646
0x0805f35a Shell::AST::Sequence::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +646
0x08060caa Shell::AST::Execute::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +86
0x080619f3 Shell::AST::MatchExpr::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +2565
0x08060caa Shell::AST::Execute::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +86
0x0805fe9a AK::Function<AK::IterationDecision (AK::NonnullRefPtr<Shell::AST::Value>)>::CallableWrapper<Shell::AST::ForLoop::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >)::{lambda(auto:1)#1}>::call(AK::NonnullRefPtr<Shell::AST::Value>) const +460
0x0806622c AK::Function<AK::IterationDecision (AK::NonnullRefPtr<Shell::AST::Value>)>::operator()(AK::NonnullRefPtr<Shell::AST::Value>) const +124
0x080552fe Shell::AST::Execute::for_each_entry(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >, AK::Function<AK::IterationDecision (AK::NonnullRefPtr<Shell::AST::Value>)>)::{lambda()#1}::operator()() const +900
0x08060ee6 AK::Function<void ()>::CallableWrapper<Shell::AST::Execute::for_each_entry(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >, AK::Function<AK::IterationDecision (AK::NonnullRefPtr<Shell::AST::Value>)>)::{lambda()#2}>::call() const +78
0x080bbd36 Core::Object::dispatch_event(Core::Event&, Core::Object*) +74
0x080b480f Core::EventLoop::pump(Core::EventLoop::WaitMode) +397
0x080b4a85 Core::EventLoop::exec() +43
0x08060767 Shell::AST::Execute::for_each_entry(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >, AK::Function<AK::IterationDecision (AK::NonnullRefPtr<Shell::AST::Value>)>) +1505
0x08059ead Shell::AST::ForLoop::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +291
0x08060caa Shell::AST::Execute::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +86
0x0805f24e Shell::AST::Sequence::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +378
0x0805f35a Shell::AST::Sequence::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +646
0x08060caa Shell::AST::Execute::run(AK::RefPtr<Shell::Shell, AK::RefPtrTraits<Shell::Shell> >) +86
0x0807143d Shell::Shell::run_command(AK::StringView const&) +421
0x08075073 Shell::Shell::run_file(AK::String const&, bool) +473
0x08048f29 main +2881
0x080495de _start +94
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too