#1862 closed bug (fixed)
App server crash
Reported by: | jackburton | Owned by: | axeld |
---|---|---|---|
Priority: | critical | Milestone: | R1/alpha1 |
Component: | Servers/app_server | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
App server crashed when doing the following:
- Start StyledEdit, open /boot/beos/etc/KanBe/default/.canna.
- Edit -> Select All
- Font -> Konatu Regular
It's always reproducible
Attachments (1)
Change History (6)
by , 17 years ago
comment:1 by , 17 years ago
Status: | new → assigned |
---|
comment:2 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed in hrev24160. Could originate in a bug in StyledEdit/STXT/libbe.so or .canna contains invalid characters - we probably should investigate this a bit more.
comment:3 by , 17 years ago
Ok I'll have a look to the StyledEdit/TextView part of code. Thanks for the quick fix.
comment:4 by , 17 years ago
Looks like .canna and UTF8CountBytes() is to blame: the former obviously contains a malformed UTF-8 character, and the latter reported a 4 byte character (which got divided into 2 characters in the app_server again).
I've changed UTF8CountBytes() so that it will now count 2 characters - one malformed, and one okay.
app server crash