Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Naitsirc98/Vulkan-Tutorial-Java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: sugurus/Vulkan-Tutorial-Java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Sep 17, 2024

  1. Update ModelLoader.java

    For avoiding segmentation fault, remove try statement for the scene loader
    
    The segmentation fault happened at the very end of ModelLoader#loadModel()
    
    from log
    ---------------  T H R E A D  ---------------
    
    Current thread (0x00007f72ac02c430):  JavaThread "main"             [_thread_in_native, id=1189248, stack(0x0
    0007f72b2a21000,0x00007f72b2b21000) (1024K)]
    
    Stack: [0x00007f72b2a21000,0x00007f72b2b21000],  sp=0x00007f72b2b1f460,  free space=1017k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [libjemalloc.so+0x15645]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  org.lwjgl.system.JNI.invokePV(JJ)V+0
    j  org.lwjgl.system.jemalloc.JEmalloc.nje_free(J)V+6
    j  org.lwjgl.system.jemalloc.JEmallocAllocator.free(J)V+1
    j  org.lwjgl.system.MemoryUtil.nmemFree(J)V+4
    j  org.lwjgl.system.Struct.free()V+4
    j  org.lwjgl.system.NativeResource.close()V+1
    j  javavulkantutorial.ModelLoader.loadModel(Ljava/io/File;I)Ljavavulkantutorial/ModelLoader$Model;+118
    j  javavulkantutorial.Ch29Multisampling$HelloTriangleApplication.loadModel()V+24
    j  javavulkantutorial.Ch29Multisampling$HelloTriangleApplication.initVulkan()V+37
    j  javavulkantutorial.Ch29Multisampling$HelloTriangleApplication.run()V+5
    j  javavulkantutorial.Ch29Multisampling.main([Ljava/lang/String;)V+9
    v  ~StubRoutines::call_stub 0x00007f729bd37cc6
    
    siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x000000000016a150
    sugurus authored Sep 17, 2024
    Configuration menu
    Copy the full SHA
    9b360d1 View commit details
    Browse the repository at this point in the history
Loading