Opened 8 years ago

Last modified 4 months ago

#13464 new bug

AppServer crashes in SetCursor

Reported by: fishpond Owned by: axeld
Priority: normal Milestone: Unscheduled
Component: Servers/app_server Version: R1/Development
Keywords: SetCursor, Segment Fault Cc:
Blocked By: Blocking:
Platform: All

Description

Especially when using Java applications (in x86_gcc2h), I encounter app_server crashes quite often. The backtrace always shows the crash to occur at SetCursor+0x85.

KERN: stack trace, current PC 0xfcae81 SetCursor7DesktopP12ServerCursor + 0x85: KERN: (0x727206a8) 0xfeb0f9 _DispatchMessage9ServerApplRQ28BPrivate12LinkReceiver + 0x19f1 KERN: (0x72721418) 0xff0b84 _MessageLooper9ServerApp + 0x1b0 KERN: (0x727214d8) 0xfe13c4 _message_thread13MessageLooperPv + 0x28 KERN: (0x72721508) 0x5afa9b thread_entry + 0x23

Attachments (2)

app_server-541-debug-18-05-2017-06-59-17.report (74.7 KB ) - added by fishpond 8 years ago.
Debug Report
app_server-1744-debug-12-12-2021-02-18-01.report (190.2 KB ) - added by waddlesplash 3 years ago.

Download all attachments as: .zip

Change History (14)

comment:1 by waddlesplash, 8 years ago

Since this is an app_server crash, you can save a debug report by typing save-report at the prompt. It should be on your desktop after you reboot.

comment:2 by fishpond, 8 years ago

I'll do. Now I've created the ticket, it looks like Mr. Murphy is taking care - so no more crashes so far. So we need to wait a bit more. If you want to close the ticket, feel free, I'll reopen it with a debug report attached as soon as I have it.

by fishpond, 8 years ago

Debug Report

comment:3 by fishpond, 8 years ago

patch: 01

comment:4 by fishpond, 8 years ago

Finally crashed again, after quite some time - so I've now attached the debug report.

comment:5 by waddlesplash, 7 years ago

patch: 10

comment:6 by smallstepforman, 4 years ago

I have a similar crash, in Desktop::SetCursor + 0x8c. Was running QtCreator at the time.

bt shows the following:

Desktop::SetCursor(ServerCursor*) +0x8c ServerApp::_DispatchMessage(int, BPrivate::LinkReceiver&) +0x6134 ServerApp::_MessageLooper() + 0x139

comment:7 by korli, 4 years ago

which hrev?

comment:8 by smallstepforman, 4 years ago

Reply to korli. hrev54679 (27 Oct 2020)

comment:9 by waddlesplash, 3 years ago

I have an app_server crash here which isn't in SetCursor, just in MessageLooper, but did occur while trying to set a cursor. Unfortunately the debug report does not reveal much. This however is not a NULL dereference but rather an attempted call to a bogus pointer location.

comment:10 by waddlesplash, 3 years ago

It's 100% reproducible for me, actually.

comment:11 by waddlesplash, 3 years ago

I guess this is related to bitmap cursor handling which long postdates this ticket, though.

comment:12 by waddlesplash, 4 months ago

This may be fixed after hrev57896.

Note: See TracTickets for help on using tickets.