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

[Windows|macOS|Linux|BSD] - Crash to desktop during drag and dropping files onto instrument list #419

Open
freq-mod opened this issue Sep 15, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@freq-mod
Copy link
Contributor

freq-mod commented Sep 15, 2021

Checklist

  • I am reporting exactly 1 bug with this issue.
  • This bug hasn't already been reported.
  • This bug hasn't already been fixed in the latest development build.

Bug Description

This one is kinda funny. Via drag and drop, you can "import" any kind of file as an instrument. When clicking on imported "instrument", the program will silently crash to desktop (segfault).

How to reproduce

  1. Drag and drop any kind of file (Famitracker module, VGM file, PNG image, anything can go ig) onto instrument list
  2. Click on imported instrument
@freq-mod freq-mod added the bug Something isn't working label Sep 15, 2021
@freq-mod
Copy link
Contributor Author

EDIT: The same thing happens with the normal .BTI instruments 👀
So, it's not a problem with file type checking...

@freq-mod freq-mod changed the title [Windows|macOS|Linux|BSD] - Check the file type on instrument import [Windows|macOS|Linux|BSD] - Crash to dektop during drag and dropping files onto instrument list Sep 20, 2021
@freq-mod freq-mod changed the title [Windows|macOS|Linux|BSD] - Crash to dektop during drag and dropping files onto instrument list [Windows|macOS|Linux|BSD] - Crash to desktop during drag and dropping files onto instrument list Sep 20, 2021
@freq-mod
Copy link
Contributor Author

GDB backtrace, in case anyone can help with identifying the cause of this bug:
Thread 1 "BambooTracker" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7ffff387ac80 (LWP 10093)] 0x00005555556215f8 in AbstractInstrument::getType (this=0x0) at instrument/instrument.hpp:51 51 inline InstrumentType getType() const noexcept { return instType_; } and the rest:
message.txt

@rerrahkr
Copy link
Member

I'm sorry I haven't responded to your request either.
I can't reproduce this either, so I would appreciate information on whether it still reproduces in your environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants