Megasploot / Dungeondraft

a sleek tabletop encounter mapping tool for Windows 10
101 stars 4 forks source link

Crash while running #10

Open egon1024 opened 3 years ago

egon1024 commented 3 years ago

Experienced a crash and thought I'd share the crash info in case it helps.

For reference, I'm running on Mint Linux (essentially Ubuntu 18.04), with the 1.0.0.0 version, installed from the .deb.

The crash data:

=================================================================
    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:
=================================================================
    0xa88a65 - /opt/Dungeondraft/Dungeondraft.x86_64 : (null)
    0xa88dfc - /opt/Dungeondraft/Dungeondraft.x86_64 : (null)
    0xa7b371 - /opt/Dungeondraft/Dungeondraft.x86_64 : (null)
    0x9f9ecb - /opt/Dungeondraft/Dungeondraft.x86_64 : (null)
    0x247a620 - /opt/Dungeondraft/Dungeondraft.x86_64 : _ZNK5Image9get_pixelEii
    0x409438b0 - Unknown

=================================================================
    Telemetry Dumper:
=================================================================
Pkilling 0x7f72d43fe700 from 0x7f7325534cc0
* Assertion: should not be reached at threads.c:6254
Entering thread summarizer pause from 0x7f7325534cc0
Finished thread summarizer pause from 0x7f7325534cc0.

Waiting for dumping threads to resume

=================================================================
    External Debugger Dump:
=================================================================
[New LWP 13743]
[New LWP 13747]
[New LWP 13749]
[New LWP 13750]
[New LWP 13751]
[New LWP 13752]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f7323c0332a in __waitpid (pid=15729, stat_loc=0x7ffc063732c4, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
30  ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
  Id   Target Id         Frame 
* 1    Thread 0x7f7325534cc0 (LWP 13742) "Dungeondraft.x8" 0x00007f7323c0332a in __waitpid (pid=15729, stat_loc=0x7ffc063732c4, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
  2    Thread 0x7f7325531700 (LWP 13743) "Dungeondraft.x8" 0x00007f7323c017c6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x42d5cd8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  3    Thread 0x7f731c1a3700 (LWP 13747) "Dungeondraft.x8" 0x00007f7323c017c6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x49463e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  4    Thread 0x7f731c162700 (LWP 13749) "Dungeondraft.x8" 0x00007f7323c02d50 in __GI___nanosleep (requested_time=0x7f731c161d40, remaining=0x7f731c161d40) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
  5    Thread 0x7f731c121700 (LWP 13750) "Dungeondraft.x8" 0x00007f7322b997a0 in __GI___nanosleep (requested_time=requested_time@entry=0x7f731c120d20, remaining=remaining@entry=0x0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
  6    Thread 0x7f72d4bff700 (LWP 13751) "SGen worker" 0x00007f7323bfead3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x3372848 <work_cond+40>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
  7    Thread 0x7f72d43fe700 (LWP 13752) "Finalizer" 0x00007f7323c017c6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x335bf00 <finalizer_sem>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205

Thread 7 (Thread 0x7f72d43fe700 (LWP 13752)):
#0  0x00007f7323c017c6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x335bf00 <finalizer_sem>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x335bf00 <finalizer_sem>, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007f7323c018b8 in __new_sem_wait_slow (sem=0x335bf00 <finalizer_sem>, abstime=0x0) at sem_waitcommon.c:181
#3  0x0000000000b4a958 in finalizer_thread ()
#4  0x0000000000c2806b in start_wrapper ()
#5  0x00007f7323bf86db in start_thread (arg=0x7f72d43fe700) at pthread_create.c:463
#6  0x00007f7322bd671f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f72d4bff700 (LWP 13751)):
#0  0x00007f7323bfead3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x3372848 <work_cond+40>) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x3372860 <lock>, cond=0x3372820 <work_cond>) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x3372820 <work_cond>, mutex=0x3372860 <lock>) at pthread_cond_wait.c:655
#3  0x0000000000c8ebda in thread_func ()
#4  0x00007f7323bf86db in start_thread (arg=0x7f72d4bff700) at pthread_create.c:463
#5  0x00007f7322bd671f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f731c121700 (LWP 13750)):
#0  0x00007f7322b997a0 in __GI___nanosleep (requested_time=requested_time@entry=0x7f731c120d20, remaining=remaining@entry=0x0) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00007f7322bcc657 in usleep (useconds=<optimized out>) at ../sysdeps/posix/usleep.c:32
#2  0x0000000000cd7f68 in JoypadLinux::monitor_joypads () at platform/x11/joypad_linux.cpp:216
#3  0x00000000014dc59c in ThreadPosix::thread_callback () at drivers/unix/thread_posix.cpp:74
#4  0x00007f7323bf86db in start_thread (arg=0x7f731c121700) at pthread_create.c:463
#5  0x00007f7322bd671f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f731c162700 (LWP 13749)):
#0  0x00007f7323c02d50 in __GI___nanosleep (requested_time=0x7f731c161d40, remaining=0x7f731c161d40) at ../sysdeps/unix/sysv/linux/nanosleep.c:28
#1  0x00000000014d80f3 in OS_Unix::delay_usec () at drivers/unix/os_unix.cpp:261
#2  0x00000000014e2383 in AudioDriverPulseAudio::thread_func () at drivers/pulseaudio/audio_driver_pulseaudio.cpp:520
#3  0x00000000014dc59c in ThreadPosix::thread_callback () at drivers/unix/thread_posix.cpp:74
#4  0x00007f7323bf86db in start_thread (arg=0x7f731c162700) at pthread_create.c:463
#5  0x00007f7322bd671f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f731c1a3700 (LWP 13747)):
#0  0x00007f7323c017c6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x49463e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x49463e8, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007f7323c018b8 in __new_sem_wait_slow (sem=0x49463e8, abstime=0x0) at sem_waitcommon.c:181
#3  0x00000000014dc35d in SemaphorePosix::wait () at drivers/unix/semaphore_posix.cpp:41
#4  0x000000000213a01c in VisualServerScene::_gi_probe_bake_thread () at servers/visual/visual_server_scene.cpp:2549
#5  0x00000000014dc59c in ThreadPosix::thread_callback () at drivers/unix/thread_posix.cpp:74
#6  0x00007f7323bf86db in start_thread (arg=0x7f731c1a3700) at pthread_create.c:463
#7  0x00007f7322bd671f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f7325531700 (LWP 13743)):
#0  0x00007f7323c017c6 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x42d5cd8) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0x42d5cd8, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007f7323c018b8 in __new_sem_wait_slow (sem=0x42d5cd8, abstime=0x0) at sem_waitcommon.c:181
#3  0x00000000014dc35d in SemaphorePosix::wait () at drivers/unix/semaphore_posix.cpp:41
#4  0x00000000026a0ca9 in _IP_ResolverPrivate::_thread_function () at core/io/ip.cpp:101
#5  0x00000000014dc59c in ThreadPosix::thread_callback () at drivers/unix/thread_posix.cpp:74
#6  0x00007f7323bf86db in start_thread (arg=0x7f7325531700) at pthread_create.c:463
#7  0x00007f7322bd671f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f7325534cc0 (LWP 13742)):
#0  0x00007f7323c0332a in __waitpid (pid=15729, stat_loc=0x7ffc063732c4, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:30
#1  0x0000000000a88d75 in dump_native_stacktrace.isra ()
#2  0x0000000000a88dfc in mono_dump_native_crash_info ()
#3  0x0000000000a7b371 in mono_handle_native_crash ()
#4  0x00000000009f9ecb in altstack_handle_and_restore ()
#5  0x000000000247a620 in Image::get_pixel () at core/image.cpp:2538
#6  0x00000000409438b0 in ?? ()
#7  0x00007f7322ea1680 in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#8  0x0000000000000000 in ?? ()

=================================================================
    Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x247a620):0x247a610  58 0b 00 00 8b 3c 90 48 83 c4 28 e9 00 84 fe ff  X....<.H..(.....
0x247a620  0f b6 04 10 66 0f ef c9 f2 0f 2a c8 f2 0f 5e 0d  ....f.....*...^.
0x247a630  dc 45 5e 00 f2 0f 5a c9 66 0f 7e ca 66 0f 7e c8  .E^...Z.f.~.f.~.
0x247a640  89 d2 48 c1 e0 20 48 09 c2 48 89 14 24 66 0f 7e  ..H.. H..H..$f.~

=================================================================
    Managed Stacktrace:
=================================================================
      at <unknown> <0xffffffff>
      at Godot.NativeCalls:godot_icall_5_465 <0x000a1>
      at Godot.Image:DoubleBlendTowardsChannel <0x00083>
      at Terrain:Paint <0x0013f>
      at TerrainBrush:_Update <0x000c3>
      at Editor:_Process <0x000bd>
      at <Module>:runtime_invoke_void__this___single <0x00084>
=================================================================
[1]    13742 abort (core dumped)  /opt/Dungeondraft/Dungeondraft.x86_64
egon1024 commented 3 years ago

Just a follow up - this seemed to be triggered when I had a couple third party terrains loaded and I attempted to use the terrain brush. The crash would trigger whether I tried to paint with a 3rd party terrain, or with a regular one. I modified the save file to remove the 3rd party terrains from the list and when I reloaded it, it started working fine.

erichooshmand commented 3 years ago

Running it on Windows 10 and got the same issue.

Well, even with the third party assets unloaded, file saved, then reopened, this error still occurs for me. Hopefully it gets fixed soon?