Skip to content

Instantly share code, notes, and snippets.

@IceDragon200
Last active July 4, 2020 23:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IceDragon200/bfe41b1f64ebbf7c6e036ce0f0b6bfd4 to your computer and use it in GitHub Desktop.
Save IceDragon200/bfe41b1f64ebbf7c6e036ce0f0b6bfd4 to your computer and use it in GitHub Desktop.
CavesRandomWalk::makeCave (this=0x7fffb0d3c6c0, vm=0x7fff9c585d70, nmin=..., nmax=..., ps=0x7fffb0d3c6a0, is_large_cave=true, max_stone_height=10, heightmap=0x555557ca15d0)
at <REDACTED>/minetest/src/mapgen/cavegen.cpp:334
334 if (biome->c_cave_liquid[0] != CONTENT_IGNORE) {
(gdb) backtrace
#0 CavesRandomWalk::makeCave (this=0x7fffb0d3c6c0, vm=0x7fff9c585d70, nmin=..., nmax=..., ps=0x7fffb0d3c6a0, is_large_cave=true, max_stone_height=10, heightmap=0x555557ca15d0)
at <REDACTED>/minetest/src/mapgen/cavegen.cpp:334
#1 0x0000555555e7c236 in MapgenBasic::generateCavesRandomWalk (this=0x555557c9f600, max_stone_y=10, large_cave_ymax=-33)
at <REDACTED>/minetest/src/mapgen/mapgen.cpp:891
#2 0x0000555555ea03d9 in MapgenV7::makeChunk (this=0x555557c9f600, data=0x7fffb0d3c880) at <REDACTED>/minetest/src/mapgen/mapgen_v7.cpp:376
#3 0x00005555560a8976 in EmergeThread::run (this=0x5555576e1e30) at <REDACTED>/minetest/src/emerge.cpp:696
#4 0x0000555555fb8c61 in Thread::threadProc (thr=0x5555576e1e30) at <REDACTED>/minetest/src/threading/thread.cpp:196
#5 0x0000555555fb98a6 in std::__invoke_impl<void, void (*)(Thread*), Thread*> (__f=@0x7fffbc0733f0: 0x555555fb8bf2 <Thread::threadProc(Thread*)>) at /usr/include/c++/10.1.0/bits/invoke.h:60
#6 0x0000555555fb980d in std::__invoke<void (*)(Thread*), Thread*> (__fn=@0x7fffbc0733f0: 0x555555fb8bf2 <Thread::threadProc(Thread*)>) at /usr/include/c++/10.1.0/bits/invoke.h:95
#7 0x0000555555fb977d in std::thread::_Invoker<std::tuple<void (*)(Thread*), Thread*> >::_M_invoke<0ul, 1ul> (this=0x7fffbc0733e8) at /usr/include/c++/10.1.0/thread:264
#8 0x0000555555fb9736 in std::thread::_Invoker<std::tuple<void (*)(Thread*), Thread*> >::operator() (this=0x7fffbc0733e8) at /usr/include/c++/10.1.0/thread:271
#9 0x0000555555fb971a in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(Thread*), Thread*> > >::_M_run (this=0x7fffbc0733e0) at /usr/include/c++/10.1.0/thread:215
#10 0x00007ffff6eb2b74 in std::execute_native_thread_routine (__p=0x7fffbc0733e0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
#11 0x00007ffff7372422 in start_thread () from /usr/lib/libpthread.so.0
#12 0x00007ffff6bbabf3 in clone () from /usr/lib/libc.so.6
Thread 21 "Emerge-0" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffb0d0b700 (LWP 1875732)]
0x0000555555962f09 in CavesRandomWalk::makeCave(MMVManip*, irr::core::vector3d<short>, irr::core::vector3d<short>, PseudoRandom*, bool, int, short*) ()
(gdb) backtrace
#0 0x0000555555962f09 in CavesRandomWalk::makeCave(MMVManip*, irr::core::vector3d<short>, irr::core::vector3d<short>, PseudoRandom*, bool, int, short*) ()
#1 0x000055555596b4c8 in MapgenBasic::generateCavesRandomWalk(short, short) ()
#2 0x0000555555989cb4 in MapgenV7::makeChunk(BlockMakeData*) ()
#3 0x0000555555b860b5 in EmergeThread::run() ()
#4 0x0000555555a9254e in Thread::threadProc(Thread*) ()
#5 0x00007ffff6eb2b74 in std::execute_native_thread_routine (__p=0x7fffc00749d0) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
#6 0x00007ffff7372422 in start_thread () from /usr/lib/libpthread.so.0
#7 0x00007ffff6bbabf3 in clone () from /usr/lib/libc.so.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment