OK. Some freezes today, though they would resolve if I waited long enough. 
Here's the gdb backtrace. Hope it is useful!

#0  __strncpy_sse2_unaligned () at 
../sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S:1126
#1  0x00007ffff6bb85d9 in g_strndup () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffff7ac2f18 in pango_layout_set_text () at 
/lib/x86_64-linux-gnu/libpango-1.0.so.0
#3  0x00007ffff7d794df in (anonymous namespace)::LayoutSetText (text=Python 
Exception <class 'gdb.error'>: value has been optimized out
, layout=0x5555581fe3b0)
    at /usr/include/c++/13/string_view:289
#4  (anonymous namespace)::ClusterIterator::ClusterIterator (text=Python 
Exception <class 'gdb.error'>: value has been optimized out
, layout=0x5555581fe3b0, this=0x7fffffffad50)
    at ../scintilla/gtk/PlatGTK.cxx:837
#5  Scintilla::SurfaceImpl::MeasureWidthsUTF8 (this=<optimized out>, 
font_=0x55555871ef40, text=Python Exception <class 'gdb.error'>: value has been 
optimized out
, positions=0x7fffdfe0cac0)
    at ../scintilla/gtk/PlatGTK.cxx:1079
#6  0x00007ffff7df7106 in PositionCache::MeasureWidths
    (this=0x5555577d29a0, surface=<optimized out>, vstyle=<optimized out>, 
styleNumber=4, unicode=true, sv="728333", positions=0x7fffdfe0cac0, 
needsLocking=false) at ../scintilla/src/PositionCache.cxx:1169
#7  0x00007ffff7de0284 in (anonymous namespace)::LayoutSegments
    (pCache=<optimized out>, surface=0x5555587475f0, vstyle=..., 
ll=0x5555586d9960, segments=std::vector of length 1499999, capacity 2097152 = 
{...}, nextIndex=<optimized out>, textUnicode=true, multiThreaded=false) at 
../scintilla/src/EditView.cxx:376
#8  0x00007ffff7de8c23 in operator() (__closure=<optimized out>) at 
../scintilla/src/EditView.cxx:513
#9  std::__invoke_impl<void, Scintilla::Internal::EditView::LayoutLine(const 
Scintilla::Internal::EditModel&, Scintilla::Internal::Surface*, const 
Scintilla::Internal::ViewStyle&, Scintilla::Internal::LineLayout*, int, 
bool)::<lambda()> >
    (__f=<optimized out>) at /usr/include/c++/13/bits/invoke.h:61
#10 std::__invoke<Scintilla::Internal::EditView::LayoutLine(const 
Scintilla::Internal::EditModel&, Scintilla::Internal::Surface*, const 
Scintilla::Internal::ViewStyle&, Scintilla::Internal::LineLayout*, int, 
bool)::<lambda()> > (__fn=<optimized out>)
    at /usr/include/c++/13/bits/invoke.h:96
#11 
std::thread::_Invoker<std::tuple<Scintilla::Internal::EditView::LayoutLine(const
 Scintilla::Internal::EditModel&, Scintilla::Internal::Surface*, const 
Scintilla::Internal::ViewStyle&, Scintilla::Internal::LineLayout*, int, 
bool)::<lambda()> > >::_M_invok--Type <RET> for more, q to quit, c to continue 
without paging-- 
e<0> (this=<optimized out>) at /usr/include/c++/13/bits/std_thread.h:292
#12 
std::thread::_Invoker<std::tuple<Scintilla::Internal::EditView::LayoutLine(const
 Scintilla::Internal::EditModel&, Scintilla::Internal::Surface*, const 
Scintilla::Internal::ViewStyle&, Scintilla::Internal::LineLayout*, int, 
bool)::<lambda()> > >::operator() (this=<optimized out>) at 
/usr/include/c++/13/bits/std_thread.h:299
#13 
std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>,
 std::__future_base::_Result_base::_Deleter>, 
std::thread::_Invoker<std::tuple<Scintilla::Internal::EditView::LayoutLine(const
 Scintilla::Internal::EditModel&, Scintilla::Internal::Surface*, const 
Scintilla::Internal::ViewStyle&, Scintilla::Internal::LineLayout*, int, 
bool)::<lambda()> > >, void>::operator() (this=<optimized out>) at 
/usr/include/c++/13/future:1432
#14 std::__invoke_impl<std::unique_ptr<std::__future_base::_Result<void>, 
std::__future_base::_Result_base::_Deleter>, 
std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>,
 std::__future_base::_Result_base::_Deleter>, 
std::thread::_Invoker<std::tuple<Scintilla::Internal::EditView::LayoutLine(const
 Scintilla::Internal::EditModel&, Scintilla::Internal::Surface*, const 
Scintilla::Internal::ViewStyle&, Scintilla::Internal::LineLayout*, int, 
bool)::<lambda()> > >, void>&>
    (__f=<optimized out>) at /usr/include/c++/13/bits/invoke.h:61
#15 std::__invoke_r<std::unique_ptr<std::__future_base::_Result_base, 
std::__future_base::_Result_base::_Deleter>, 
std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>,
 std::__future_base::_Result_base::_Deleter>, 
std::thread::_Invoker<std::tuple<Scintilla::Internal::EditView::LayoutLine(const
 Scintilla::Internal::EditModel&, Scintilla::Internal::Surface*, const 
Scintilla::Internal::ViewStyle&, Scintilla::Internal::LineLayout*, int, 
bool)::<lambda()> > >, void>&>
    (__fn=<optimized out>) at /usr/include/c++/13/bits/invoke.h:116
#16 std::_Function_handler<std::unique_ptr<std::__future_base::_Result_base, 
std::__future_base::_Result_base::_Deleter>(), 
std::__future_base::_Task_setter<std::unique_ptr<std::__future_base::_Result<void>,
 std::__future_base::_Result_base::_Deleter>, 
std::thread::_Invoker<std::tuple<Scintilla::Internal::EditView::LayoutLine(const
 Scintilla::Internal::EditModel&, Scintilla::Internal::Surface*, const 
Scintilla::Internal::ViewStyle&, Scintilla::Internal::LineLayout*, int, 
bool)::<lambda()> > >, void> >::_M_invoke(const std::_Any_data &) 
(__functor=<error reading variable: Cannot access memory at address 
0x7fffffffb568>)
    at /usr/include/c++/13/bits/std_function.h:291
--Type <RET> for more, q to quit, c to continue without paging--c
#17 0x00007ffff7dbc592 in 
std::function<std::unique_ptr<std::__future_base::_Result_base, 
std::__future_base::_Result_base::_Deleter> ()>::operator()() const 
(this=<optimized out>) at /usr/include/c++/13/bits/std_function.h:591
#18 
std::__future_base::_State_baseV2::_M_do_set(std::function<std::unique_ptr<std::__future_base::_Result_base,
 std::__future_base::_Result_base::_Deleter> ()>*, bool*) (this=0x5555587cdf50, 
__f=<optimized out>, __did_set=0x7fffffffb6a7)
    at /usr/include/c++/13/future:589
#19 0x00007ffff78a1ec3 in __pthread_once_slow (once_control=0x5555587cdf68, 
init_routine=0x7ffff68e93b0 <__once_proxy>)
    at ./nptl/pthread_once.c:116
#20 0x00007ffff7de8b0d in __gthread_once
    (__func=<optimized out>, __once=<error reading variable: Cannot access 
memory at address 0x7fffffffb678>)
    at /usr/include/x86_64-linux-gnu/c++/13/bits/gthr-default.h:700
#21 std::call_once<void 
(std::__future_base::_State_baseV2::*)(std::function<std::unique_ptr<std::__future_base::_Result_base,
 std::__future_base::_Result_base::_Deleter> ()>*, bool*), 
std::__future_base::_State_baseV2*, 
std::function<std::unique_ptr<std::__future_base::_Result_base, 
std::__future_base::_Result_base::_Deleter> ()>*, bool*>(std::once_flag&, void 
(std::__future_base::_State_baseV2::*&&)(std::function<std::unique_ptr<std::__future_base::_Result_base,
 std::__future_base::_Result_base::_Deleter> ()>*, bool*), 
std::__future_base::_State_baseV2*&&, 
std::function<std::unique_ptr<std::__future_base::_Result_base, 
std::__future_base::_Result_base::_Deleter> ()>*&&, bool*&&)
    (__f=<error reading variable: Cannot access memory at address 
0x7fffffffb6c0>, __once=<error reading variable: Cannot access memory at 
address 0x7fffffffb678>) at /usr/include/c++/13/mutex:907
#22 
std::__future_base::_State_baseV2::_M_set_result(std::function<std::unique_ptr<std::__future_base::_Result_base,
 std::__future_base::_Result_base::_Deleter> ()>, bool) (__ignore_failure=true, 
__res=Python Exception <class 'gdb.MemoryError'>: Cannot access memory at 
address 0x7fffffffb6f0

   #23 
std::__future_base::_Deferred_state<std::thread::_Invoker<std::tuple<Scintilla::Internal::EditView::LayoutLine(const
 Scintilla::Internal::EditModel&, Scintilla::Internal::Surface*, const 
Scintilla::Internal::ViewStyle&, Scintilla::Internal::LineLayout*, int, 
bool)::<lambda()> > >, void>::_M_complete_async(void)
    (this=<error reading variable: Cannot access memory at address 
0x7fffffffb678>) at /usr/include/c++/13/future:1705
#24 0x00007ffff7de6487 in std::__future_base::_State_baseV2::wait 
(this=0x5555587cdf50) at /usr/include/c++/13/future:347
#25 std::__basic_future<void>::wait (this=0x555555bf95d0) at 
/usr/include/c++/13/future:716
#26 Scintilla::Internal::EditView::LayoutLine
    (this=<optimized out>, model=<optimized out>, surface=<optimized out>, 
vstyle=<optimized out>, ll=<optimized out>, width=<optimized out>, 
callerMultiThreaded=<optimized out>) at ../scintilla/src/EditView.cxx:518

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/3944#issuecomment-2358514632
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/3944/[email protected]>

Reply via email to