0x0ade / ImGuiCS

Heavily modified fork of ImGui.NET + SDL2-CS, XNA and FNA samples
MIT License
7 stars 0 forks source link

Missing cimgui.dll mapping on Linux #9

Open se5a opened 6 years ago

se5a commented 6 years ago

"Use the native libraries from libs/x86 (32 bit) or libs/x64 (64 bit) instead. You could also ship both directories and create a .dll.config file for ImGuiCS.dll / SDL2-CS.dll that takes this into account."

Can you clarify this? I'm getting System.Dll not found exception on cimgui.dll in Monodevelop on linux Mint when I try debugrun the ImGuiSDL2CS-Example.
However I can see the above x64 libs in the project getting copied to the output directory. not sure what the problem is. Do I need to find that and compile it on linux?

0x0ade commented 6 years ago

At the moment, ImGuiCS only ships with the Windows version of cimgui. You'll need to compile and ship libcimgui.so 1.50 next to ImGuiCS.dll.

se5a commented 6 years ago

Ok so I git clone --recursive from here: https://github.com/Extrawurst/cimgui then make'd it which gave me a cimgui.so, which I'm assuming you meant. I stuck that in the ImGui lib folder, and made it content/copy if newer.

~~however now when I try run the ImGuiSDL2CS-Example it throws errors The type or namespace name 'ImGuiTextFilter' could not be found (are you missing a using directive or an assembly reference?) (CS0246) (ImGuiCS) in the ImGuiSDL2CS project. Though I can clearly see that ImGuiTextFilter struct exists and is in the same namespace.~~ Duh, somehow ImGuiTextFilter.cs had gotten set to content/copy instead of compile.

However I'm still getting the dll not found exception on cimgui so I'm obviously still missing something with that.

0x0ade commented 6 years ago

I assumed that the Linux library prefixes lib to the filename. Seems like I'll need to create an ImGuiCS.dll.config file for Linux.

In the meantime, can you please try the following ImGuiCS.dll.config?

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <dllmap dll="cimgui" os="windows" target="cimgui.dll"/>
    <dllmap dll="cimgui" os="linux" target="cimgui.so"/>
</configuration>
se5a commented 6 years ago

Here's what I've got: imguics dll configpic

This is the stack trace:

System.DllNotFoundException: cimgui
  at at (wrapper managed-to-native) ImGuiNET.ImGuiNative.ImGuiTextFilter_Init(ImGuiNET.ImGuiTextFilter*,char*)
  at ImGuiNET.ImGuiTextFilter.Init (System.String defaultFilter) [0x0000d] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiCS/src/ImGuiTextFilter.cs:33
  at ImGuiNET.FileDialog+Internal..ctor () [0x00042] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiCS/src/FileDialog.Internal.cs:290
  at ImGuiNET.FileDialog..ctor (System.Boolean noKnownDirectoriesSection, System.Boolean noCreateDirectorySection, System.Boolean noFilteringSection, System.Boolean detectKnownDirectoriesAtEachOpening, System.Boolean addDisplayByOption, System.Boolean dontFilterSaveFilePathsEnteredByTheUser) [0x00007] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiCS/src/FileDialog.cs:24
  at YourGameNamespace.YourGameWindow..ctor () [0x0000b] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/src/YourGameWindow.cs:15
  at ImGuiSDL2CS.Example.Program.Main (System.String[] args) [0x00035] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/src/Program.cs:22

This is the application output:


Loaded assembly: /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/ImGuiSDL2CS.dll
Loaded assembly: /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll [External]
Loaded assembly: /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/SDL2-CS.dll
Loaded assembly: /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/ImGuiCS.dll

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at ImGuiNET.TextInputBuffer.DisposeBuffers (ImGuiNET.TextInputBuffer[] buffers) [0x0001e] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiCS/src/TextInputBuffer.cs:99 
  at YourGameNamespace.YourGameWindow.Dispose (System.Boolean disposing) [0x00001] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/src/YourGameWindow.cs:45 
  at ImGuiSDL2CS.SDL2Window.Finalize () [0x00002] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS/src/SDL2Window.cs:159 
  at ImGuiSDL2CS.ImGuiSDL2CSWindow.Finalize () [0x0000c] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS/src/ImGuiSDL2CSWindow.cs:150 ```
0x0ade commented 6 years ago

Can you please retry the test with dll="cimgui" instead of dll="cimgui.dll"?

se5a commented 6 years ago

Same result.

0x0ade commented 6 years ago

I'll get my Linux environment up and running and debug it next week. Sorry for the delay :/

se5a commented 6 years ago

Thanks, it looks like the SDL2-CS.dll.config references them as .dll as the first try so that is likely correct.

Yesterday while throwing random things at it to see what would stick I managed to get some different results by: renamed the cimgui.so to libcimgui.so, and got this result:

System.EntryPointNotFoundException: ImGuiTextFilter_Init
  at at (wrapper managed-to-native) ImGuiNET.ImGuiNative.ImGuiTextFilter_Init(ImGuiNET.ImGuiTextFilter*,char*)
  at ImGuiNET.ImGuiTextFilter.Init (System.String defaultFilter) [0x0000d] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiCS/src/ImGuiTextFilter.cs:33
  at ImGuiNET.FileDialog+Internal..ctor () [0x00042] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiCS/src/FileDialog.Internal.cs:290
  at ImGuiNET.FileDialog..ctor (System.Boolean noKnownDirectoriesSection, System.Boolean noCreateDirectorySection, System.Boolean noFilteringSection, System.Boolean detectKnownDirectoriesAtEachOpening, System.Boolean addDisplayByOption, System.Boolean dontFilterSaveFilePathsEnteredByTheUser) [0x00007] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiCS/src/FileDialog.cs:24
  at YourGameNamespace.YourGameWindow..ctor () [0x0000b] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/src/YourGameWindow.cs:15
  at ImGuiSDL2CS.Example.Program.Main (System.String[] args) [0x00035] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/src/Program.cs:22

so there seems to be something looking for libcimgui.so though I don't see what.

I also had a look around and found this project https://github.com/Catchouli/tyke which also uses cimgui and followed the instructions there to get libcimgui.so and tried that one, MonoDevelop didn't break at an exception, but ImGuiCS example just closed and this was the application output:

Loaded assembly: /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/ImGuiSDL2CS-Example.exe
Loaded assembly: /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/ImGuiSDL2CS.dll
Loaded assembly: /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll [External]
Loaded assembly: /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/SDL2-CS.dll
Loaded assembly: /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/ImGuiCS.dll
Loaded assembly: /usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll [External]
Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) ImGuiNET.ImGuiNative.ImFontAtlas_AddFontDefault (ImGuiNET.NativeImFontAtlas*,intptr) [0x0000a] in <52d9a8e6719c4918830bfc98d6922dc2>:0
  at ImGuiNET.ImGuiNative.ImFontAtlas_AddFontDefault (ImGuiNET.NativeImFontAtlas*) [0x00001] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiCS/src/ImGuiNative.cs:792
  at ImGuiNET.ImFontAtlas.AddDefaultFont () [0x00001] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiCS/src/ImFontAtlas.cs:47
  at ImGuiSDL2CS.ImGuiSDL2CSHelper.Init () [0x001bd] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS/src/ImGuiSDL2CSHelper.cs:48
  at ImGuiSDL2CS.ImGuiSDL2CSWindow..ctor (string,int,int,int,int,SDL2.SDL/SDL_WindowFlags) [0x00059] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS/src/ImGuiSDL2CSWindow.cs:49
  at YourGameNamespace.YourGameWindow..ctor () [0x0004f] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/src/YourGameWindow.cs:18
  at ImGuiSDL2CS.Example.Program.Main (string[]) [0x00035] in /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/src/Program.cs:22
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x00051] in <78e6b9389dfc4cc5bbde1f8d8a498c3a>:0
/proc/self/maps:
00400000-00809000 r-xp 00000000 103:02 25298176                          /usr/bin/mono-sgen
00a08000-00a09000 r--p 00408000 103:02 25298176                          /usr/bin/mono-sgen
00a09000-00a0d000 rw-p 00409000 103:02 25298176                          /usr/bin/mono-sgen
00a0d000-00a24000 rw-p 00000000 00:00 0 
014e6000-01ad3000 rw-p 00000000 00:00 0                                  [heap]
409c1000-409e1000 rwxp 00000000 00:00 0 
411c6000-411c8000 r-xs 00000000 103:02 7996280                           /tmp/.glt64dyG (deleted)
41936000-41946000 rwxp 00000000 00:00 0 
41bbe000-41c5f000 rw-p 00000000 00:00 0 
7f54d35a4000-7f54d3624000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54d3624000-7f54d36a4000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54d36a4000-7f54d3724000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54d3724000-7f54d3824000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54d38bd000-7f54d39b5000 r--p 00000000 103:02 25429565                  /usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
7f54d39b5000-7f54d39c5000 r-xp 00000000 103:02 25297474                  /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f54d39c5000-7f54d3bc4000 ---p 00010000 103:02 25297474                  /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f54d3bc4000-7f54d3bc5000 r--p 0000f000 103:02 25297474                  /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f54d3bc5000-7f54d3bc6000 rw-p 00010000 103:02 25297474                  /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0
7f54d3bc6000-7f54d4c9d000 r-xp 00000000 103:02 25318785                  /usr/lib/nvidia-396/libnvidia-glcore.so.396.18
7f54d4c9d000-7f54d4cbe000 rwxp 010d7000 103:02 25318785                  /usr/lib/nvidia-396/libnvidia-glcore.so.396.18
7f54d4cbe000-7f54d51f2000 r-xp 010f8000 103:02 25318785                  /usr/lib/nvidia-396/libnvidia-glcore.so.396.18
7f54d51f2000-7f54d53f2000 ---p 0162c000 103:02 25318785                  /usr/lib/nvidia-396/libnvidia-glcore.so.396.18
7f54d53f2000-7f54d56f4000 rw-p 0162c000 103:02 25318785                  /usr/lib/nvidia-396/libnvidia-glcore.so.396.18
7f54d56f4000-7f54d570d000 rw-p 00000000 00:00 0 
7f54d570d000-7f54d5710000 r-xp 00000000 103:02 25318794                  /usr/lib/nvidia-396/tls/libnvidia-tls.so.396.18
7f54d5710000-7f54d5910000 ---p 00003000 103:02 25318794                  /usr/lib/nvidia-396/tls/libnvidia-tls.so.396.18
7f54d5910000-7f54d5911000 rw-p 00003000 103:02 25318794                  /usr/lib/nvidia-396/tls/libnvidia-tls.so.396.18
7f54d5911000-7f54d59da000 r-xp 00000000 103:02 25302935                  /usr/lib/nvidia-396/libGL.so.396.18
7f54d59da000-7f54d5a0e000 rwxp 000c9000 103:02 25302935                  /usr/lib/nvidia-396/libGL.so.396.18
7f54d5a0e000-7f54d5a22000 r-xp 000fd000 103:02 25302935                  /usr/lib/nvidia-396/libGL.so.396.18
7f54d5a22000-7f54d5c22000 ---p 00111000 103:02 25302935                  /usr/lib/nvidia-396/libGL.so.396.18
7f54d5c22000-7f54d5c47000 rw-p 00111000 103:02 25302935                  /usr/lib/nvidia-396/libGL.so.396.18
7f54d5c47000-7f54d5c4e000 rw-p 00000000 00:00 0 
7f54d5c4e000-7f54d5c78000 r-xp 00000000 103:02 25303593                  /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.8
7f54d5c78000-7f54d5e77000 ---p 0002a000 103:02 25303593                  /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.8
7f54d5e77000-7f54d5e78000 r--p 00029000 103:02 25303593                  /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.8
7f54d5e78000-7f54d5e79000 rw-p 0002a000 103:02 25303593                  /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.8
7f54d5e79000-7f54d5e80000 r-xp 00000000 103:02 25306003                  /usr/lib/x86_64-linux-gnu/libogg.so.0.8.2
7f54d5e80000-7f54d6080000 ---p 00007000 103:02 25306003                  /usr/lib/x86_64-linux-gnu/libogg.so.0.8.2
7f54d6080000-7f54d6081000 r--p 00007000 103:02 25306003                  /usr/lib/x86_64-linux-gnu/libogg.so.0.8.2
7f54d6081000-7f54d6082000 rw-p 00008000 103:02 25306003                  /usr/lib/x86_64-linux-gnu/libogg.so.0.8.2
7f54d6082000-7f54d6094000 r-xp 00000000 103:02 26612175                  /lib/x86_64-linux-gnu/libgpg-error.so.0.17.0
7f54d6094000-7f54d6294000 ---p 00012000 103:02 26612175                  /lib/x86_64-linux-gnu/libgpg-error.so.0.17.0
7f54d6294000-7f54d6295000 r--p 00012000 103:02 26612175                  /lib/x86_64-linux-gnu/libgpg-error.so.0.17.0
7f54d6295000-7f54d6296000 rw-p 00013000 103:02 26612175                  /lib/x86_64-linux-gnu/libgpg-error.so.0.17.0
7f54d6296000-7f54d6304000 r-xp 00000000 103:02 26612260                  /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f54d6304000-7f54d6504000 ---p 0006e000 103:02 26612260                  /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f54d6504000-7f54d6505000 r--p 0006e000 103:02 26612260                  /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f54d6505000-7f54d6506000 rw-p 0006f000 103:02 26612260                  /lib/x86_64-linux-gnu/libpcre.so.3.13.2
7f54d6506000-7f54d651d000 r-xp 00000000 103:02 26617026                  /lib/x86_64-linux-gnu/libresolv-2.23.so
7f54d651d000-7f54d671d000 ---p 00017000 103:02 26617026                  /lib/x86_64-linux-gnu/libresolv-2.23.so
7f54d671d000-7f54d671e000 r--p 00017000 103:02 26617026                  /lib/x86_64-linux-gnu/libresolv-2.23.so
7f54d671e000-7f54d671f000 rw-p 00018000 103:02 26617026                  /lib/x86_64-linux-gnu/libresolv-2.23.so
7f54d671f000-7f54d6721000 rw-p 00000000 00:00 0 
7f54d6721000-7f54d67ae000 r-xp 00000000 103:02 25303262                  /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
7f54d67ae000-7f54d69ad000 ---p 0008d000 103:02 25303262                  /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
7f54d69ad000-7f54d69c9000 r--p 0008c000 103:02 25303262                  /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
7f54d69c9000-7f54d69ca000 rw-p 000a8000 103:02 25303262                  /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.11
7f54d69ca000-7f54d6a3d000 r-xp 00000000 103:02 25304885                  /usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0
7f54d6a3d000-7f54d6c3d000 ---p 00073000 103:02 25304885                  /usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0
7f54d6c3d000-7f54d6c3e000 r--p 00073000 103:02 25304885                  /usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0
7f54d6c3e000-7f54d6c3f000 rw-p 00074000 103:02 25304885                  /usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0
7f54d6c3f000-7f54d6c55000 r-xp 00000000 103:02 26612756                  /lib/x86_64-linux-gnu/libnsl-2.23.so
7f54d6c55000-7f54d6e54000 ---p 00016000 103:02 26612756                  /lib/x86_64-linux-gnu/libnsl-2.23.so
7f54d6e54000-7f54d6e55000 r--p 00015000 103:02 26612756                  /lib/x86_64-linux-gnu/libnsl-2.23.so
7f54d6e55000-7f54d6e56000 rw-p 00016000 103:02 26612756                  /lib/x86_64-linux-gnu/libnsl-2.23.so
7f54d6e56000-7f54d6e58000 rw-p 00000000 00:00 0 
7f54d6e58000-7f54d6f2f000 r-xp 00000000 103:02 26607867                  /lib/x86_64-linux-gnu/libgcrypt.so.20.0.5
7f54d6f2f000-7f54d712f000 ---p 000d7000 103:02 26607867                  /lib/x86_64-linux-gnu/libgcrypt.so.20.0.5
7f54d712f000-7f54d7130000 r--p 000d7000 103:02 26607867                  /lib/x86_64-linux-gnu/libgcrypt.so.20.0.5
7f54d7130000-7f54d7138000 rw-p 000d8000 103:02 26607867                  /lib/x86_64-linux-gnu/libgcrypt.so.20.0.5
7f54d7138000-7f54d7139000 rw-p 00000000 00:00 0 
7f54d7139000-7f54d715a000 r-xp 00000000 103:02 26612198                  /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f54d715a000-7f54d7359000 ---p 00021000 103:02 26612198                  /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f54d7359000-7f54d735a000 r--p 00020000 103:02 26612198                  /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f54d735a000-7f54d735b000 rw-p 00021000 103:02 26612198                  /lib/x86_64-linux-gnu/liblzma.so.5.0.0
7f54d735b000-7f54d737a000 r-xp 00000000 103:02 26612289                  /lib/x86_64-linux-gnu/libselinux.so.1
7f54d737a000-7f54d7579000 ---p 0001f000 103:02 26612289                  /lib/x86_64-linux-gnu/libselinux.so.1
7f54d7579000-7f54d757a000 r--p 0001e000 103:02 26612289                  /lib/x86_64-linux-gnu/libselinux.so.1
7f54d757a000-7f54d757b000 rw-p 0001f000 103:02 26612289                  /lib/x86_64-linux-gnu/libselinux.so.1
7f54d757b000-7f54d757d000 rw-p 00000000 00:00 0 
7f54d757d000-7f54d7582000 r-xp 00000000 103:02 25305052                  /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f54d7582000-7f54d7781000 ---p 00005000 103:02 25305052                  /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f54d7781000-7f54d7782000 r--p 00004000 103:02 25305052                  /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f54d7782000-7f54d7783000 rw-p 00005000 103:02 25305052                  /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7f54d7783000-7f54d7785000 r-xp 00000000 103:02 25305041                  /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f54d7785000-7f54d7985000 ---p 00002000 103:02 25305041                  /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f54d7985000-7f54d7986000 r--p 00002000 103:02 25305041                  /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f54d7986000-7f54d7987000 rw-p 00003000 103:02 25305041                  /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7f54d7987000-7f54d798c000 r-xp 00000000 103:02 25305138                  /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
7f54d798c000-7f54d7b8b000 ---p 00005000 103:02 25305138                  /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
7f54d7b8b000-7f54d7b8c000 r--p 00004000 103:02 25305138                  /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
7f54d7b8c000-7f54d7b8d000 rw-p 00005000 103:02 25305138                  /usr/lib/x86_64-linux-gnu/libasyncns.so.0.3.1
7f54d7b8d000-7f54d7bef000 r-xp 00000000 103:02 25303541                  /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
7f54d7bef000-7f54d7def000 ---p 00062000 103:02 25303541                  /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
7f54d7def000-7f54d7df1000 r--p 00062000 103:02 25303541                  /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
7f54d7df1000-7f54d7df2000 rw-p 00064000 103:02 25303541                  /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.25
7f54d7df2000-7f54d7df6000 rw-p 00000000 00:00 0 
7f54d7df6000-7f54d7dfe000 r-xp 00000000 103:02 26612317                  /lib/x86_64-linux-gnu/libwrap.so.0.7.6
7f54d7dfe000-7f54d7ffd000 ---p 00008000 103:02 26612317                  /lib/x86_64-linux-gnu/libwrap.so.0.7.6
7f54d7ffd000-7f54d7ffe000 r--p 00007000 103:02 26612317                  /lib/x86_64-linux-gnu/libwrap.so.0.7.6
7f54d7ffe000-7f54d7fff000 rw-p 00008000 103:02 26612317                  /lib/x86_64-linux-gnu/libwrap.so.0.7.6
7f54d7fff000-7f54d8000000 rw-p 00000000 00:00 0 
7f54d8000000-7f54d8021000 rw-p 00000000 00:00 0 
7f54d8021000-7f54dc000000 ---p 00000000 00:00 0 
7f54dc04e000-7f54dc153000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54dc153000-7f54dc1c7000 rw-p 00000000 00:00 0 
7f54dc1c7000-7f54dc1ce000 r-xp 00000000 103:02 25305425                  /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f54dc1ce000-7f54dc3cd000 ---p 00007000 103:02 25305425                  /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f54dc3cd000-7f54dc3ce000 r--p 00006000 103:02 25305425                  /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f54dc3ce000-7f54dc3cf000 rw-p 00007000 103:02 25305425                  /usr/lib/x86_64-linux-gnu/libffi.so.6.0.4
7f54dc3cf000-7f54dc3d4000 r-xp 00000000 103:02 25305056                  /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f54dc3d4000-7f54dc5d3000 ---p 00005000 103:02 25305056                  /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f54dc5d3000-7f54dc5d4000 r--p 00004000 103:02 25305056                  /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f54dc5d4000-7f54dc5d5000 rw-p 00005000 103:02 25305056                  /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7f54dc5d5000-7f54dc5de000 r-xp 00000000 103:02 25305074                  /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f54dc5de000-7f54dc7dd000 ---p 00009000 103:02 25305074                  /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f54dc7dd000-7f54dc7de000 r--p 00008000 103:02 25305074                  /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f54dc7de000-7f54dc7df000 rw-p 00009000 103:02 25305074                  /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7f54dc7df000-7f54dc800000 r-xp 00000000 103:02 25306461                  /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f54dc800000-7f54dc9ff000 ---p 00021000 103:02 25306461                  /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f54dc9ff000-7f54dca00000 r--p 00020000 103:02 25306461                  /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f54dca00000-7f54dca01000 rw-p 00021000 103:02 25306461                  /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7f54dca01000-7f54dca14000 r-xp 00000000 103:02 26612127                  /lib/x86_64-linux-gnu/libbsd.so.0.8.2
7f54dca14000-7f54dcc13000 ---p 00013000 103:02 26612127                  /lib/x86_64-linux-gnu/libbsd.so.0.8.2
7f54dcc13000-7f54dcc14000 r--p 00012000 103:02 26612127                  /lib/x86_64-linux-gnu/libbsd.so.0.8.2
7f54dcc14000-7f54dcc15000 rw-p 00013000 103:02 26612127                  /lib/x86_64-linux-gnu/libbsd.so.0.8.2
7f54dcc15000-7f54dcc16000 rw-p 00000000 00:00 0 
7f54dcc16000-7f54dcc60000 r-xp 00000000 103:02 26607853                  /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6
7f54dcc60000-7f54dce60000 ---p 0004a000 103:02 26607853                  /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6
7f54dce60000-7f54dce61000 r--p 0004a000 103:02 26607853                  /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6
7f54dce61000-7f54dce62000 rw-p 0004b000 103:02 26607853                  /lib/x86_64-linux-gnu/libdbus-1.so.3.14.6
7f54dce62000-7f54dcedc000 r-xp 00000000 103:02 25692106                  /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
7f54dcedc000-7f54dd0db000 ---p 0007a000 103:02 25692106                  /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
7f54dd0db000-7f54dd0dc000 r--p 00079000 103:02 25692106                  /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
7f54dd0dc000-7f54dd0dd000 rw-p 0007a000 103:02 25692106                  /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so
7f54dd0dd000-7f54dd0e7000 r-xp 00000000 103:02 26612190                  /lib/x86_64-linux-gnu/libjson-c.so.2.0.0
7f54dd0e7000-7f54dd2e6000 ---p 0000a000 103:02 26612190                  /lib/x86_64-linux-gnu/libjson-c.so.2.0.0
7f54dd2e6000-7f54dd2e7000 r--p 00009000 103:02 26612190                  /lib/x86_64-linux-gnu/libjson-c.so.2.0.0
7f54dd2e7000-7f54dd2e8000 rw-p 0000a000 103:02 26612190                  /lib/x86_64-linux-gnu/libjson-c.so.2.0.0
7f54dd2e8000-7f54dd325000 r-xp 00000000 103:02 25306467                  /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0.0.0
7f54dd325000-7f54dd524000 ---p 0003d000 103:02 25306467                  /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0.0.0
7f54dd524000-7f54dd526000 r--p 0003c000 103:02 25306467                  /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0.0.0
7f54dd526000-7f54dd527000 rw-p 0003e000 103:02 25306467                  /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0.0.0
7f54dd527000-7f54dd52b000 r-xp 00000000 103:02 25302988                  /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0.0.0
7f54dd52b000-7f54dd72a000 ---p 00004000 103:02 25302988                  /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0.0.0
7f54dd72a000-7f54dd72b000 r--p 00003000 103:02 25302988                  /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0.0.0
7f54dd72b000-7f54dd72f000 rw-p 00004000 103:02 25302988                  /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0.0.0
7f54dd72f000-7f54dd73b000 r-xp 00000000 103:02 25322136                  /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.3.0
7f54dd73b000-7f54dd93b000 ---p 0000c000 103:02 25322136                  /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.3.0
7f54dd93b000-7f54dd93d000 r--p 0000c000 103:02 25322136                  /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.3.0
7f54dd93d000-7f54dd93e000 rw-p 0000e000 103:02 25322136                  /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.3.0
7f54dd93e000-7f54dd93f000 r-xp 00000000 103:02 25298190                  /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1.0.0
7f54dd93f000-7f54ddb3e000 ---p 00001000 103:02 25298190                  /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1.0.0
7f54ddb3e000-7f54ddb3f000 r--p 00000000 103:02 25298190                  /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1.0.0
7f54ddb3f000-7f54ddb40000 rw-p 00001000 103:02 25298190                  /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1.0.0
7f54ddb40000-7f54ddb45000 r-xp 00000000 103:02 25305090                  /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f54ddb45000-7f54ddd44000 ---p 00005000 103:02 25305090                  /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f54ddd44000-7f54ddd45000 r--p 00004000 103:02 25305090                  /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f54ddd45000-7f54ddd46000 rw-p 00005000 103:02 25305090                  /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0
7f54ddd46000-7f54ddd48000 r-xp 00000000 103:02 25305076                  /usr/lib/x86_64-linux-gnu/libXss.so.1.0.0
7f54ddd48000-7f54ddf48000 ---p 00002000 103:02 25305076                  /usr/lib/x86_64-linux-gnu/libXss.so.1.0.0
7f54ddf48000-7f54ddf49000 r--p 00002000 103:02 25305076                  /usr/lib/x86_64-linux-gnu/libXss.so.1.0.0
7f54ddf49000-7f54ddf4a000 rw-p 00003000 103:02 25305076                  /usr/lib/x86_64-linux-gnu/libXss.so.1.0.0
7f54ddf4a000-7f54ddf54000 r-xp 00000000 103:02 25305072                  /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7f54ddf54000-7f54de153000 ---p 0000a000 103:02 25305072                  /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7f54de153000-7f54de154000 r--p 00009000 103:02 25305072                  /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7f54de154000-7f54de155000 rw-p 0000a000 103:02 25305072                  /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
7f54de155000-7f54de164000 r-xp 00000000 103:02 25305062                  /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7f54de164000-7f54de363000 ---p 0000f000 103:02 25305062                  /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7f54de363000-7f54de364000 r--p 0000e000 103:02 25305062                  /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7f54de364000-7f54de365000 rw-p 0000f000 103:02 25305062                  /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0
7f54de365000-7f54de367000 r-xp 00000000 103:02 25305064                  /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7f54de367000-7f54de566000 ---p 00002000 103:02 25305064                  /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7f54de566000-7f54de567000 r--p 00001000 103:02 25305064                  /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7f54de567000-7f54de568000 rw-p 00002000 103:02 25305064                  /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0
7f54de568000-7f54de571000 r-xp 00000000 103:02 25299821                  /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7f54de571000-7f54de770000 ---p 00009000 103:02 25299821                  /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7f54de770000-7f54de771000 r--p 00008000 103:02 25299821                  /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7f54de771000-7f54de772000 rw-p 00009000 103:02 25299821                  /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7f54de772000-7f54de783000 r-xp 00000000 103:02 25305054                  /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f54de783000-7f54de982000 ---p 00011000 103:02 25305054                  /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f54de982000-7f54de983000 r--p 00010000 103:02 25305054                  /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f54de983000-7f54de984000 rw-p 00011000 103:02 25305054                  /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7f54de984000-7f54deab9000 r-xp 00000000 103:02 25305037                  /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f54deab9000-7f54decb9000 ---p 00135000 103:02 25305037                  /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f54decb9000-7f54decba000 r--p 00135000 103:02 25305037                  /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f54decba000-7f54decbe000 rw-p 00136000 103:02 25305037                  /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7f54decbe000-7f54decca000 r-xp 00000000 103:02 25296993                  /usr/lib/x86_64-linux-gnu/libsndio.so.6.1
7f54decca000-7f54deeca000 ---p 0000c000 103:02 25296993                  /usr/lib/x86_64-linux-gnu/libsndio.so.6.1
7f54deeca000-7f54deecb000 r--p 0000c000 103:02 25296993                  /usr/lib/x86_64-linux-gnu/libsndio.so.6.1
7f54deecb000-7f54deecc000 rw-p 0000d000 103:02 25296993                  /usr/lib/x86_64-linux-gnu/libsndio.so.6.1
7f54deecc000-7f54deece000 rw-p 00000000 00:00 0 
7f54deece000-7f54def1c000 r-xp 00000000 103:02 25302342                  /usr/lib/x86_64-linux-gnu/libpulse.so.0.19.0
7f54def1c000-7f54df11c000 ---p 0004e000 103:02 25302342                  /usr/lib/x86_64-linux-gnu/libpulse.so.0.19.0
7f54df11c000-7f54df11d000 r--p 0004e000 103:02 25302342                  /usr/lib/x86_64-linux-gnu/libpulse.so.0.19.0
7f54df11d000-7f54df11e000 rw-p 0004f000 103:02 25302342                  /usr/lib/x86_64-linux-gnu/libpulse.so.0.19.0
7f54df11e000-7f54df217000 r-xp 00000000 103:02 25305128                  /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
7f54df217000-7f54df416000 ---p 000f9000 103:02 25305128                  /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
7f54df416000-7f54df41d000 r--p 000f8000 103:02 25305128                  /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
7f54df41d000-7f54df41e000 rw-p 000ff000 103:02 25305128                  /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0
7f54df41e000-7f54df525000 r-xp 00000000 103:02 25303805                  /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.4.0
7f54df525000-7f54df725000 ---p 00107000 103:02 25303805                  /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.4.0
7f54df725000-7f54df729000 r--p 00107000 103:02 25303805                  /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.4.0
7f54df729000-7f54df72d000 rw-p 0010b000 103:02 25303805                  /usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.4.0
7f54df72d000-7f54df731000 rw-p 00000000 00:00 0 
7f54df731000-7f54df8ad000 r-xp 00000000 103:02 25299707                  /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
7f54df8ad000-7f54dfaad000 ---p 0017c000 103:02 25299707                  /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
7f54dfaad000-7f54dfab7000 r--p 0017c000 103:02 25299707                  /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
7f54dfab7000-7f54dfab9000 rw-p 00186000 103:02 25299707                  /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.25
7f54dfab9000-7f54dfabd000 rw-p 00000000 00:00 0 
7f54dfabd000-7f54dfb50000 r-xp 00000000 08:01 29497388                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so
7f54dfb50000-7f54dfd4f000 ---p 00093000 08:01 29497388                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so
7f54dfd4f000-7f54dfd50000 r--p 00092000 08:01 29497388                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so
7f54dfd50000-7f54dfd56000 rw-p 00093000 08:01 29497388                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so
7f54dfd56000-7f54dfd5d000 rw-p 00000000 00:00 0 
7f54dfd5d000-7f54e0000000 r--p 00000000 103:02 25429564                  /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
7f54e0000000-7f54e0021000 rw-p 00000000 00:00 0 
7f54e0021000-7f54e4000000 ---p 00000000 00:00 0 
7f54e4022000-7f54e4032000 rwxp 00000000 00:00 0 
7f54e4032000-7f54e403b000 ---p 00000000 00:00 0 
7f54e403b000-7f54e4233000 rw-p 00000000 00:00 0 
7f54e4233000-7f54e423c000 ---p 00000000 00:00 0 
7f54e423c000-7f54e4434000 rw-p 00000000 00:00 0 
7f54e4434000-7f54e47ff000 r--p 00000000 103:02 25428264                  /usr/lib/mono/4.5/mscorlib.dll
7f54e47ff000-7f54e57ff000 rw-p 00000000 00:00 0 
7f54e57ff000-7f54e5800000 ---p 00000000 00:00 0 
7f54e5800000-7f54e6400000 rw-p 00000000 00:00 0 
7f54e640f000-7f54e6422000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54e6422000-7f54e6432000 rw-s 00000000 00:06 468                        /dev/nvidia0
7f54e6432000-7f54e6472000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54e6472000-7f54e6492000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54e6492000-7f54e64d2000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54e64d2000-7f54e64f2000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54e64f2000-7f54e6572000 r-xp 00000000 103:02 26607872                  /lib/x86_64-linux-gnu/libsystemd.so.0.14.0
7f54e6572000-7f54e6575000 r--p 0007f000 103:02 26607872                  /lib/x86_64-linux-gnu/libsystemd.so.0.14.0
7f54e6575000-7f54e6576000 rw-p 00082000 103:02 26607872                  /lib/x86_64-linux-gnu/libsystemd.so.0.14.0
7f54e6576000-7f54e6577000 rw-p 00000000 00:00 0 
7f54e6577000-7f54e684f000 r--p 00000000 103:02 25299709                  /usr/lib/locale/locale-archive
7f54e684f000-7f54e6a0f000 r-xp 00000000 103:02 26617022                  /lib/x86_64-linux-gnu/libc-2.23.so
7f54e6a0f000-7f54e6c0f000 ---p 001c0000 103:02 26617022                  /lib/x86_64-linux-gnu/libc-2.23.so
7f54e6c0f000-7f54e6c13000 r--p 001c0000 103:02 26617022                  /lib/x86_64-linux-gnu/libc-2.23.so
7f54e6c13000-7f54e6c15000 rw-p 001c4000 103:02 26617022                  /lib/x86_64-linux-gnu/libc-2.23.so
7f54e6c15000-7f54e6c19000 rw-p 00000000 00:00 0 
7f54e6c19000-7f54e6c30000 r-xp 00000000 103:02 26608809                  /lib/x86_64-linux-gnu/libgcc_s.so.1
7f54e6c30000-7f54e6e2f000 ---p 00017000 103:02 26608809                  /lib/x86_64-linux-gnu/libgcc_s.so.1
7f54e6e2f000-7f54e6e30000 r--p 00016000 103:02 26608809                  /lib/x86_64-linux-gnu/libgcc_s.so.1
7f54e6e30000-7f54e6e31000 rw-p 00017000 103:02 26608809                  /lib/x86_64-linux-gnu/libgcc_s.so.1
7f54e6e31000-7f54e6e49000 r-xp 00000000 103:02 26612997                  /lib/x86_64-linux-gnu/libpthread-2.23.so
7f54e6e49000-7f54e7048000 ---p 00018000 103:02 26612997                  /lib/x86_64-linux-gnu/libpthread-2.23.so
7f54e7048000-7f54e7049000 r--p 00017000 103:02 26612997                  /lib/x86_64-linux-gnu/libpthread-2.23.so
7f54e7049000-7f54e704a000 rw-p 00018000 103:02 26612997                  /lib/x86_64-linux-gnu/libpthread-2.23.so
7f54e704a000-7f54e704e000 rw-p 00000000 00:00 0 
7f54e704e000-7f54e7051000 r-xp 00000000 103:02 26617024                  /lib/x86_64-linux-gnu/libdl-2.23.so
7f54e7051000-7f54e7250000 ---p 00003000 103:02 26617024                  /lib/x86_64-linux-gnu/libdl-2.23.so
7f54e7250000-7f54e7251000 r--p 00002000 103:02 26617024                  /lib/x86_64-linux-gnu/libdl-2.23.so
7f54e7251000-7f54e7252000 rw-p 00003000 103:02 26617024                  /lib/x86_64-linux-gnu/libdl-2.23.so
7f54e7252000-7f54e7259000 r-xp 00000000 103:02 26617040                  /lib/x86_64-linux-gnu/librt-2.23.so
7f54e7259000-7f54e7458000 ---p 00007000 103:02 26617040                  /lib/x86_64-linux-gnu/librt-2.23.so
7f54e7458000-7f54e7459000 r--p 00006000 103:02 26617040                  /lib/x86_64-linux-gnu/librt-2.23.so
7f54e7459000-7f54e745a000 rw-p 00007000 103:02 26617040                  /lib/x86_64-linux-gnu/librt-2.23.so
7f54e745a000-7f54e7562000 r-xp 00000000 103:02 26612753                  /lib/x86_64-linux-gnu/libm-2.23.so
7f54e7562000-7f54e7761000 ---p 00108000 103:02 26612753                  /lib/x86_64-linux-gnu/libm-2.23.so
7f54e7761000-7f54e7762000 r--p 00107000 103:02 26612753                  /lib/x86_64-linux-gnu/libm-2.23.so
7f54e7762000-7f54e7763000 rw-p 00108000 103:02 26612753                  /lib/x86_64-linux-gnu/libm-2.23.so
7f54e7763000-7f54e7789000 r-xp 00000000 103:02 26612996                  /lib/x86_64-linux-gnu/ld-2.23.so
7f54e778b000-7f54e778d000 rw-s 00000000 103:02 7996280                   /tmp/.glt64dyG (deleted)
7f54e778d000-7f54e778e000 rw-p 00000000 00:00 0 
7f54e778e000-7f54e778f000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54e778f000-7f54e7793000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54e7793000-7f54e7794000 rw-s 00000000 00:06 468                        /dev/nvidia0
7f54e7794000-7f54e7795000 rw-s 00000000 00:06 468                        /dev/nvidia0
7f54e7795000-7f54e7796000 rw-s 00000000 00:06 468                        /dev/nvidia0
7f54e7796000-7f54e77d6000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54e77d6000-7f54e77f6000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54e77f6000-7f54e7800000 r--p 00000000 08:01 29498134                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/ImGuiCS.pdb
7f54e7800000-7f54e7819000 r--p 00000000 08:01 29498131                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/ImGuiCS.dll
7f54e7819000-7f54e7830000 r--p 00000000 08:01 29498133                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/SDL2-CS.dll
7f54e7830000-7f54e78b0000 rw-p 00000000 00:00 0 
7f54e78b0000-7f54e78b1000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54e78b1000-7f54e78b2000 rw-p 00000000 00:00 0 
7f54e78b2000-7f54e7911000 ---p 00000000 00:00 0 
7f54e7911000-7f54e7958000 rw-p 00000000 00:00 0 
7f54e7958000-7f54e7959000 rw-s 00000000 00:06 467                        /dev/nvidiactl
7f54e7959000-7f54e7960000 r--s 00000000 103:02 25703812                  /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
7f54e7960000-7f54e7962000 r--p 00000000 08:01 29498137                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/SDL2-CS.pdb
7f54e7962000-7f54e7964000 r--p 00000000 08:01 29498136                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/ImGuiSDL2CS.pdb
7f54e7964000-7f54e796b000 r--p 00000000 08:01 29498132                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/ImGuiSDL2CS.dll
7f54e796b000-7f54e796c000 r--p 00000000 08:01 29498144                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/ImGuiSDL2CS-Example.pdb
7f54e796c000-7f54e7979000 rw-p 00000000 00:00 0 
7f54e7979000-7f54e797c000 r--p 00000000 08:01 29498143                   /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/ImGuiSDL2CS-Example.exe
7f54e797c000-7f54e7980000 rw-p 00000000 00:00 0 
7f54e7980000-7f54e7981000 rw-s 00000000 00:18 22                         /dev/shm/mono.11189
7f54e7981000-7f54e7988000 rw-p 00000000 00:00 0 
7f54e7988000-7f54e7989000 r--p 00025000 103:02 26612996                  /lib/x86_64-linux-gnu/ld-2.23.so
7f54e7989000-7f54e798a000 rw-p 00026000 103:02 26612996                  /lib/x86_64-linux-gnu/ld-2.23.so
7f54e798a000-7f54e798b000 rw-p 00000000 00:00 0 
7ffdce809000-7ffdce811000 ---p 00000000 00:00 0 
7ffdcefe7000-7ffdcf008000 rw-p 00000000 00:00 0                          [stack]
7ffdcf154000-7ffdcf157000 r--p 00000000 00:00 0                          [vvar]
7ffdcf157000-7ffdcf159000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

Native stacktrace:

    /usr/bin/mono() [0x4b5a89]
    /usr/bin/mono() [0x545c56]
    /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so(+0x2d993) [0x7f54dfaea993]
    /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so(_ZN11ImFontAtlas36AddFontFromMemoryCompressedBase85TTFEPKcfPK12ImFontConfigPKt+0x6a) [0x7f54dfaeb042]
    /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so(_ZN11ImFontAtlas14AddFontDefaultEPK12ImFontConfig+0x126) [0x7f54dfaeab08]
    /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so(ImFontAtlas_AddFontDefault+0x23) [0x7f54dfb31672]
    [0x409d9b59]

Debug info from gdb:

[New LWP 11190]
[New LWP 11192]
[New LWP 11193]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0x00007f54e6e41f7b in __waitpid (pid=11197, stat_loc=0x7ffdcf003c1c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
29  ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
  Id   Target Id         Frame 
* 1    Thread 0x7f54e7952740 (LWP 11189) "mono" 0x00007f54e6e41f7b in __waitpid (pid=11197, stat_loc=0x7ffdcf003c1c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
  2    Thread 0x7f54e5fff700 (LWP 11190) "SGen worker" pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
  3    Thread 0x7f54e4433700 (LWP 11192) "Finalizer" 0x00007f54e6e40827 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0xa129e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
  4    Thread 0x7f54e4232700 (LWP 11193) "Debugger agent" 0x00007f54e6e4187f in __libc_recv (fd=3, buf=0x7f54e4231cf0, n=11, flags=0) at ../sysdeps/unix/sysv/linux/x86_64/recv.c:28

Thread 4 (Thread 0x7f54e4232700 (LWP 11193)):
#0  0x00007f54e6e4187f in __libc_recv (fd=3, buf=0x7f54e4231cf0, n=11, flags=0) at ../sysdeps/unix/sysv/linux/x86_64/recv.c:28
#1  0x00000000004e3dc5 in ?? ()
#2  0x00000000004e5ea3 in ?? ()
#3  0x00000000006179dc in ?? ()
#4  0x00007f54e6e386ba in start_thread (arg=0x7f54e4232700) at pthread_create.c:333
#5  0x00007f54e695641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f54e4433700 (LWP 11192)):
#0  0x00007f54e6e40827 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0xa129e0) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
#1  do_futex_wait (sem=sem@entry=0xa129e0, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007f54e6e408d4 in __new_sem_wait_slow (sem=0xa129e0, abstime=0x0) at sem_waitcommon.c:181
#3  0x00007f54e6e4097a in __new_sem_wait (sem=<optimized out>) at sem_wait.c:29
#4  0x00000000006569c7 in ?? ()
#5  0x00000000006179dc in ?? ()
#6  0x00007f54e6e386ba in start_thread (arg=0x7f54e4433700) at pthread_create.c:333
#7  0x00007f54e695641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f54e5fff700 (LWP 11190)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000000006b141f in ?? ()
#2  0x00007f54e6e386ba in start_thread (arg=0x7f54e5fff700) at pthread_create.c:333
#3  0x00007f54e695641d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f54e7952740 (LWP 11189)):
#0  0x00007f54e6e41f7b in __waitpid (pid=11197, stat_loc=0x7ffdcf003c1c, options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:29
#1  0x00000000004b5b66 in ?? ()
#2  0x0000000000545c56 in ?? ()
#3  0x00007f54dfaea993 in Decode85(unsigned char const*, unsigned char*) () from /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so
#4  0x00007f54dfaeb042 in ImFontAtlas::AddFontFromMemoryCompressedBase85TTF(char const*, float, ImFontConfig const*, unsigned short const*) () from /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so
#5  0x00007f54dfaeab08 in ImFontAtlas::AddFontDefault(ImFontConfig const*) () from /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so
#6  0x00007f54dfb31672 in ImFontAtlas_AddFontDefault () from /mnt/98448323-4372-4c8a-904a-30b587cc3685/Programing/ImGuiCS/ImGuiCS/ImGuiSDL2CS-Example/bin/Debug/libcimgui.so
#7  0x00000000409d9b59 in ?? ()
#8  0x00007f54e60034f0 in ?? ()
#9  0x0000000000000000 in ?? ()

=================================================================
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.
=================================================================

Tthese may be nothing but eh, I was trying different things just to see what would happen.

0x0ade commented 6 years ago

That seems like a cimgui version mismatch to me. You might have more luck with cimgui 1.50 built for ImGui.NET: https://github.com/mellinoe/ImGui.NET/blob/f75a26740ef32fe236ccad331bbca950347dd6a7/deps/cimgui/ubuntu.14.04-x64/cimgui.so

se5a commented 6 years ago

Renaming that one to libcimgui.so works. So what's pointing to libcimgui.so and why's the dll.config not work?

se5a commented 6 years ago

ok so I'm impressed with the example app. and with the lib itself from my 5min mess around in the example, simple stuff like double click text select and left and right arrows moving the cursor to the start/end when text is selected is something that many gui libraries that I've looked at don't bother to do. nice work.

0x0ade commented 6 years ago

ImGuiCS uses P/Invoke / DllImport to import functions from cimgui. This becomes to cimgui.dll on Windows and libcimgui.so on Linux (as per Mono documentation).

The .dll.config file would allow us to provide our own mapping: cimgui -> cimgui.so on Linux. I don't know why it's not working, though.

0x0ade commented 6 years ago

Thanks, but ImGuiCS just reuses the standard "dear imgui" example :)

By the way, I'm planning on updating ImGuiCS to "dear ImGui" / cimgui 1.60 soon-ish.

se5a commented 6 years ago

Ah of course. Well thanks for your help so far, I think I've got enough now to try getting it going with my own project. It's going to be a steep learning curve I suspect, I'm used to the wpf style of reactive ui rather than this, and have no SDL and very little lower level experience.

I'd say I wish I'd found this years ago, but it wasn't around then, there's more and more crossplatform ui libraries that'll work with C#/have wrappers coming out all the time now :)