BleuBleu / FamiStudio

FamiStudio NES Music Editor
MIT License
1.6k stars 102 forks source link

Linux AMD64 Crash #156

Closed PokeyManatee4 closed 2 years ago

PokeyManatee4 commented 2 years ago

~/famistudio$ mono FamiStudio.exe ALSA lib seq_hw.c:466:(snd_seq_hw_open) open /dev/snd/seq failed: No such file or directory

MidiInAlsa::initialize: error creating ALSA sequencer client object.

================================================================= Native Crash Reporting

Got a SIGSEGV while executing native code. This usually indicates a fatal error in the mono runtime or one of the native libraries used by your application.

================================================================= Native stacktrace:

    0x55ec183e6eb5 - mono : (null)
    0x55ec183e7250 - mono : (null)
    0x55ec18394129 - mono : (null)
    0x55ec183e09c1 - mono : (null)
    0x7fb430317b47 - /home/user/famistudio/librtmidi.so : rtmidi_get_port_count
    0x55ec18678de0 - mono : (null)

================================================================= Telemetry Dumper:

Pkilling 0x7fb449403700 from 0x7fb44be45780 Entering thread summarizer pause from 0x7fb44be45780 Finished thread summarizer pause from 0x7fb44be45780.

Waiting for dumping threads to resume

================================================================= External Debugger Dump:

[New LWP 676] [New LWP 677] [New LWP 678] [New LWP 679] [New LWP 680] [New LWP 681] [New LWP 682] [New LWP 683] [New LWP 684] [New LWP 685] [New LWP 686] [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 0x00007fb44bf2cc7f in __GI___wait4 (pid=688, stat_loc=0x7ffe70b93b94, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27 27 ../sysdeps/unix/sysv/linux/wait4.c: No such file or directory. Id Target Id Frame

Thread 12 (Thread 0x7fb432ffd700 (LWP 686)):

0 futex_wait_cancelable (private=, expected=0, futex_word=0x55ec19fa9ba8) at ../sysdeps/nptl/futex-internal.h:183

1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ec19fa9b58, cond=0x55ec19fa9b80) at pthread_cond_wait.c:508

2 __pthread_cond_wait (cond=0x55ec19fa9b80, mutex=0x55ec19fa9b58) at pthread_cond_wait.c:647

3 0x00007fb4410fe5eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

4 0x00007fb4410fe1eb in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

5 0x00007fb44c05f609 in start_thread (arg=) at pthread_create.c:477

6 0x00007fb44bf69133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fb4337fe700 (LWP 685)):

0 futex_wait_cancelable (private=, expected=0, futex_word=0x55ec19f5df30) at ../sysdeps/nptl/futex-internal.h:183

1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ec19f5dee0, cond=0x55ec19f5df08) at pthread_cond_wait.c:508

2 __pthread_cond_wait (cond=0x55ec19f5df08, mutex=0x55ec19f5dee0) at pthread_cond_wait.c:647

3 0x00007fb4417e718b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

4 0x00007fb4417e710b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

5 0x00007fb44c05f609 in start_thread (arg=) at pthread_create.c:477

6 0x00007fb44bf69133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fb438f7d700 (LWP 684)):

0 futex_wait_cancelable (private=, expected=0, futex_word=0x55ec19f5df30) at ../sysdeps/nptl/futex-internal.h:183

1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ec19f5dee0, cond=0x55ec19f5df08) at pthread_cond_wait.c:508

2 __pthread_cond_wait (cond=0x55ec19f5df08, mutex=0x55ec19f5dee0) at pthread_cond_wait.c:647

3 0x00007fb4417e718b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

4 0x00007fb4417e710b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

5 0x00007fb44c05f609 in start_thread (arg=) at pthread_create.c:477

6 0x00007fb44bf69133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fb43977e700 (LWP 683)):

0 futex_wait_cancelable (private=, expected=0, futex_word=0x55ec19f5df30) at ../sysdeps/nptl/futex-internal.h:183

1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ec19f5dee0, cond=0x55ec19f5df08) at pthread_cond_wait.c:508

2 __pthread_cond_wait (cond=0x55ec19f5df08, mutex=0x55ec19f5dee0) at pthread_cond_wait.c:647

3 0x00007fb4417e718b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

4 0x00007fb4417e710b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

5 0x00007fb44c05f609 in start_thread (arg=) at pthread_create.c:477

6 0x00007fb44bf69133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fb439f7f700 (LWP 682)):

0 futex_wait_cancelable (private=, expected=0, futex_word=0x55ec19f5df30) at ../sysdeps/nptl/futex-internal.h:183

1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ec19f5dee0, cond=0x55ec19f5df08) at pthread_cond_wait.c:508

2 __pthread_cond_wait (cond=0x55ec19f5df08, mutex=0x55ec19f5dee0) at pthread_cond_wait.c:647

3 0x00007fb4417e718b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

4 0x00007fb4417e710b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

5 0x00007fb44c05f609 in start_thread (arg=) at pthread_create.c:477

6 0x00007fb44bf69133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fb43a780700 (LWP 681)):

0 futex_wait_cancelable (private=, expected=0, futex_word=0x55ec1a09c228) at ../sysdeps/nptl/futex-internal.h:183

1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ec1a09c1d8, cond=0x55ec1a09c200) at pthread_cond_wait.c:508

2 __pthread_cond_wait (cond=0x55ec1a09c200, mutex=0x55ec1a09c1d8) at pthread_cond_wait.c:647

3 0x00007fb4417ea07b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

4 0x00007fb4417e9edb in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

5 0x00007fb44c05f609 in start_thread (arg=) at pthread_create.c:477

6 0x00007fb44bf69133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fb433fff700 (LWP 680)):

0 futex_wait_cancelable (private=, expected=0, futex_word=0x55ec1a09c0c8) at ../sysdeps/nptl/futex-internal.h:183

1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ec1a09c078, cond=0x55ec1a09c0a0) at pthread_cond_wait.c:508

2 __pthread_cond_wait (cond=0x55ec1a09c0a0, mutex=0x55ec1a09c078) at pthread_cond_wait.c:647

3 0x00007fb4417ea07b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

4 0x00007fb4417e9edb in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

5 0x00007fb44c05f609 in start_thread (arg=) at pthread_create.c:477

6 0x00007fb44bf69133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fb43af81700 (LWP 679)):

0 futex_wait_cancelable (private=, expected=0, futex_word=0x55ec1a09bf68) at ../sysdeps/nptl/futex-internal.h:183

1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ec1a09bf18, cond=0x55ec1a09bf40) at pthread_cond_wait.c:508

2 __pthread_cond_wait (cond=0x55ec1a09bf40, mutex=0x55ec1a09bf18) at pthread_cond_wait.c:647

3 0x00007fb4417ea07b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

4 0x00007fb4417e9edb in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

5 0x00007fb44c05f609 in start_thread (arg=) at pthread_create.c:477

6 0x00007fb44bf69133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fb43b782700 (LWP 678)):

0 futex_wait_cancelable (private=, expected=0, futex_word=0x55ec1a09be08) at ../sysdeps/nptl/futex-internal.h:183

1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ec1a09bdb8, cond=0x55ec1a09bde0) at pthread_cond_wait.c:508

2 __pthread_cond_wait (cond=0x55ec1a09bde0, mutex=0x55ec1a09bdb8) at pthread_cond_wait.c:647

3 0x00007fb4417ea07b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

4 0x00007fb4417e9edb in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so

5 0x00007fb44c05f609 in start_thread (arg=) at pthread_create.c:477

6 0x00007fb44bf69133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fb449403700 (LWP 677)):

0 futex_abstimed_wait_cancelable (private=0, abstime=0x0, clockid=0, expected=0, futex_word=0x55ec187ca080) at ../sysdeps/nptl/futex-internal.h:320

1 do_futex_wait (sem=sem@entry=0x55ec187ca080, abstime=0x0, clockid=0) at sem_waitcommon.c:112

2 0x00007fb44c069548 in __new_sem_wait_slow (sem=0x55ec187ca080, abstime=0x0, clockid=0) at sem_waitcommon.c:184

3 0x000055ec185e1cc8 in ?? ()

4 0x000055ec1858ef3a in ?? ()

5 0x00007fb44c05f609 in start_thread (arg=) at pthread_create.c:477

6 0x00007fb44bf69133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fb44b7ff700 (LWP 676)):

0 futex_wait_cancelable (private=, expected=0, futex_word=0x55ec187d8e08) at ../sysdeps/nptl/futex-internal.h:183

1 __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x55ec187d8e20, cond=0x55ec187d8de0) at pthread_cond_wait.c:508

2 __pthread_cond_wait (cond=0x55ec187d8de0, mutex=0x55ec187d8e20) at pthread_cond_wait.c:647

3 0x000055ec1863bdc6 in ?? ()

4 0x00007fb44c05f609 in start_thread (arg=) at pthread_create.c:477

5 0x00007fb44bf69133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7fb44be45780 (LWP 675)):

0 0x00007fb44bf2cc7f in __GI___wait4 (pid=688, stat_loc=0x7ffe70b93b94, options=0, usage=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27

1 0x000055ec183e70bf in ?? ()

2 0x000055ec183e7250 in ?? ()

3 0x000055ec18394129 in ?? ()

4 0x000055ec183e09c1 in ?? ()

5 0x00007fb430317b47 in rtmidi_get_port_count () from /home/user/famistudio/librtmidi.so

6 0x000055ec18678de0 in ?? ()

7 0x00007ffe00000000 in ?? ()

8 0x000055ec18678de0 in ?? ()

9 0x0000000000000000 in ?? ()

[Inferior 1 (process 675) detached]

================================================================= Basic Fault Address Reporting

Memory around native instruction pointer (0x7fb430317b47):0x7fb430317b37 ff ff 0f 1f 80 00 00 00 00 53 48 89 fb 48 8b 3f .........SH..H.? 0x7fb430317b47 48 8b 07 ff 50 10 5b c3 48 83 ea 01 48 89 c7 74 H...P.[.H...H..t 0x7fb430317b57 05 e8 83 26 0a 00 e8 ce 4c ff ff 48 8b 10 c6 43 ...&....L..H...C 0x7fb430317b67 10 00 48 89 c7 ff 52 10 48 89 43 18 e8 38 6c ff ..H...R.H.C..8l.

================================================================= Managed Stacktrace:

      at <unknown> <0xffffffff>
      at FamiStudio.Midi:rtmidi_get_port_count <0x000a2>
      at FamiStudio.Midi:get_InputCount <0x0004f>
      at FamiStudio.FamiStudio:InitializeMidi <0x0012b>
      at FamiStudio.FamiStudio:Initialize <0x0005b>
      at FamiStudio.FamiStudio:Run <0x00097>
      at FamiStudio.Program:Main <0x00107>
      at <Module>:runtime_invoke_void_object <0x00091>

================================================================= Aborted (core dumped) ~/famistudio$

BleuBleu commented 2 years ago

I'm gonna need more info about your setup to help you. How can i setup a VM similar to your setup?

-Mat

PokeyManatee4 commented 2 years ago

its a cocalc free vm

PokeyManatee4 commented 2 years ago

https://cocalc.com/projects/18d552d9-6b7e-4ba3-8ca6-183ddeaadd46/files/x11.x11

PokeyManatee4 commented 2 years ago

im not sure if you can view that

PokeyManatee4 commented 2 years ago

i found this its famistudio/mono_crash.2fd4e0dc5.0.json

PokeyManatee4 commented 2 years ago

im not thats too big

PokeyManatee4 commented 2 years ago

im just trying to make some music homebrew

BleuBleu commented 2 years ago

The cocalc.com link you sent seem to load forever. Not sure what that is :(

In order to debug this, i need to have the same environment as you. It works on every distro i tested, we have beta testers here that tested other distros too. There must be something unique to your setup.

-Mat

PokeyManatee4 commented 2 years ago

just signup for cocalc with github and make a vm then put famistudio in it then boom basically the same vm

PokeyManatee4 commented 2 years ago

if you need https://cocalc.com/

PokeyManatee4 commented 2 years ago

it work?

PokeyManatee4 commented 2 years ago

i made a x11.x11 file first tho to use it

BleuBleu commented 2 years ago

Ill try in the coming days. I'm working at the moment.

-Mat

PokeyManatee4 commented 2 years ago

ok

PokeyManatee4 commented 2 years ago

i understand i have been very busy too so we are on the same track

BleuBleu commented 2 years ago

Btw do these virtual machine have any audio device at all?

PokeyManatee4 commented 2 years ago

idk

On Thu, Aug 25, 2022 at 9:52 AM Landon Cates @.***> wrote:

no

On Wed, Aug 24, 2022 at 8:21 PM BleuBleu @.***> wrote:

Btw do these virtual machine have any audio device at all?

— Reply to this email directly, view it on GitHub https://github.com/BleuBleu/FamiStudio/issues/156#issuecomment-1226663196, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNRYPMMIXMIOC5DYT2WUJ3V23DBTANCNFSM57RHVHHA . You are receiving this because you authored the thread.Message ID: @.***>

PokeyManatee4 commented 2 years ago

Btw do these virtual machine have any audio device at all?

I Dont Think So

BleuBleu commented 2 years ago

How are we expecting to make music on a machine with no sound device? 😄

-Mat

PokeyManatee4 commented 2 years ago

im here to convert a .midi file to nes homebrew music

Message ID: @.***>

PokeyManatee4 commented 2 years ago

ok

PokeyManatee4 commented 2 years ago

bitmoji

BleuBleu commented 2 years ago

If the VMs dont have audio devices, im not gonna spend time debugging this. It would be nice to not crash and give a nice error message, but its a music app. You need audio! :)

-Mat

PokeyManatee4 commented 2 years ago

Well Is There A No Audio Flag Or Something smh

Message ID: @.***>

PokeyManatee4 commented 2 years ago

Well Is There A No Audio Flag Or Something smh

On Wed, Aug 31, 2022 at 10:07 AM Landon Cates @.***> wrote:

Well Is There A No Audio Flag Or Something smh

Message ID: @.***>

BleuBleu commented 2 years ago

Photoshop doesn't have a "no graphics" mode. This is a bit ridiculous at this point. Why not simply run it on a machine with an audio device?

Closing.

-Mat

PokeyManatee4 commented 2 years ago

im here to convert a .midi file to nes homebrew music

On Fri, Aug 26, 2022 at 2:01 PM Landon Cates @.***> wrote:

im here to convert a .midi file to nes homebrew music

Message ID: @.***>

PokeyManatee4 commented 2 years ago

no

On Wed, Aug 24, 2022 at 8:21 PM BleuBleu @.***> wrote:

Btw do these virtual machine have any audio device at all?

— Reply to this email directly, view it on GitHub https://github.com/BleuBleu/FamiStudio/issues/156#issuecomment-1226663196, or unsubscribe https://github.com/notifications/unsubscribe-auth/APNRYPMMIXMIOC5DYT2WUJ3V23DBTANCNFSM57RHVHHA . You are receiving this because you authored the thread.Message ID: @.***>