enginmanap / limonEngine

3D FPS game engine with full dynamic lighting and shadows
http://www.limonengine.com
GNU Lesser General Public License v3.0
580 stars 57 forks source link

Failed to build on MSYS2 UCRT64 #150

Open ghost opened 1 year ago

ghost commented 1 year ago

I cloned the master branch. It's failed at linking the OpenAL-Soft dependency:

/usr/bin/sed: can't read OpenAL32.def: No such file or directory

ghost commented 1 year ago

I want to tell you that on MSYS2 we already have a package for openal so you don't need to build your own from source:

https://packages.msys2.org/package/mingw-w64-ucrt-x86_64-openal

The name of the openal dll is different from the standalone OpenAL-Soft though, it's libopenal-1.dll instead of OpenAL32.dll. Btw, when linking you only need to add -lopenal to gcc, please don't use -lopenal-1.

enginmanap commented 1 year ago

Hey man, may I ask what os/environment you are using? I have never seen this error. About the internal build, I wanna add Android cross compile at somepoint, so all dependencies will need to be pulled in. I will look into using prebuild openal to speed up compilation.

syedMohib44 commented 1 year ago

Still having this issue OpenGL cannot be found using cmake.

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find OpenGL (missing: OPENGL_opengl_LIBRARY OPENGL_glx_LIBRARY) Call Stack (most recent call first): /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake/Modules/FindOpenGL.cmake:545 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:78 (find_package)

enginmanap commented 1 year ago

may I ask which os this is? I would tend to believe Cmake if it says OpenGL is not present.

syedMohib44 commented 1 year ago

may I ask which os this is? I would tend to believe Cmake if it says OpenGL is not present.

I am using Windows 10 and using Laptop with Nvidia GPU 3070. I have installed all the libraries still having same issue

syedMohib44 commented 1 year ago

Also getting this error while running using macbook pro M1

image
enginmanap commented 1 year ago

Do you have the file?

syedMohib44 commented 1 year ago

Sorry which file do you mean build folder?

enginmanap commented 1 year ago

Data/shaders/ShadowMapDirectional/vertex. Glsl

It should be copied over to where ever your compiled binary is

syedMohib44 commented 1 year ago

Ohh yeah its not being copied actually I can try doing it manually also data doesn't have shader in it Engine have though

enginmanap commented 1 year ago

I am guessing I moved it and forgot to update. If you can find the file and copy that would be perfect

syedMohib44 commented 1 year ago

Hmmm now getting segmentation fault 😅

image
syedMohib44 commented 1 year ago

One wierd error I am getting is this one XML_ERROR_FILE_NOT_FOUND I tried to look this file can't find in project

image
enginmanap commented 1 year ago

New error means progress, right?

Do you have gbd? Can you give me a stack trace?

enginmanap commented 1 year ago

Xml not found is for Ai navigation. If not found rebuilds automatically, and for a map of 2km to 2km it takes like 5 minutes :(. For test map you don't need it.

syedMohib44 commented 1 year ago

Yeahh thats 💯 ture 😆 I haven't used gdb can look up rn I am trying on mac was able to build on windows as well which is being done. But here are the crash details

`------------------------------------- Translated Report (Full Report Below)

Process: LimonEngine [57443] Path: /Users/USER/*/LimonEngine Identifier: LimonEngine Version: ??? Code Type: ARM-64 (Native) Parent Process: zsh [780] Responsible: Terminal [615] User ID: 501

Date/Time: 2023-10-02 18:03:04.5423 +0100 OS Version: macOS 13.4 (22F66) Report Version: 12 Anonymous UUID: EBAE6835-9518-BAD1-42A1-FC694AF5C2A7

Sleep/Wake UUID: 975F3431-3C1E-438C-AE4D-FEAF0359FCD2

Time Awake Since Boot: 230000 seconds Time Since Wake: 15943 seconds

System Integrity Protection: enabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Codes: 0x0000000000000001, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11 Terminating Process: exc handler [57443]

VM Region Info: 0 is not in any region. Bytes before following region: 4343693312 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START --->
__TEXT 102e78000-1034c8000 [ 6464K] r-x/r-x SM=COW ...*/LimonEngine

Kernel Triage: VM - (arg = 0x0) pmap_enter retried due to resource shortage

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_platform.dylib 0x1a9bba6d0 _platform_memmove + 144 1 libGraphicsBackend.0.6.dylib 0x1093038c0 OpenGLGraphics::setLight(int, glm::vec<3, float, (glm::qualifier)0> const&, glm::mat<4, 4, float, (glm::qualifier)0> const, glm::mat<4, 4, float, (glm::qualifier)0> const&, glm::vec<3, float, (glm::qualifier)0> const&, glm::vec<3, float, (glm::qualifier)0> const&, glm::vec<3, float, (glm::qualifier)0> const&, int, float) + 128 (OpenGLGraphics.cpp:1467) 2 LimonEngine 0x102f20588 World::updateActiveLights(bool) + 1280 (World.cpp:2971) 3 LimonEngine 0x102f46af0 WorldLoader::loadLights(tinyxml2::XMLNode, World) const + 2544 (WorldLoader.cpp:759) 4 LimonEngine 0x102f42414 WorldLoader::loadMapFromXML(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&, LimonAPI) const + 3224 (WorldLoader.cpp:268) 5 LimonEngine 0x102f4163c WorldLoader::loadWorld(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&, LimonAPI*) const + 24 (WorldLoader.cpp:40) 6 LimonEngine 0x102f54f10 GameEngine::loadAndChangeWorld(std::1::basic_string<char, std::__1::char_traits, std::1::allocator> const&) + 284 (main.cpp:24) 7 LimonEngine 0x102f56c94 main + 964 (main.cpp:263) 8 dyld 0x1a9833f28 start + 2236

Thread 1: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 2: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 3:: CVDisplayLink 0 libsystem_kernel.dylib 0x1a9b4f710 __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x1a9b8c5a0 _pthread_cond_wait + 1276 2 CoreVideo 0x1b1918c64 CVDisplayLink::waitUntil(unsigned long long) + 324 3 CoreVideo 0x1b1917d34 CVDisplayLink::runIOThread() + 504 4 libsystem_pthread.dylib 0x1a9b8bfa8 _pthread_start + 148 5 libsystem_pthread.dylib 0x1a9b86da0 thread_start + 8

Thread 4:: caulk.messenger.shared:17 0 libsystem_kernel.dylib 0x1a9b4be90 semaphore_wait_trap + 8 1 caulk 0x1b31bf024 caulk::semaphore::timed_wait(double) + 212 2 caulk 0x1b31beed8 caulk::concurrent::details::worker_thread::run() + 36 3 caulk 0x1b31bebc8 void caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::__1::tuple<caulk::concurrent::details::worker_thread>>>(void) + 96 4 libsystem_pthread.dylib 0x1a9b8bfa8 _pthread_start + 148 5 libsystem_pthread.dylib 0x1a9b86da0 thread_start + 8

Thread 5:: com.apple.audio.IOThread.client 0 libsystem_kernel.dylib 0x1a9b4bf14 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x1a9b5e240 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x1a9b54b78 mach_msg_overwrite + 604 3 libsystem_kernel.dylib 0x1a9b4c290 mach_msg + 24 4 CoreAudio 0x1abf77624 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 104 5 CoreAudio 0x1abe64d14 HALC_ProxyIOContext::IOWorkLoop() + 3516 6 CoreAudio 0x1abe6387c invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 116 7 CoreAudio 0x1abfc6564 HALB_IOThread::Entry(void*) + 88 8 libsystem_pthread.dylib 0x1a9b8bfa8 _pthread_start + 148 9 libsystem_pthread.dylib 0x1a9b86da0 thread_start + 8

Thread 6: 0 libsystem_kernel.dylib 0x1a9b4be90 semaphore_wait_trap + 8 1 libdispatch.dylib 0x1a99dc99c _dispatch_sema4_wait + 28 2 libdispatch.dylib 0x1a99dd050 _dispatch_semaphore_wait_slow + 132 3 libopenal.1.22.2.dylib 0x103d776e0 EventThread(ALCcontext) + 812 (event.cpp:43) 4 libopenal.1.22.2.dylib 0x103d77b6c decltype(std::declval<int ()(ALCcontext)>()(std::declval<ALCcontext>())) std::1::invoke[abi:v15006]<int ()(ALCcontext), ALCcontext>(int (&&)(ALCcontext), ALCcontext&&) + 8 (invoke.h:394) [inlined] 5 libopenal.1.22.2.dylib 0x103d77b6c void std::1::thread_execute[abi:v15006]<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete>, int ()(ALCcontext), ALCcontext, 2ul>(std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::__1::default_delete>, int ()(ALCcontext), ALCcontext>&, std::1::tuple_indices<2ul>) + 8 (thread:290) [inlined] 6 libopenal.1.22.2.dylib 0x103d77b6c void std::1::thread_proxy[abi:v15006]<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::__1::default_delete>, int ()(ALCcontext), ALCcontext>>(void*) + 52 (thread:301) 7 libsystem_pthread.dylib 0x1a9b8bfa8 _pthread_start + 148 8 libsystem_pthread.dylib 0x1a9b86da0 thread_start + 8

Thread 7:: soundManager 0 libsystem_kernel.dylib 0x1a9b4f50c __semwait_signal + 8 1 libsystem_c.dylib 0x1a9a302d0 nanosleep + 220 2 libSDL2-2.0.0.dylib 0x104365f0c SDL_Delay_REAL + 80 3 LimonEngine 0x102e8def8 ALHelper::soundManager() + 120 (ALHelper.cpp:117) 4 LimonEngine 0x102e8dd94 ALHelper::staticSoundManager(void*) + 12 (ALHelper.h:86) 5 libSDL2-2.0.0.dylib 0x1042f3d6c SDL_RunThread + 48 6 libSDL2-2.0.0.dylib 0x10434a084 RunThread + 12 7 libsystem_pthread.dylib 0x1a9b8bfa8 _pthread_start + 148 8 libsystem_pthread.dylib 0x1a9b86da0 thread_start + 8

Thread 8: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 9: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 10: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 11: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 12: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 13: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 14: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 15: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 16: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 17: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 18: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 19: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 20: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 21: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 22: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 23: 0 libsystem_pthread.dylib 0x1a9b86d8c start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x00000001092c8200 x1: 0x0000000000000000 x2: 0x0000000000000180 x3: 0x00000001092c8220 x4: 0xfffffffef6d37e00 x5: 0x000000020e93c470 x6: 0x00006000008da2a8 x7: 0x00006000008da2d8 x8: 0x00000001092c8000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x0000000000000084 x12: 0x0000000000000000 x13: 0x0000000000000001 x14: 0x0000000000000084 x15: 0x00000000f41b3812 x16: 0x00000001a9bba640 x17: 0x00000002490b59c8 x18: 0x0000000000000000 x19: 0x00006000008da2d8 x20: 0x0000000000000001 x21: 0x000000014a831228 x22: 0x000000016cf86ab0 x23: 0x00006000008da2a8 x24: 0x00006000008da29c x25: 0x000000016cf86a70 x26: 0x0000000000000000 x27: 0x000000010c0a06c0 x28: 0x000000010c0a06d0 fp: 0x000000016cf86a50 lr: 0x00000001093038c0 sp: 0x000000016cf869f0 pc: 0x00000001a9bba6d0 cpsr: 0x80001000 far: 0x0000000000000000 esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images: 0x102e78000 - 0x1034c7fff LimonEngine () <5c0faaa2-91d7-36e5-801c-bf138d13d26c> /Users/USER//LimonEngine 0x103d64000 - 0x103dfbfff libopenal.1.22.2.dylib () <4d76a1d1-5854-315c-ad84-39fddb685a1c> /Users/USER//libopenal.1.22.2.dylib 0x103c8c000 - 0x103c97fff libtinyxml2.9.0.0.dylib () <618d812e-1c01-3f58-896d-ee51ddda6d88> /opt/homebrew//libtinyxml2.9.0.0.dylib 0x103ed4000 - 0x103f27fff libBulletDynamics.3.25.dylib () <66d62b41-08a3-394b-8730-48a2ea22abe7> /opt/homebrew//libBulletDynamics.3.25.dylib 0x103f5c000 - 0x103fb7fff libBulletCollision.3.25.dylib () <7cdacca7-3781-3f55-b66f-5d9191090139> /opt/homebrew//libBulletCollision.3.25.dylib 0x103cdc000 - 0x103cf3fff libLinearMath.3.25.dylib () <9c3e807b-e0f6-3acd-9911-0c44285ab85f> /opt/homebrew//libLinearMath.3.25.dylib 0x104090000 - 0x1040dffff libBulletSoftBody.3.25.dylib () <76c600c6-11bf-358c-8f56-ba210077dc13> /opt/homebrew//libBulletSoftBody.3.25.dylib 0x104290000 - 0x1043a3fff libSDL2-2.0.0.dylib () <4d4cfb28-042a-3e9f-af47-13f39d158e96> /opt/homebrew//libSDL2-2.0.0.dylib 0x1041b8000 - 0x104233fff libfreetype.6.dylib () <166fea07-2eb1-3cc6-bd74-1f25515bc9e0> /opt/homebrew//libfreetype.6.dylib 0x103d0c000 - 0x103d23fff libSDL2_image-2.0.0.dylib () /opt/homebrew//libSDL2_image-2.0.0.dylib 0x10403c000 - 0x10405ffff libpng16.16.dylib () <6557e5a9-1005-3d77-b69f-62f552ee7570> /opt/homebrew//libpng16.16.dylib 0x10459c000 - 0x1046cbfff libjxl.0.8.2.dylib () <48605725-9e82-3eaf-b35c-23a5e1efb2d7> /opt/homebrew//libjxl.0.8.2.dylib 0x104408000 - 0x104463fff libjpeg.8.3.2.dylib () /opt/homebrew//libjpeg.8.3.2.dylib 0x10447c000 - 0x1044dbfff libtiff.6.dylib () /opt/homebrew//libtiff.6.dylib 0x103d38000 - 0x103d4ffff libavif.16.0.1.dylib () <68f46598-198f-3a96-869f-fed0a2cd9487> /opt/homebrew//libavif.16.0.1.dylib 0x1044f8000 - 0x104537fff libwebp.7.1.7.dylib () <9f4595f8-8b48-37c2-baf7-2bb40d62adf1> /opt/homebrew//libwebp.7.1.7.dylib 0x103cac000 - 0x103cb3fff libhwy.1.0.7.dylib () <538a5ce5-8c8f-3c69-8f6b-6e6c20b4b0ce> /opt/homebrew//libhwy.1.0.7.dylib 0x103cc4000 - 0x103ccffff libbrotlidec.1.1.0.dylib () <2e2e100e-dd11-30d3-b70d-10e715aba512> /opt/homebrew//libbrotlidec.1.1.0.dylib 0x104118000 - 0x104137fff libbrotlicommon.1.1.0.dylib () /opt/homebrew//libbrotlicommon.1.1.0.dylib 0x1047d0000 - 0x10485bfff libbrotlienc.1.1.0.dylib () <5bc235b4-6053-3ed1-91dd-246b58dfdb7c> /opt/homebrew//libbrotlienc.1.1.0.dylib 0x104730000 - 0x10476bfff liblcms2.2.dylib () /opt/homebrew//liblcms2.2.dylib 0x10492c000 - 0x1049cffff libzstd.1.5.5.dylib () <9cc1e4e5-da83-3b83-a1b9-b4f1ccc5d596> /opt/homebrew//libzstd.1.5.5.dylib 0x104144000 - 0x104163fff liblzma.5.dylib () <7c1e4570-c041-3609-be6b-5baca080a220> /opt/homebrew//liblzma.5.dylib 0x104d4c000 - 0x105033fff libaom.3.7.0.dylib () /opt/homebrew//libaom.3.7.0.dylib 0x1049ec000 - 0x104a13fff libvmaf.1.dylib () <9898b415-ab90-3dc9-99a6-90049100373a> /opt/homebrew//libvmaf.1.dylib 0x104008000 - 0x10400bfff libsharpyuv.0.0.1.dylib () /opt/homebrew//libsharpyuv.0.0.1.dylib 0x104d24000 - 0x104d2ffff libobjc-trampolines.dylib () <570c31f7-94c6-3b86-ae44-1694db0a4bcd> /usr/lib/libobjc-trampolines.dylib 0x109328000 - 0x109393fff com.apple.AppleMetalOpenGLRenderer (1.0) <01596a35-894c-3104-8314-40d3c08f18ca> /System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer 0x1092f4000 - 0x109307fff libGraphicsBackend.0.6.dylib () /Users/USER//libGraphicsBackend.0.6.dylib 0x10c05c000 - 0x10c09bfff libGLEW.2.2.0.dylib () /opt/homebrew//libGLEW.2.2.0.dylib 0x10c138000 - 0x10c157fff libcustomTriggers.0.6.dylib () <5d749ed2-1add-3f2c-9a16-d5e3b2f98f68> /Users/USER//libcustomTriggers.0.6.dylib 0x10c470000 - 0x10c5a3fff com.apple.audio.units.Components (1.14) /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio 0x1a9bb7000 - 0x1a9bbdffb libsystem_platform.dylib () /usr/lib/system/libsystem_platform.dylib 0x1a982e000 - 0x1a98bc553 dyld () /usr/lib/dyld 0x1a9b85000 - 0x1a9b91fff libsystem_pthread.dylib () <46d35233-a051-3f4f-bba4-ba56dddc4d1a> /usr/lib/system/libsystem_pthread.dylib 0x1a9b4b000 - 0x1a9b84fe7 libsystem_kernel.dylib () <42f503e2-9273-360a-a086-c1b19bbd3962> /usr/lib/system/libsystem_kernel.dylib 0x1b1915000 - 0x1b1976fff com.apple.CoreVideo (1.8) <23a7c243-4552-3f81-b4f7-b9723ee40a45> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x1b31bd000 - 0x1b31e5fff com.apple.audio.caulk (1.0) /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk 0x1abc88000 - 0x1ac31bfff com.apple.audio.CoreAudio (5.0) <4c6d842e-31f6-30ca-984e-6281d387fe72> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x1a99d8000 - 0x1a9a1ffff libdispatch.dylib () /usr/lib/system/libdispatch.dylib 0x1a9a23000 - 0x1a9aa1ff7 libsystem_c.dylib (*) <95a70e20-1df3-3ddf-900c-315ed0b2c067> /usr/lib/system/libsystem_c.dylib

External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 0 thread_create: 0 thread_set_state: 0

VM Region Summary: ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%) Writable regions: Total=2.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.2G(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Activity Tracing 256K 1 ColorSync 480K 24 CoreAnimation 16K 1 CoreGraphics 16K 1 Foundation 16K 1 Kernel Alloc Once 32K 1 MALLOC 1.1G 95 MALLOC guard page 192K 10 MALLOC_MEDIUM (reserved) 704.0M 7 reserved VM address space (unallocated) MALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated) OpenGL GLSL 256K 3 STACK GUARD 56.4M 24 Stack 20.2M 24 VM_ALLOCATE 5120K 122 AUTH 709K 182 AUTH_CONST 13.4M 349 CTF 824 1 DATA 5047K 365 DATA_CONST 17.6M 383 __DATA_DIRTY 803K 120 FONT_DATA 2352 1 GLSLBUILTINS 5174K 1 LINKEDIT 812.2M 33 OBJC_RO 66.3M 1 __OBJC_RW 2011K 1 TEXT 280.3M 399 dyld private memory 272K 2 mapped file 68.8M 21 shared memory 864K 14 =========== ======= ======= TOTAL 3.5G 2188 TOTAL, minus reserved VM space 2.4G 2188


Full Report

{"app_name":"LimonEngine","timestamp":"2023-10-02 18:03:06.00 +0100","app_version":"","slice_uuid":"5c0faaa2-91d7-36e5-801c-bf138d13d26c","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 13.4 (22F66)","roots_installed":0,"incident_id":"A5B9F853-F72B-4819-BD5C-AB83DF9CB682","name":"LimonEngine"} { "uptime" : 230000, "procRole" : "Background", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "MacBookPro17,1", "coalitionID" : 638, "osVersion" : { "train" : "macOS 13.4", "build" : "22F66", "releaseType" : "User" }, "captureTime" : "2023-10-02 18:03:04.5423 +0100", "incident" : "A5B9F853-F72B-4819-BD5C-AB83DF9CB682", "pid" : 57443, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2023-10-02 18:03:01.1798 +0100", "procStartAbsTime" : 5551937116047, "procExitAbsTime" : 5552015952527, "procName" : "LimonEngine", "procPath" : "\/Users\/USER\/\/LimonEngine", "parentProc" : "zsh", "parentPid" : 780, "coalitionName" : "com.apple.Terminal", "crashReporterKey" : "EBAE6835-9518-BAD1-42A1-FC694AF5C2A7", "responsiblePid" : 615, "responsibleProc" : "Terminal", "codeSigningID" : "LimonEngine", "codeSigningTeamID" : "", "codeSigningFlags" : 570556929, "codeSigningValidationCategory" : 10, "codeSigningTrustLevel" : 0, "wakeTime" : 15943, "sleepWakeUUID" : "975F3431-3C1E-438C-AE4D-FEAF0359FCD2", "sip" : "enabled", "vmRegionInfo" : "0 is not in any region. Bytes before following region: 4343693312\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n __TEXT 102e78000-1034c8000 [ 6464K] r-x\/r-x SM=COW ...\/LimonEngine", "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"}, "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":57443}, "ktriageinfo" : "VM - (arg = 0x0) pmap_enter retried due to resource shortage\n", "vmregioninfo" : "0 is not in any region. Bytes before following region: 4343693312\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n TEXT 102e78000-1034c8000 [ 6464K] r-x\/r-x SM=COW ...*\/LimonEngine", "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":2783281,"threadState":{"x":[{"value":4448879104},{"value":0},{"value":384},{"value":4448879136},{"value":18446744069260672512},{"value":8834499696,"symbolLocation":0,"symbol":"glBufferSubData_Exec"},{"value":105553125548712},{"value":105553125548760},{"value":4448878592},{"value":0},{"value":0},{"value":132},{"value":0},{"value":1},{"value":132},{"value":4095424530},{"value":7142614592,"symbolLocation":0,"symbol":"_platform_memmove"},{"value":9815415240},{"value":0},{"value":105553125548760},{"value":1},{"value":5545071144},{"value":6123186864},{"value":105553125548712},{"value":105553125548700},{"value":6123186800},{"value":0},{"value":4496950976,"symbolLocation":0,"symbol":"glewBindBuffer"},{"value":4496950992,"symbolLocation":0,"symbol":"glewBufferSubData"}],"flavor":"ARM_THREAD_STATE64","lr":{"value":4449122496},"cpsr":{"value":2147487744},"fp":{"value":6123186768},"sp":{"value":6123186672},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":7142614736,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":14032,"symbol":"_platform_memmove","symbolLocation":144,"imageIndex":32},{"imageOffset":63680,"sourceLine":1467,"sourceFile":"OpenGLGraphics.cpp","symbol":"OpenGLGraphics::setLight(int, glm::vec<3, float, (glm::qualifier)0> const&, glm::mat<4, 4, float, (glm::qualifier)0> const, glm::mat<4, 4, float, (glm::qualifier)0> const&, glm::vec<3, float, (glm::qualifier)0> const&, glm::vec<3, float, (glm::qualifier)0> const&, glm::vec<3, float, (glm::qualifier)0> const&, int, float)","imageIndex":28,"symbolLocation":128},{"imageOffset":689544,"sourceLine":2971,"sourceFile":"World.cpp","symbol":"World::updateActiveLights(bool)","imageIndex":0,"symbolLocation":1280},{"imageOffset":846576,"sourceLine":759,"sourceFile":"WorldLoader.cpp","symbol":"WorldLoader::loadLights(tinyxml2::XMLNode, World*) const","imageIndex":0,"symbolLocation":2544},{"imageOffset":828436,"sourceLine":268,"sourceFile":"WorldLoader.cpp","symbol":"WorldLoader::loadMapFromXML(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&, LimonAPI*) const","imageIndex":0,"symbolLocation":3224},{"imageOffset":824892,"sourceLine":40,"sourceFile":"WorldLoader.cpp","symbol":"WorldLoader::loadWorld(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&, LimonAPI*) const","imageIndex":0,"symbolLocation":24},{"imageOffset":904976,"sourceLine":24,"sourceFile":"main.cpp","symbol":"GameEngine::loadAndChangeWorld(std::1::basic_string<char, std::1::char_traits, std::1::allocator> const&)","imageIndex":0,"symbolLocation":284},{"imageOffset":912532,"sourceLine":263,"sourceFile":"main.cpp","symbol":"main","imageIndex":0,"symbolLocation":964},{"imageOffset":24360,"symbol":"start","symbolLocation":2236,"imageIndex":33}]},{"id":2783286,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783287,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783302,"name":"CVDisplayLink","frames":[{"imageOffset":18192,"symbol":"psynch_cvwait","symbolLocation":8,"imageIndex":35},{"imageOffset":30112,"symbol":"_pthread_cond_wait","symbolLocation":1276,"imageIndex":34},{"imageOffset":15460,"symbol":"CVDisplayLink::waitUntil(unsigned long long)","symbolLocation":324,"imageIndex":36},{"imageOffset":11572,"symbol":"CVDisplayLink::runIOThread()","symbolLocation":504,"imageIndex":36},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":34},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2783303,"name":"caulk.messenger.shared:17","frames":[{"imageOffset":3728,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":35},{"imageOffset":8228,"symbol":"caulk::semaphore::timed_wait(double)","symbolLocation":212,"imageIndex":37},{"imageOffset":7896,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":37},{"imageOffset":7112,"symbol":"void caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::)(), std::1::tuple<caulk::concurrent::details::worker_thread>>>(void)","symbolLocation":96,"imageIndex":37},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":34},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2783345,"name":"com.apple.audio.IOThread.client","frames":[{"imageOffset":3860,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":35},{"imageOffset":78400,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":35},{"imageOffset":39800,"symbol":"mach_msg_overwrite","symbolLocation":604,"imageIndex":35},{"imageOffset":4752,"symbol":"mach_msg","symbolLocation":24,"imageIndex":35},{"imageOffset":3077668,"symbol":"HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int)","symbolLocation":104,"imageIndex":38},{"imageOffset":1953044,"symbol":"HALC_ProxyIOContext::IOWorkLoop()","symbolLocation":3516,"imageIndex":38},{"imageOffset":1947772,"symbol":"invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int)","symbolLocation":116,"imageIndex":38},{"imageOffset":3401060,"symbol":"HALB_IOThread::Entry(void)","symbolLocation":88,"imageIndex":38},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":34},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2783364,"frames":[{"imageOffset":3728,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":35},{"imageOffset":18844,"symbol":"_dispatch_sema4_wait","symbolLocation":28,"imageIndex":39},{"imageOffset":20560,"symbol":"_dispatch_semaphore_wait_slow","symbolLocation":132,"imageIndex":39},{"imageOffset":79584,"sourceLine":43,"sourceFile":"event.cpp","symbol":"EventThread(ALCcontext)","imageIndex":1,"symbolLocation":812},{"symbol":"decltype(std::declval<int ()(ALCcontext)>()(std::declval<ALCcontext>())) std::1::invoke[abi:v15006]<int ()(ALCcontext), ALCcontext>(int (&&)(ALCcontext), ALCcontext&&)","inline":true,"imageIndex":1,"imageOffset":80748,"symbolLocation":8,"sourceLine":394,"sourceFile":"invoke.h"},{"symbol":"void std::1::thread_execute[abi:v15006]<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete>, int ()(ALCcontext), ALCcontext, 2ul>(std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete>, int ()(ALCcontext), ALCcontext*>&, std::1::tuple_indices<2ul>)","inline":true,"imageIndex":1,"imageOffset":80748,"symbolLocation":8,"sourceLine":290,"sourceFile":"thread"},{"imageOffset":80748,"sourceLine":301,"sourceFile":"thread","symbol":"void* std::1::thread_proxy[abi:v15006]<std::1::tuple<std::1::unique_ptr<std::1::thread_struct, std::1::default_delete>, int ()(ALCcontext), ALCcontext>>(void)","imageIndex":1,"symbolLocation":52},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":34},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2783365,"name":"soundManager","frames":[{"imageOffset":17676,"symbol":"semwait_signal","symbolLocation":8,"imageIndex":35},{"imageOffset":53968,"symbol":"nanosleep","symbolLocation":220,"imageIndex":40},{"imageOffset":876300,"symbol":"SDL_Delay_REAL","symbolLocation":80,"imageIndex":7},{"imageOffset":89848,"sourceLine":117,"sourceFile":"ALHelper.cpp","symbol":"ALHelper::soundManager()","imageIndex":0,"symbolLocation":120},{"imageOffset":89492,"sourceLine":86,"sourceFile":"ALHelper.h","symbol":"ALHelper::staticSoundManager(void)","imageIndex":0,"symbolLocation":12},{"imageOffset":408940,"symbol":"SDL_RunThread","symbolLocation":48,"imageIndex":7},{"imageOffset":761988,"symbol":"RunThread","symbolLocation":12,"imageIndex":7},{"imageOffset":28584,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":34},{"imageOffset":7584,"symbol":"thread_start","symbolLocation":8,"imageIndex":34}]},{"id":2783371,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783372,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783373,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783374,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783375,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783376,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783377,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783378,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783379,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783380,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783381,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783382,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783383,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783384,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783392,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]},{"id":2783393,"frames":[{"imageOffset":7564,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":34}]}], "usedImages" : [ { "source" : "P", "arch" : "arm64", "base" : 4343693312, "size" : 6619136, "uuid" : "5c0faaa2-91d7-36e5-801c-bf138d13d26c", "path" : "\/Users\/USER\/\/LimonEngine", "name" : "LimonEngine" }, { "source" : "P", "arch" : "arm64", "base" : 4359340032, "size" : 622592, "uuid" : "4d76a1d1-5854-315c-ad84-39fddb685a1c", "path" : "\/Users\/USER\/\/libopenal.1.22.2.dylib", "name" : "libopenal.1.22.2.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4358455296, "size" : 49152, "uuid" : "618d812e-1c01-3f58-896d-ee51ddda6d88", "path" : "\/opt\/homebrew\/\/libtinyxml2.9.0.0.dylib", "name" : "libtinyxml2.9.0.0.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4360847360, "size" : 344064, "uuid" : "66d62b41-08a3-394b-8730-48a2ea22abe7", "path" : "\/opt\/homebrew\/\/libBulletDynamics.3.25.dylib", "name" : "libBulletDynamics.3.25.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4361404416, "size" : 376832, "uuid" : "7cdacca7-3781-3f55-b66f-5d9191090139", "path" : "\/opt\/homebrew\/\/libBulletCollision.3.25.dylib", "name" : "libBulletCollision.3.25.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4358782976, "size" : 98304, "uuid" : "9c3e807b-e0f6-3acd-9911-0c44285ab85f", "path" : "\/opt\/homebrew\/\/libLinearMath.3.25.dylib", "name" : "libLinearMath.3.25.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4362665984, "size" : 327680, "uuid" : "76c600c6-11bf-358c-8f56-ba210077dc13", "path" : "\/opt\/homebrew\/\/libBulletSoftBody.3.25.dylib", "name" : "libBulletSoftBody.3.25.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4364763136, "size" : 1130496, "uuid" : "4d4cfb28-042a-3e9f-af47-13f39d158e96", "path" : "\/opt\/homebrew\/\/libSDL2-2.0.0.dylib", "name" : "libSDL2-2.0.0.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4363878400, "size" : 507904, "uuid" : "166fea07-2eb1-3cc6-bd74-1f25515bc9e0", "path" : "\/opt\/homebrew\/\/libfreetype.6.dylib", "name" : "libfreetype.6.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4358979584, "size" : 98304, "uuid" : "bafe3bdf-f44c-35b8-b164-35c4e6edb229", "path" : "\/opt\/homebrew\/\/libSDL2_image-2.0.0.dylib", "name" : "libSDL2_image-2.0.0.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4362321920, "size" : 147456, "uuid" : "6557e5a9-1005-3d77-b69f-62f552ee7570", "path" : "\/opt\/homebrew\/\/libpng16.16.dylib", "name" : "libpng16.16.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4367958016, "size" : 1245184, "uuid" : "48605725-9e82-3eaf-b35c-23a5e1efb2d7", "path" : "\/opt\/homebrew\/\/libjxl.0.8.2.dylib", "name" : "libjxl.0.8.2.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4366303232, "size" : 376832, "uuid" : "c37e7098-1b9a-3b38-bb38-53a423960a81", "path" : "\/opt\/homebrew\/\/libjpeg.8.3.2.dylib", "name" : "libjpeg.8.3.2.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4366778368, "size" : 393216, "uuid" : "e353338f-a1a5-3e35-9618-effba1dd5430", "path" : "\/opt\/homebrew\/\/libtiff.6.dylib", "name" : "libtiff.6.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4359159808, "size" : 98304, "uuid" : "68f46598-198f-3a96-869f-fed0a2cd9487", "path" : "\/opt\/homebrew\/\/libavif.16.0.1.dylib", "name" : "libavif.16.0.1.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4367286272, "size" : 262144, "uuid" : "9f4595f8-8b48-37c2-baf7-2bb40d62adf1", "path" : "\/opt\/homebrew\/\/libwebp.7.1.7.dylib", "name" : "libwebp.7.1.7.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4358586368, "size" : 32768, "uuid" : "538a5ce5-8c8f-3c69-8f6b-6e6c20b4b0ce", "path" : "\/opt\/homebrew\/\/libhwy.1.0.7.dylib", "name" : "libhwy.1.0.7.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4358684672, "size" : 49152, "uuid" : "2e2e100e-dd11-30d3-b70d-10e715aba512", "path" : "\/opt\/homebrew\/\/libbrotlidec.1.1.0.dylib", "name" : "libbrotlidec.1.1.0.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4363223040, "size" : 131072, "uuid" : "d6d17b55-1cd9-3744-8d06-c9990225fa39", "path" : "\/opt\/homebrew\/\/libbrotlicommon.1.1.0.dylib", "name" : "libbrotlicommon.1.1.0.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4370268160, "size" : 573440, "uuid" : "5bc235b4-6053-3ed1-91dd-246b58dfdb7c", "path" : "\/opt\/homebrew\/\/libbrotlienc.1.1.0.dylib", "name" : "libbrotlienc.1.1.0.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4369612800, "size" : 245760, "uuid" : "f34e6f33-a620-39ec-aa1f-b8034e2afd18", "path" : "\/opt\/homebrew\/\/liblcms2.2.dylib", "name" : "liblcms2.2.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4371693568, "size" : 671744, "uuid" : "9cc1e4e5-da83-3b83-a1b9-b4f1ccc5d596", "path" : "\/opt\/homebrew\/\/libzstd.1.5.5.dylib", "name" : "libzstd.1.5.5.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4363403264, "size" : 131072, "uuid" : "7c1e4570-c041-3609-be6b-5baca080a220", "path" : "\/opt\/homebrew\/\/liblzma.5.dylib", "name" : "liblzma.5.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4376018944, "size" : 3047424, "uuid" : "b5b88e5f-bcf7-36bc-8b8a-10f8724a9c2d", "path" : "\/opt\/homebrew\/\/libaom.3.7.0.dylib", "name" : "libaom.3.7.0.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4372480000, "size" : 163840, "uuid" : "9898b415-ab90-3dc9-99a6-90049100373a", "path" : "\/opt\/homebrew\/\/libvmaf.1.dylib", "name" : "libvmaf.1.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4362108928, "size" : 16384, "uuid" : "aa3d6187-5fa1-31dc-9cf3-37288867d3cd", "path" : "\/opt\/homebrew\/\/libsharpyuv.0.0.1.dylib", "name" : "libsharpyuv.0.0.1.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 4375855104, "size" : 49152, "uuid" : "570c31f7-94c6-3b86-ae44-1694db0a4bcd", "path" : "\/usr\/lib\/libobjc-trampolines.dylib", "name" : "libobjc-trampolines.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 4449271808, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.AppleMetalOpenGLRenderer", "size" : 442368, "uuid" : "01596a35-894c-3104-8314-40d3c08f18ca", "path" : "\/System\/Library\/Extensions\/AppleMetalOpenGLRenderer.bundle\/Contents\/MacOS\/AppleMetalOpenGLRenderer", "name" : "AppleMetalOpenGLRenderer", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4449058816, "size" : 81920, "uuid" : "e2f47641-29bd-33a3-9599-5c507e3f3a3e", "path" : "\/Users\/USER\/\/libGraphicsBackend.0.6.dylib", "name" : "libGraphicsBackend.0.6.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4496670720, "size" : 262144, "uuid" : "edd2dd58-53fc-3653-85b2-59d8d0bcf9cb", "path" : "\/opt\/homebrew\/\/libGLEW.2.2.0.dylib", "name" : "libGLEW.2.2.0.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4497571840, "size" : 131072, "uuid" : "5d749ed2-1add-3f2c-9a16-d5e3b2f98f68", "path" : "\/Users\/USER\/\/libcustomTriggers.0.6.dylib", "name" : "libcustomTriggers.0.6.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 4500946944, "CFBundleShortVersionString" : "1.14", "CFBundleIdentifier" : "com.apple.audio.units.Components", "size" : 1261568, "uuid" : "d91330e5-bb99-30ba-afc8-954fd1d59ce6", "path" : "\/System\/Library\/Components\/CoreAudio.component\/Contents\/MacOS\/CoreAudio", "name" : "CoreAudio", "CFBundleVersion" : "1.14" }, { "source" : "P", "arch" : "arm64e", "base" : 7142600704, "size" : 28668, "uuid" : "f80c6971-c080-31f5-ab6e-be01311154af", "path" : "\/usr\/lib\/system\/libsystem_platform.dylib", "name" : "libsystem_platform.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7138893824, "size" : 582996, "uuid" : "bd993f39-c902-37d6-8bd8-6d827c7f121e", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "arm64e", "base" : 7142395904, "size" : 53248, "uuid" : "46d35233-a051-3f4f-bba4-ba56dddc4d1a", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7142158336, "size" : 237544, "uuid" : "42f503e2-9273-360a-a086-c1b19bbd3962", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7274057728, "CFBundleShortVersionString" : "1.8", "CFBundleIdentifier" : "com.apple.CoreVideo", "size" : 401408, "uuid" : "23a7c243-4552-3f81-b4f7-b9723ee40a45", "path" : "\/System\/Library\/Frameworks\/CoreVideo.framework\/Versions\/A\/CoreVideo", "name" : "CoreVideo", "CFBundleVersion" : "555.1" }, { "source" : "P", "arch" : "arm64e", "base" : 7299911680, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.audio.caulk", "size" : 167936, "uuid" : "d793971d-25be-323d-83a4-cc72fadafe8d", "path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk", "name" : "caulk" }, { "source" : "P", "arch" : "arm64e", "base" : 7177011200, "CFBundleShortVersionString" : "5.0", "CFBundleIdentifier" : "com.apple.audio.CoreAudio", "size" : 6897664, "uuid" : "4c6d842e-31f6-30ca-984e-6281d387fe72", "path" : "\/System\/Library\/Frameworks\/CoreAudio.framework\/Versions\/A\/CoreAudio", "name" : "CoreAudio", "CFBundleVersion" : "5.0" }, { "source" : "P", "arch" : "arm64e", "base" : 7140638720, "size" : 294912, "uuid" : "c2fd3094-b465-39a4-b774-16583ff53c4b", "path" : "\/usr\/lib\/system\/libdispatch.dylib", "name" : "libdispatch.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 7140945920, "size" : 520184, "uuid" : "95a70e20-1df3-3ddf-900c-315ed0b2c067", "path" : "\/usr\/lib\/system\/libsystem_c.dylib", "name" : "libsystem_c.dylib" } ], "sharedCache" : { "base" : 7138230272, "size" : 3551805440, "uuid" : "7d9faa84-5c6b-3ef4-9379-faba64346673" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=2.2G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=2.2G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nColorSync 480K 24 \nCoreAnimation 16K 1 \nCoreGraphics 16K 1 \nFoundation 16K 1 \nKernel Alloc Once 32K 1 \nMALLOC 1.1G 95 \nMALLOC guard page 192K 10 \nMALLOC_MEDIUM (reserved) 704.0M 7 reserved VM address space (unallocated)\nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nOpenGL GLSL 256K 3 \nSTACK GUARD 56.4M 24 \nStack 20.2M 24 \nVM_ALLOCATE 5120K 122 \nAUTH 709K 182 \nAUTH_CONST 13.4M 349 \nCTF 824 1 \nDATA 5047K 365 \n__DATA_CONST 17.6M 383 \nDATA_DIRTY 803K 120 \nFONT_DATA 2352 1 \nGLSLBUILTINS 5174K 1 \nLINKEDIT 812.2M 33 \n__OBJC_RO 66.3M 1 \nOBJC_RW 2011K 1 \n__TEXT 280.3M 399 \ndyld private memory 272K 2 \nmapped file 68.8M 21 \nshared memory 864K 14 \n=========== ======= ======= \nTOTAL 3.5G 2188 \nTOTAL, minus reserved VM space 2.4G 2188 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "logWritingSignature" : "2e22b5a2b091eafaca4994d4dd6c62f6c504127d", "trialInfo" : { "rollouts" : [ { "rolloutId" : "63582c5f8a53461413999550", "factorPackIds" : {

  },
  "deploymentId" : 240000002
},
{
  "rolloutId" : "62c751b6bcb0435c2153fe92",
  "factorPackIds" : {
    "SIRI_UNDERSTANDING_ASR_ASSISTANT" : "64f90ad90cac350e82935b7a",
    "SIRI_UNDERSTANDING_MORPHUN" : "64e514ddc83b9a3d50649ddc"
  },
  "deploymentId" : 240000342
}

], "experiments" : [

] } }

Model: MacBookPro17,1, BootROM 8422.121.1, proc 8:4:4 processors, 8 GB, SMC Graphics: Apple M1, Apple M1, Built-In Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online Memory Module: LPDDR4, Hynix AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Jan 12 2023 05:52:26 version 18.20.383.14.7.8.149 FWID 01-1469d19d Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en0 USB Device: USB31Bus USB Device: USB31Bus Thunderbolt Bus: MacBook Pro, Apple Inc. Thunderbolt Bus: MacBook Pro, Apple Inc. `

enginmanap commented 1 year ago

Oh man, I don't have access to an m1 Mac. It looks like a null pointer access issue, maybe failed new?

Windows is not on m1 right?

syedMohib44 commented 1 year ago

Oh man, I don't have access to an m1 Mac. It looks like a null pointer access issue, maybe failed new?

Windows is not on m1 right?

Ohh no thats why trying there as well though I got dangling reference error which I believe can be solved by -Wno.

syedMohib44 commented 1 year ago

If anybody getting error regarding OpenGL Reference on windows this is how it worked for me.

Install libraries using mysy2 terminal but after that when I tried to run this command

mkdir build && cd build && cmake ../ && cd ..

It failed with error OpenGL not found to overcome this issue I used this command in command line not mysy2 terminal

mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=g++ -DCMAKE_CC_COMPILER=gcc -DCMAKE_MAKE_PROGRAM=mingw32-make -G "MinGW Makefiles" ../ && cd ..

Just make sure to have path of bin for both cmake and mingw64 placed in windows system environment and cmake should be download sepratly from browser.

After this you need to run this inside mingw64 terminal and not msys2

cd build && mingw32-make && cp -a ../Data .

And after this it should start building if you get any error like -Wdangling-reference: error you can put -Wno-error=dangling-reference in CMakeLists.txt inside IF(WIN32) condition line number might be 22.

enginmanap commented 1 year ago

Do you get dangling references? I would like to fix them

syedMohib44 commented 1 year ago

Yeah it actually came when I build I can share the log I guess can navigate 💯

enginmanap commented 1 year ago

yes please. I would like to take a look.

enginmanap commented 12 months ago

Hey man, I managed to check it. It is wholly an assimp issue. I am going to look into it, but in the meantime, you can use a system build version by changing variable LIBS_EXTERNAL_ASSIMP in cmakefile to on.

reglnk commented 11 months ago

The LIBS_EXTERNAL_ASSIMP flag forces cmake to look for library in custom provided paths. Otherwise (with disabled flag), if it's found in system libs, it will be used. If not, the library will be built from sources. I can say that 1st option (as I added it) probably won't help using system-provided lib. Or help, conversely, if assimp is forked, debugged and patched -- that's almost ideal use of the option.