Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#16630 closed bug (fixed)

ft_glyphslot_free_bitmap app_server crash

Reported by: kallisti5 Owned by: X512
Priority: blocker Milestone: R1/beta3
Component: Servers/app_server Version: R1/beta2
Keywords: Cc:
Blocked By: Blocking: #16631
Platform: All

Description

After updating to hrev54752, app_server crashing on boot

backtrace:

ft_glyphslot_free_bitmap
FontEngine::PrepareGlyph
FontCacheEntry::CreateGlyph
AGGTextRenderer::RenderString
Panter::BoundingBox
DrawingEngine::DrawString
ServerWindow::_DispatchViewDrawingMessage

See attached screenshot for more complete backtrace

Attachments (1)

debugger.png (681.8 KB ) - added by kallisti5 3 years ago.
crash on boot

Download all attachments as: .zip

Change History (15)

by kallisti5, 3 years ago

Attachment: debugger.png added

crash on boot

comment:1 by kallisti5, 3 years ago

Owner: changed from axeld to X512
Status: newassigned

comment:2 by waddlesplash, 3 years ago

Milestone: UnscheduledR1/beta3
Priority: criticalblocker

comment:3 by waddlesplash, 3 years ago

Blocking: 16631 added

comment:4 by kallisti5, 3 years ago

To anyone stuck on this, you can revert back to a previous version of Haiku from the bootloader.

I've opened https://dev.haiku-os.org/ticket/16632#ticket since we don't seem to document it very thoroughly on our troubleshooting page:

https://www.haiku-os.org/docs/userguide/en/bootloader.html#troubleshooting

comment:5 by miqlas, 3 years ago

Confirm, happens here too.

comment:6 by kallisti5, 3 years ago

https://review.haiku-os.org/c/haiku/+/2695 appears to be a solution to this one. I tested it on master and the app_server crash didn't happen.

I'm rebuilding master as it exists today (minus 2695) to confirm

comment:7 by kallisti5, 3 years ago

Resolution: fixed
Status: assignedclosed

This is resolved as of hrev54755. The fonts on the desktop are a weird color however which needs looked into.

comment:8 by X512, 3 years ago

Sorry, I haven't checked patches independently.

comment:9 by pulkomandy, 3 years ago

It's my fault, I am the one who split the patches and then merged only one of them.

comment:10 by Starcrasher, 3 years ago

If someone hit same problem.... I still had the crash after updating to 54755. Apparently, it was because I was using Flat decorator. Booted on an old state, changed the decorator to default and reboot without trouble.

 KERN: stack trace, current PC 0x2a281eebb7  _ZN13FlatDecorator10_DrawFrameE5BRect + 0x7:
 KERN:   (0x7f2a03a61150)  0x1fdc0dd706a  _ZN6Window11_DrawBorderEv + 0xea
 KERN:   (0x7f2a03a611c0)  0x1fdc0dd9a0b  _ZN6Window17RedrawDirtyRegionEv + 0x5b
 KERN:   (0x7f2a03a611f0)  0x1fdc0dcaad1  _ZN12ServerWindow14_MessageLooperEv + 0x2a1
 KERN:   (0x7f2a03a61260)  0x1fdc0da898a  _ZN13MessageLooper15_message_threadEPv + 0xa
 KERN:   (0x7f2a03a61270)  0xe0f80c33b9  thread_entry + 0x19
Last edited 3 years ago by Starcrasher (previous) (diff)

comment:12 by X512, 3 years ago

If someone hit same problem.... I still had the crash after updating to 54755. Apparently, it was because I was using Flat decorator.

Crash can be caused by #16638. After changing pointer type to ObjectDeleter, pointer size changed and class memory layout also changed.

comment:13 by Starcrasher, 3 years ago

Reported anyway so everyone is aware of it. https://github.com/unarix/haiku_darkstyle/issues/7

in reply to:  13 comment:14 by nhtello, 3 years ago

Replying to Starcrasher:

Reported anyway so everyone is aware of it. https://github.com/unarix/haiku_darkstyle/issues/7

Allready fixed, was necessary update some includes headers. Download the new binaries or update the src code and run make. Package in the depot is blocked by beta2 :(

Note: See TracTickets for help on using tickets.