Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing text and segfault #140

Closed
meosborne opened this issue Oct 10, 2011 · 11 comments
Closed

Missing text and segfault #140

meosborne opened this issue Oct 10, 2011 · 11 comments
Milestone

Comments

@meosborne
Copy link
Contributor

With current git using remoteapp to 2008R2, the program starts ok, but various buttons that should have "ghosted" text are blank and xfreerdp segfaults as soon as I try to actually do anything. I get the same behavior with --gdi software or hw.

When using a complete desktop the font problem still occurs, but the segfault does not.

@awakecoding
Copy link
Member

@meosborne: did this appear after yesterday's commits? try using --gdi sw with --no-bmp-cache to get the previous graphical rendering and see if it changes anything.

@meosborne
Copy link
Contributor Author

Just using --no-bmp-cache (without the --gdi sw) fixes the missing fonts. However the segfault still occurs.

@meosborne meosborne reopened this Oct 10, 2011
@awakecoding
Copy link
Member

@meosborne: for the missing fonts, do you have a particular failure case I could attempt to reproduce?

as for the segfault, could you compile with #define WITH_DEBUG_ORDERS 1 in orders.h and see what is the last graphical order before the segfault?

@meosborne
Copy link
Contributor Author

Done. Here ya go:
OpaqueRect Primary Drawing Order (0x0A)
OpaqueRect Primary Drawing Order (0x0A)
OpaqueRect Primary Drawing Order (0x0A)
OpaqueRect Primary Drawing Order (0x0A)
OpaqueRect Primary Drawing Order (0x0A)
MultiOpaqueRect Primary Drawing Order (0x12)
Windowing Alternate Secondary Drawing Order (0x0B)
Windowing Alternate Secondary Drawing Order (0x0B)

On Mon, 2011-10-10 at 07:38 -0700, Marc-André Moreau wrote:

#define WITH_DEBUG_ORDERS 1

Michael

@awakecoding
Copy link
Member

@meosborne: since this is RemoteApp, can you tell me which application you were running, and what was the last action you performed before it crashed? The two last messages are RemoteApp-specific. If you have a way to make it a crash everytime it would be perfect, so I could reproduce it.

@awakecoding
Copy link
Member

@meosborne: I think I found what the source of the problem was for the missing text: the server sends a mem3blt message for text that is grayed out. since it was unimplemented I just disabled it.

@awakecoding
Copy link
Member

I have fixed major problems with the bitmap and offscreen bitmap caches today, can you try again and tell me if the original problem is gone?

@meosborne
Copy link
Contributor Author

The missing text problem is solved, but I still a segfault under remoteapp. The program main screen appears and it pops up a small window for a login. I can fill in this window and login and the program attempts to redraw the background of the main window. The login window disappears and then background turns black and then I get a segfault. The background should be a picture of the company logo.

@meosborne
Copy link
Contributor Author

still get segfault using remoteapp with current git.

@awakecoding
Copy link
Member

Can you compile using WITH_DEBUG_RAIL? I never could reproduce the issue

@meosborne
Copy link
Contributor Author

Done. Here's the output:
loading plugin rail
connected to fs5:3389
DBG_GDI gdi_bitmap_new_ex (409): gdi_bitmap_new: width:1440 height:900 bpp:16
DBG_GDI gdi_bitmap_new_ex (409): gdi_bitmap_new: width:64 height:64 bpp:32
DBG_GDI gdi_bitmap_new_ex (409): gdi_bitmap_new: width:64 height:64 bpp:32
DBG_RAIL rail_order_recv (409): Received Handshake PDU, length:8
DBG_RAIL rail_send_pdu (115): Sending Handshake PDU, length:8
DBG_RAIL rail_send_pdu (115): Sending Client Status PDU, length:8
DBG_RAIL rail_send_pdu (115): Sending System Parameters Update PDU, length:18
DBG_RAIL rail_send_pdu (115): Sending System Parameters Update PDU, length:9
DBG_RAIL rail_send_pdu (115): Sending System Parameters Update PDU, length:9
DBG_RAIL rail_send_pdu (115): Sending System Parameters Update PDU, length:9
DBG_RAIL rail_send_pdu (115): Sending System Parameters Update PDU, length:9
DBG_RAIL rail_send_pdu (115): Sending System Parameters Update PDU, length:16
DBG_RAIL rail_send_pdu (115): Sending Execute PDU, length:22
DBG_RAIL rail_order_recv (409): Received System Parameters Update PDU, length:9
DBG_RAIL rail_order_recv (409): Received System Parameters Update PDU, length:9
DBG_RAIL rail_order_recv (409): Received Execute Result PDU, length:26
DBG_RAIL window_state_update (143): ownerWindowId:0x0001004E
DBG_RAIL window_state_update (147): windowId=0x1006C ownerWindowId=0x1004E
Window Styles:
{
WS_SYSMENU
}
Extended Window Styles:
{
WS_EX_APPWINDOW
WS_EX_TOOLWINDOW
}
DBG_RAIL window_state_update (163): ShowState:0
DBG_RAIL window_state_update (183): Client Area Offset: (582, 363)
DBG_RAIL window_state_update (192): Client Area Size: (275, 190)
DBG_RAIL window_state_update (211): Window Offset: (579, 344)
DBG_RAIL window_state_update (220): Window Client Delta: (3, 19)
DBG_RAIL window_state_update (229): Window Size: (281, 212)
DBG_RAIL window_state_update (256): Window Visible Offset: (579, 344)
DBG_RAIL window_state_update (273): Visibility Rect #0: left:0 top:0 right:281 bottom:212
DBG_RAIL window_state_update (143): ownerWindowId:0x00000000
DBG_RAIL window_state_update (147): windowId=0x1004E ownerWindowId=0x0
Window Styles:
{
WS_BORDER
WS_CAPTION
WS_CLIPCHILDREN
WS_CLIPSIBLINGS
WS_DLGFRAME
WS_GROUP
WS_MAXIMIZE
WS_MAXIMIZEBOX
WS_MINIMIZEBOX
WS_OVERLAPPEDWINDOW
WS_SIZEBOX
WS_SYSMENU
WS_TABSTOP
WS_THICKFRAME
WS_VISIBLE
}
Extended Window Styles:
{
WS_EX_APPWINDOW
WS_EX_CONTROLPARENT
WS_EX_WINDOWEDGE
}
DBG_RAIL window_state_update (163): ShowState:3
DBG_RAIL window_state_update (183): Client Area Offset: (0, 50)
DBG_RAIL window_state_update (192): Client Area Size: (1016, 741)
DBG_RAIL window_state_update (211): Window Offset: (-4, 27)
DBG_RAIL window_state_update (220): Window Client Delta: (4, 23)
DBG_RAIL window_state_update (229): Window Size: (1024, 768)
DBG_RAIL window_state_update (256): Window Visible Offset: (0, 27)
DBG_RAIL window_state_update (273): Visibility Rect #0: left:0 top:0 right:1020 bottom:317
DBG_RAIL window_state_update (273): Visibility Rect #1: left:0 top:317 right:579 bottom:529
DBG_RAIL window_state_update (273): Visibility Rect #2: left:860 top:317 right:1020 bottom:529
DBG_RAIL window_state_update (273): Visibility Rect #3: left:0 top:529 right:1020 bottom:768
DBG_RAIL rail_send_pdu (115): Sending System Command PDU, length:10
DBG_RAIL rail_send_pdu (115): Sending Activate PDU, length:9
DBG_RAIL rail_send_pdu (115): Sending System Command PDU, length:10
DBG_RAIL window_state_update (147): windowId=0x1006C ownerWindowId=0x1004E
Window Styles:
{
WS_BORDER
WS_CAPTION
WS_CLIPCHILDREN
WS_CLIPSIBLINGS
WS_DLGFRAME
WS_SYSMENU
WS_VISIBLE
}
Extended Window Styles:
{
WS_EX_APPWINDOW
WS_EX_CONTROLPARENT
WS_EX_TOOLWINDOW
WS_EX_WINDOWEDGE
}
DBG_RAIL window_state_update (163): ShowState:5
DBG_RAIL rail_WindowIcon (65): Window Icon: 32x32@16bpp cbBitsColor:2048 cbBitsMask:128 cbColorTable:0
DBG_RAIL rail_WindowIcon (65): Window Icon: 16x16@16bpp cbBitsColor:512 cbBitsMask:64 cbColorTable:0
DBG_RAIL window_state_update (147): windowId=0x1004E ownerWindowId=0x0
Window Styles:
{
WS_BORDER
WS_CAPTION
WS_CLIPCHILDREN
WS_CLIPSIBLINGS
WS_DLGFRAME
WS_GROUP
WS_MAXIMIZEBOX
WS_MINIMIZEBOX
WS_OVERLAPPEDWINDOW
WS_SIZEBOX
WS_SYSMENU
WS_TABSTOP
WS_THICKFRAME
WS_VISIBLE
}
Extended Window Styles:
{
WS_EX_APPWINDOW
WS_EX_CONTROLPARENT
WS_EX_WINDOWEDGE
}
DBG_RAIL window_state_update (163): ShowState:5
DBG_RAIL window_state_update (183): Client Area Offset: (4, 23)
DBG_RAIL window_state_update (192): Client Area Size: (1016, 726)
DBG_RAIL window_state_update (211): Window Offset: (0, 0)
DBG_RAIL window_state_update (229): Window Size: (1024, 753)
DBG_RAIL window_state_update (256): Window Visible Offset: (0, 0)
DBG_RAIL window_state_update (273): Visibility Rect #0: left:0 top:0 right:1024 bottom:344
DBG_RAIL window_state_update (273): Visibility Rect #1: left:0 top:344 right:579 bottom:556
DBG_RAIL window_state_update (273): Visibility Rect #2: left:860 top:344 right:1024 bottom:556
DBG_RAIL window_state_update (273): Visibility Rect #3: left:0 top:556 right:1024 bottom:753
DBG_RAIL rail_send_pdu (115): Sending Activate PDU, length:9
DBG_RAIL rail_send_pdu (115): Sending Activate PDU, length:9
DBG_RAIL rail_send_pdu (115): Sending Activate PDU, length:9
DBG_RAIL window_state_update (143): ownerWindowId:0x00000000
DBG_RAIL window_state_update (147): windowId=0x10082 ownerWindowId=0x0
Window Styles:
{
WS_CLIPSIBLINGS
WS_POPUP
WS_VISIBLE
}
Extended Window Styles:
{
WS_EX_TOOLWINDOW
}
DBG_RAIL window_state_update (163): ShowState:5
DBG_RAIL window_state_update (183): Client Area Offset: (0, 0)
DBG_RAIL window_state_update (192): Client Area Size: (0, 0)
DBG_RAIL window_state_update (211): Window Offset: (0, 0)
DBG_RAIL window_state_update (220): Window Client Delta: (0, 0)
DBG_RAIL window_state_update (229): Window Size: (0, 0)
DBG_RAIL window_state_update (256): Window Visible Offset: (0, 0)

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

No branches or pull requests

2 participants