raddebugger icon indicating copy to clipboard operation
raddebugger copied to clipboard

got an error while debugging on linux

Open Abhinavpatel00 opened this issue 1 month ago • 2 comments

./build/raddbg
[OpenGL] GL_INVALID_VALUE in glScissor
[OpenGL] GL_INVALID_VALUE in glScissor
[OpenGL] GL_INVALID_VALUE in glScissor
[OpenGL] GL_INVALID_VALUE in glScissor
[OpenGL] GL_INVALID_VALUE in glScissor
[OpenGL] GL_INVALID_VALUE in glScissor
[OpenGL] GL_INVALID_VALUE in glScissor
A fatal signal was received: Illegal instruction (4). The process is terminating.
Create a new issue with this report at https://github.com/EpicGamesExt/raddebugger/issues.

Callstack:
1. [0x000055b839e04fca] raddbg, lnx_signal_handler os_core_linux.c:1406:7
2. [0x00007f534d83e540] libc.so.6 
3. [0x000055b839e6d723] raddbg, dmn_lnx_rdebug_vaddr_from_memory demon_core_linux.c:548:5
4. [0x000055b839e6b50f] raddbg, dmn_ctrl_launch demon_core_linux.c:1673:31
5. [0x000055b839e3c8ae] raddbg, ctrl_thread__launch ctrl_core.c:5004:7
6. [0x000055b839e3aa4c] raddbg, ctrl_thread__entry_point ctrl_core.c:3502:99
7. [0x000055b839e2cc7c] raddbg, supplement_thread_base_entry_point base_entry_point.c:154:16
8. [0x000055b839e2cc39] raddbg, os_lnx_thread_entry_point os_core_linux.c:127:3
9. [0x00007f534d8969cb] libc.so.6, start_thread pthread_create.c:448:8
10. [0x00007f534d91aa0c] libc.so.6, __GI___clone3 clone3.S:80:0

Version: 0.9.25 [08642d2]

for context i was debugging this simple program compiled with clang -ggdb main.c -o main

#include <stdio.h>
#define OK 10

int main()
{
   int i   = 0;
   int sum = 0;
   for (i = 1; i <= OK; i++)
   {
	  sum += i;
   }
   printf("%d\n", sum);
   return 0;
}

i will be happy to contribute if some little guidance is provided , thank you for awesome debugger it looks really nice

Abhinavpatel00 avatar Nov 11 '25 04:11 Abhinavpatel00

Linux is not supported yet. We’re working on the port but it’s not ready yet.

On Mon, Nov 10, 2025 at 8:10 PM Abhinavpatel @.***> wrote:

Abhinavpatel00 created an issue (EpicGamesExt/raddebugger#683) https://github.com/EpicGamesExt/raddebugger/issues/683

./build/raddbg [OpenGL] GL_INVALID_VALUE in glScissor [OpenGL] GL_INVALID_VALUE in glScissor [OpenGL] GL_INVALID_VALUE in glScissor [OpenGL] GL_INVALID_VALUE in glScissor [OpenGL] GL_INVALID_VALUE in glScissor [OpenGL] GL_INVALID_VALUE in glScissor [OpenGL] GL_INVALID_VALUE in glScissor A fatal signal was received: Illegal instruction (4). The process is terminating. Create a new issue with this report at https://github.com/EpicGamesExt/raddebugger/issues.

Callstack:

  1. [0x000055b839e04fca] raddbg, lnx_signal_handler os_core_linux.c:1406:7
  2. [0x00007f534d83e540] libc.so.6
  3. [0x000055b839e6d723] raddbg, dmn_lnx_rdebug_vaddr_from_memory demon_core_linux.c:548:5
  4. [0x000055b839e6b50f] raddbg, dmn_ctrl_launch demon_core_linux.c:1673:31
  5. [0x000055b839e3c8ae] raddbg, ctrl_thread__launch ctrl_core.c:5004:7
  6. [0x000055b839e3aa4c] raddbg, ctrl_thread__entry_point ctrl_core.c:3502:99
  7. [0x000055b839e2cc7c] raddbg, supplement_thread_base_entry_point base_entry_point.c:154:16
  8. [0x000055b839e2cc39] raddbg, os_lnx_thread_entry_point os_core_linux.c:127:3
  9. [0x00007f534d8969cb] libc.so.6, start_thread pthread_create.c:448:8
  10. [0x00007f534d91aa0c] libc.so.6, __GI___clone3 clone3.S:80:0

Version: 0.9.25 [08642d2]

for context i was debugging this simple program compiled with clang -ggdb main.c -o main

#include <stdio.h> #define OK 10

int main() { int i = 0; int sum = 0; for (i = 1; i <= OK; i++) { sum += i; } printf("%d\n", sum); return 0; }

i will be happy to contribute if some little guidance is provided , thank you for awesome debugger it looks really nice

— Reply to this email directly, view it on GitHub https://github.com/EpicGamesExt/raddebugger/issues/683, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC7ASGIFZPTJJJK5U3HCGOL34FOUTAVCNFSM6AAAAACLXK32DKVHI2DSMVQWIX3LMV43ASLTON2WKOZTGYYTANRRGA4TQNI . You are receiving this because you are subscribed to this thread.Message ID: @.***>

ryanfleury avatar Nov 11 '25 04:11 ryanfleury

Linux is not supported yet. We’re working on the port but it’s not ready yet.

yep i know i saw your tweet and thought to give it a try again for some small sample although i haven't worked with debuggers much , but i would to happy to help on some stuff to make linux port possible soon ,

Abhinavpatel00 avatar Nov 11 '25 06:11 Abhinavpatel00