Opened 9 years ago

Last modified 9 years ago

#12492 closed bug

app_server crashes when opening a text file — at Version 4

Reported by: un_spacyar Owned by: axeld
Priority: normal Milestone: R1
Component: Servers/app_server Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

I have hrev49730 x86_gcc2

I get the error detailed in the attached image, when I try to open specific text file.

I tried using the checkfs tool without success. Also, I tried to open the file with another editor (HotEdit) with the same error.

vm_page_fault: thread "w:1229:Packages" (1235) in team "app_server" (332) tried to read address 0x766919ec, ip 0x157ba4e ("libroot.so_seg0ro" +0xafa4e)
debug_server: Thread 1235 entered the debugger: Segment violation
stack trace, current PC 0x157ba4e  malloc__Q28BPrivate10threadHeapUl + 0x4ca:
(0x70932f38)  0x157c34c  malloc + 0x184
(0x70932f68)  0x14f49fd  __nw__FUlRC9nothrow_t + 0x29
(0x70932f98)  0x750127  AddConstraint__Q217LinearProgramming10LinearSpecdPQ217LinearProgramming8VariabledT2Q217LinearProgramming12OperatorTypeddd + 0x11b
(0x70932fe8)  0x73fed2  Init__10WindowAreaP8SATGroup + 0xd6
(0x70933058)  0x743595  AddWindow__8SATGroupP9SATWindowP3TabN32 + 0xb51
(0x709330b8)  0x747d34  GetGroup__9SATWindow + 0xb4
(0x70933118)  0x74a87f  _ActivateWindow__12StackAndTileP9SATWindow + 0x2b
(0x70933158)  0x74a259  WindowActivated__12StackAndTileP6Window + 0x35
(0x70933188)  0x6781ab  NotifyWindowActivated__17DesktopObservableP6Window + 0x53
(0x709331b8)  0x66fd66  ActivateWindow__7DesktopP6Window + 0x82
(0x70933208)  0x670660  ShowWindow__7DesktopP6Window + 0xc4
(0x70933248)  0x69f686  _Show__12ServerWindow + 0x8a
(0x70933278)  0x6a0456  _DispatchMessage__12ServerWindowlRQ28BPrivate12LinkReceiver + 0x21a
(0x709333a8)  0x6a85bc  _MessageLooper__12ServerWindow + 0x27c
(0x70933428)  0x683c70  _message_thread__13MessageLooperPv + 0x28
(0x70933458)  0x14fdd43  thread_entry + 0x23

Change History (6)

by un_spacyar, 9 years ago

Attachment: DwarfManager3.jpg added

comment:1 by ttcoder, 9 years ago

Does not look like a BFS problem, more like an app_server crash (see "a:" prefixes); does it leave a trace in the syslog ? Please post it if so.. If it does and if it's reproducible it might help with the other ongoing ticket about app_server who knows

by un_spacyar, 9 years ago

Attachment: syslog.old added

comment:2 by un_spacyar, 9 years ago

Hello. I attached the syslog. Please, look for:

KERN: vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x10004, ip 0x1562dcf, write 0, user 1, thread 0x23e KERN: vm_page_fault: thread "a:572:x-vnd.Haiku-StyledEdit" (574) in team "app_server" (334) tried to read address 0x10004, ip 0x1562dcf ("libroot.so_seg0ro" +0xaedcf)

It's not 100% reproducible, but about 95% reproducible with the same text file... :-)

comment:3 by ttcoder, 9 years ago

Looks like a new bug; seems FreeType(?) stumbles on a heap corruption Probably an admin will change component from 'General' to 'app_server' to bring more attention to this ticket

comment:4 by diver, 9 years ago

Component: - GeneralServers/app_server
Description: modified (diff)
Milestone: UnscheduledR1
Owner: changed from nobody to axeld
Summary: Error "debbugger for team" when opening a text fileapp_server crashes when opening a text file
Note: See TracTickets for help on using tickets.