Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug - when clicking on "renaming an array" in "16.more.arrays.pd" we get a segfault. #1914

Open
dromer opened this issue Oct 23, 2024 · 2 comments

Comments

@dromer
Copy link
Contributor

dromer commented Oct 23, 2024

Which is the easiest way to reproduce, but I suppose that in general renaming arrays using this send message doesn't work:

2024-10-23_12-55

@timothyschoen
Copy link
Collaborator

timothyschoen commented Oct 23, 2024

Hmm, can't reproduce that here, even with AddressSanitizer. Renaming works and doesn't crash. Both on Linux and macOS, using develop branch. Maybe only on x86?

@dromer
Copy link
Contributor Author

dromer commented Oct 23, 2024

I tried this on different machines using latest develop branch. Both Debian 12.

Not sure how useful since this is not a debug build but some gdb trace:

Thread 1 "plugdata" received signal SIGSEGV, Segmentation fault.
0x0000555555b6ff40 in bindlist_anything ()
(gdb) bt
#0  0x0000555555b6ff40 in bindlist_anything ()
#1  0x0000555555b68064 in binbuf_eval ()
#2  0x0000555555b592f6 in message_float ()
#3  0x0000555555b7055d in pd_float ()
#4  0x0000555555af283c in pd::Instance::processSend(pd::Instance::dmessage) ()
#5  0x0000555555af2d21 in pd::Instance::sendDirectMessage(void*, float) ()
#6  0x0000555555a5faff in MessageObject::mouseDown(juce::MouseEvent const&) ()
#7  0x0000555555fffa50 in juce::Component::internalMouseDown(juce::MouseInputSource, juce::detail::PointerState const&, juce::Time) ()
#8  0x00005555560c4dfe in juce::detail::MouseInputSourceImpl::setButtons(juce::detail::PointerState const&, juce::Time, juce::ModifierKeys) ()
#9  0x000055555600a69f in juce::MouseInputSource::handleEvent(juce::ComponentPeer&, juce::Point<float>, long long, juce::ModifierKeys, float, float, juce::PenDetails const&) ()
#10 0x000055555600b13c in juce::XWindowSystem::handleButtonPressEvent(juce::LinuxComponentPeer*, XIDeviceEvent const*, int) const ()
#11 0x000055555600c541 in juce::XWindowSystem::xiMessageReceive(_XEvent&) ()
#12 0x000055555600c628 in std::_Function_handler<void (int), juce::XWindowSystem::initialiseXDisplay()::{lambda(int)#1}>::_M_invoke(std::_Any_data const&, int&&) ()
#13 0x00005555561cdd20 in std::_Function_handler<void (), juce::LinuxEventLoop::registerFdCallback(int, std::function<void (int)>, short)::{lambda()#1}>::_M_invoke(std::_Any_data const&) ()
#14 0x00005555561d86e1 in juce::MessageManager::runDispatchLoop() ()
#15 0x00005555558405f9 in juce::JUCEApplicationBase::main() ()
#16 0x00007ffff754d24a in __libc_start_call_main (main=main@entry=0x555555777380 <main>, argc=argc@entry=1, argv=argv@entry=0x7fffffffe008)
    at ../sysdeps/nptl/libc_start_call_main.h:58
#17 0x00007ffff754d305 in __libc_start_main_impl (main=0x555555777380 <main>, argc=1, argv=0x7fffffffe008, init=<optimized out>, fini=<optimized out>, 
    rtld_fini=<optimized out>, stack_end=0x7fffffffdff8) at ../csu/libc-start.c:360
#18 0x00005555558441d1 in _start ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants