patricksebastien / libpd4unity

libpd for unity 3d
101 stars 20 forks source link

Standalone player crashes after recompiling libpd to 64 bits #26

Closed Nagasaki45 closed 6 years ago

Nagasaki45 commented 6 years ago

Hi,

First, thanks for sharing this resource!

I'm trying to build the 01_LibPd_Basic scene to 64 bits standalone windows application but my build crashes imediately after the "built with unity" screen. In the unity editor, however, everything works as expected.

The crash

========== OUTPUTING STACK TRACE ==================

RtlLookupFunctionEntry returned NULL function. Aborting stack walk.
0x0000000066237815 (libpdcsharp) g_bang_setup
0x0000000066288CE1 (libpdcsharp) pd_vmess
0x00000000662B4EB6 (libpdcsharp) x_qlist_setup
0x00000000662894F5 (libpdcsharp) conf_init
0x000000006628C343 (libpdcsharp) pd_init
0x00000000662CE3FA (libpdcsharp) libpd_init
0x0000029206B25803 (Mono JIT Code) (wrapper managed-to-native) LibPDBinding.LibPD:libpd_init ()
0x0000029206B2247F (Mono JIT Code) LibPDBinding.LibPD:ReInit ()
0x0000029206B223E4 (Mono JIT Code) (wrapper synchronized) LibPDBinding.LibPD:ReInit ()
0x0000029206B21B47 (Mono JIT Code) LibPDBinding.LibPD:.cctor ()
0x0000029206B00493 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
0x00007FF953E764CF (mono) mono_set_defaults
0x00007FF953DC8A49 (mono) mono_runtime_invoke
0x00007FF953DCC39E (mono) mono_array_new
0x00007FF953E75C09 (mono) mono_set_defaults
0x00007FF953E75E45 (mono) mono_set_defaults
0x00007FF953E75ED8 (mono) mono_set_defaults
0x00007FF953E6DFAF (mono) mono_debugger_run_finally
<Missing stacktrace information>

========== END OF STACKTRACE ===========

Here are the output_log.txt and error.log.

Steps to reproduce

Software versions

Any hint on how to solve this issue will be highly appreciated.

Thanks again, Tom

Nagasaki45 commented 6 years ago

Yesterday I sent a bug report, very similar to this one, to unity. Here is the response I got:

I have checked your logs and found out that the problem was not by Unity itself but by libpdcsharp.dll. In this case, we are not able to provide a fix for this crash as we do not have the source code of this file. You should contact it's developers if the crash becomes consistent.

Nagasaki45 commented 6 years ago

The same issue is discussed in much more depth here. There's no reason to keep 2 versions of the same ticket, so I'm closing this one.