Skip to content

Added stack trace info for windows builds#2062

Open
darko1979 wants to merge 2 commits intonullptrlabs:developfrom
darko1979:windows_stack_trace
Open

Added stack trace info for windows builds#2062
darko1979 wants to merge 2 commits intonullptrlabs:developfrom
darko1979:windows_stack_trace

Conversation

@darko1979
Copy link

Currently there is no stack trace information when pgmodeler crashes, with this update stack trace will output something like this:

** pgModeler crashed after receive signal: 11 **

Date/Time: 2026-03-13 11:43:19 
Version: 2.0.0-alpha1 
Build: 20260313.20260313 
Compilation Qt version: 6.10.1
Running Qt version: 6.10.1

Executable: C:\pgmodeler-2.0.0-alpha1\pgmodeler.exe

[25] pgmodeler.exe+0x6622
[24] ntdll.dll+0x8ce46
[23] ntdll.dll+0xa296f
[22] ntdll.dll+0x52554
[21] ntdll.dll+0xa147e
[20] libcore.dll+0x1d050
[19] libcore.dll+0x1190b
[18] libcore.dll+0x6d27d
[17] libcore.dll+0x6c639
[16] libcore.dll+0x6d8cd
[15] Qt6Core.dll+0xd8a50
[14] Qt6Widgets.dll+0x6058
[13] pgmodeler.exe+0x53ef
[12] Qt6Core.dll+0x91b38
[11] Qt6Core.dll+0x9587c
[10] Qt6Gui.dll+0x4769d2
[9] Qt6Core.dll+0x26d17d
[8] Qt6Gui.dll+0x4769a9
[7] Qt6Core.dll+0x9df75
[6] Qt6Core.dll+0x9b5b2
[5] pgmodeler.exe+0x26b8
[4] pgmodeler.exe+0x6d6a
[3] pgmodeler.exe+0x10d9
[2] pgmodeler.exe+0x1436
[1] KERNEL32.DLL+0x17374
[0] ntdll.dll+0x4cc91

If file addr2line.exe from mingw64 is located in same folder as pgmodeler.exe then it can be used to extract additional error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant