https://bugs.kde.org/show_bug.cgi?id=520519

            Bug ID: 520519
           Summary: [ANR] KFind ANR'd when searching (for content inside
                    HTML files)
    Classification: Applications
           Product: kfind
      Version First 26.04.1
       Reported In:
          Platform: Fedora RPMs
                OS: Linux
            Status: REPORTED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Application: kfind (26.04.1)

ApplicationNotResponding [ANR]: true
Qt Version: 6.11.1
Frameworks Version: 6.26.0
Operating System: Linux 7.0.9-205.fc44.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 44 (KDE Plasma Desktop Edition)"
DrKonqi: 6.6.5 [CoredumpBackend]

-- Information about the crash:
As at https://bugzilla.redhat.com/show_bug.cgi?id=2480771#c0, “I searched for
`language-` in files named `*.html` on a mounted, 1.8 TiB external storage
device. This caused it to slowly ANR.”

The crash can be reproduced every time.

-- Backtrace (Reduced):
#4  hb_font_t::get_glyph_h_advance (this=0x55aca6bf6b10, glyph=89,
synthetic=false) at ../src/hb-font.hh:356
#5  hb_font_get_glyph_h_advances_default (font=0x55aca6bf6b10,
font_data=<optimized out>, count=4096, first_glyph=0x55acafc78cc4,
glyph_stride=20, first_advance=0x55acb4bb1484, advance_stride=20,
user_data=0x0) at ../src/hb-font.cc:283
#6  0x00007f5620eea4b4 in hb_font_t::get_glyph_h_advances (this=<optimized
out>, count=4096, first_glyph=<optimized out>, glyph_stride=20,
first_advance=0x55acb4ba5530, advance_stride=20, synthetic=true) at
../src/hb-font.hh:394
#7  hb_ot_position_default (c=0x7ffee709b080) at ../src/hb-ot-shape.cc:1011
#8  hb_ot_position (c=0x7ffee709b080) at ../src/hb-ot-shape.cc:1098
#9  hb_ot_shape_internal (c=<optimized out>) at ../src/hb-ot-shape.cc:1194
#10 0x00007f5620eef7f7 in _hb_ot_shape (shape_plan=<optimized out>,
font=<optimized out>, buffer=0x55acb3942de0, features=<optimized out>,
num_features=<optimized out>) at ../src/hb-ot-shape.cc:1213
#11 _hb_shape_plan_execute_internal (shape_plan=0x55aca6865a20,
font=0x55aca6bf6b10, buffer=0x55acb3942de0, features=0x55acb3942de0,
num_features=1) at ../src/hb-shaper-list.hh:47
#12 hb_shape_plan_execute (shape_plan=shape_plan@entry=0x55aca6865a20,
font=font@entry=0x55aca6bf6b10, buffer=buffer@entry=0x55acb3942de0,
features=features@entry=0x7ffee709b400, num_features=num_features@entry=1) at
../src/hb-shape-plan.cc:452
#13 0x00007f5620ef6801 in hb_shape_full (font=0x55aca6bf6b10,
buffer=0x55acb3942de0, features=0x7ffee709b400, num_features=1,
shaper_list=0x7ffee709b370) at ../src/hb-shape.cc:150
#14 0x00007f56232d23b0 in QTextEngine::shapeTextWithHarfbuzzNG
(this=this@entry=0x55acb467f290, si=..., string=string@entry=0x55acdb9e5c30,
stringBaseIndex=stringBaseIndex@entry=7581720,
stringLength=stringLength@entry=8317083, itemLength=itemLength@entry=4096,
fontEngine=0x55aca6ad6210, itemBoundaries=..., kerningEnabled=true,
hasLetterSpacing=false, fontFeatures=...) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/corelib/tools/qvarlengtharray.h:92
#15 0x00007f56232d3bb7 in QTextEngine::shapeText (this=<optimized out>,
item=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/gui/text/qtextengine.cpp:1497
#16 0x00007f56232d489f in QTextEngine::shape (this=<optimized out>,
item=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/gui/text/qtextengine.cpp:1891
#17 0x00007f5623302206 in QTextLine::layout_helper
(this=this@entry=0x7ffee709b970, maxGlyphs=maxGlyphs@entry=2147483647) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/gui/text/qtextlayout.cpp:1875
#18 0x00007f5623304b95 in QTextLine::setLineWidth
(this=this@entry=0x7ffee709b970, width=<optimized out>) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/gui/text/qtextlayout.cpp:1626
#19 0x00007f5623acc004 in viewItemTextLayout (textLayout=..., lineWidth=368,
maxHeight=maxHeight@entry=-1, lastVisibleLine=lastVisibleLine@entry=0x0) at
/usr/src/debug/qt6-qtbase-6.11.1-1.fc44.x86_64/src/widgets/styles/qcommonstyle.cpp:835


Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to