Opened 4 years ago

Last modified 2 years ago

#17011 new bug

TextSearch: crash in Grepper::_RunnerThread()

Reported by: X512 Owned by: phoudoin
Priority: normal Milestone: Unscheduled
Component: Applications/TextSearch Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev55104.

Occurs when searching in big directories such as qemu-6.0.0 source tree.

Attachments (1)

TextSearch-1517-debug-15-06-2021-10-43-41.report (65.4 KB ) - added by X512 4 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 by phoudoin, 2 years ago

my guess is that's an issue during parsing grep output lines with deep and long full filename following by the matching line. Maybe temporary buffer to keep currentFileName and current line are too small.

I guess a quick faddr2line on Grepper::_RunnerThread+0xc1e on a debug version of TextSearch will help to find the exact code line culprid.

Note: See TracTickets for help on using tickets.