palaashjain commented on PR #485:
URL: https://github.com/apache/guacamole-server/pull/485#issuecomment-2894829720
Hi, after building the final committed code using msys mingw64 shell
according to the steps mentioned in windows build yaml file and running it, I
get this error
RDPGFX channel will be used for the RDP Graphics Pipeline Extension.
Server resized display to 1396x654
Render planning phase 1/5 (draft): 0ms
Render planning phase 2/5 (rects): 0ms
Render planning phase 3/5 (search): 0ms
Render planning phase 4/5 (combine): 0ms
Render planning phase 5/5 (commit): 2ms
Thread 8 received signal SIGSEGV, Segmentation fault.
[Switching to Thread 12292.0x3960]
0x00007ffa34a638b5 in ?? () from C:\msys64\mingw64\bin\libwinpthread-1.dll
(gdb) bt
#0 0x00007ffa34a638b5 in ?? () from
C:\msys64\mingw64\bin\libwinpthread-1.dll
#1 0x00007ff9cb6e1f29 in guac_client_alloc_stream () from
C:\msys64\mingw64\bin\libguac-24.dll
#2 0x00007ff9cb6e3165 in guac_client_stream_png () from
C:\msys64\mingw64\bin\libguac-24.dll
#3 0x00007ff9cb6e9002 in guac_display_worker_thread () from
C:\msys64\mingw64\bin\libguac-24.dll
#4 0x00007ffa34a666fb in ?? () from
C:\msys64\mingw64\bin\libwinpthread-1.dll
#5 0x00007ffa450df0ad in msvcrt!_beginthreadex () from
C:\WINDOWS\System32\msvcrt.dll
#6 0x00007ffa450df17c in msvcrt!_endthreadex () from
C:\WINDOWS\System32\msvcrt.dll
#7 0x00007ffa453ce8d7 in KERNEL32!BaseThreadInitThunk () from
C:\WINDOWS\System32\kernel32.dll
#8 0x00007ffa45fdc5dc in ntdll!RtlUserThreadStart () from
C:\WINDOWS\SYSTEM32\ntdll.dll
#9 0x0000000000000000 in ?? ()
Using this simple socket code and connecting to it using guacamole client
1.5.5 running in docker,
guac_socket* socket = guac_socket_open_wsa(connection);
guac_parser* parser = guac_parser_alloc();
printf("Accepted connection. Waiting for select...\n");
/* Wait for select */
if (guac_parser_expect(parser, socket, 15000000, "select")) {
printf("\"select\" not read: %s %d\n", guac_error_message,
WSAGetLastError());
return 1;
}
guac_client* client = guac_client_alloc();
client->log_handler = my_logging_handler;
if(guac_client_load_plugin(client, "rdp")) {
printf("protocol loading failed\n");
return 1;
}
/* Validate select length */
if (parser->argc != 1) {
printf("\"select\" had wrong number of arguments.\n");
return 1;
}
guac_user* user = guac_user_alloc();
user->owner = 1;
user->client = client;
user->socket = socket;
guac_user_handle_connection(user, 150000000);
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]