[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-10-04 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=463475

Nicolas Fella  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE
 CC||nicolas.fe...@gmx.de

--- Comment #30 from Nicolas Fella  ---


*** This bug has been marked as a duplicate of bug 473602 ***

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-08-28 Thread Bernhard Übelacker
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #29 from Bernhard Übelacker  ---
Added some details about the possible source of this problematic huge
dimensions to https://bugs.kde.org/show_bug.cgi?id=473602.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-06-14 Thread Bernhard Übelacker
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #28 from Bernhard Übelacker  ---
Some short additions:
- I am getting this with X server.

The resize event way up in the stack looks like
the new width should change from 1920 to 65528 and the height from 996 to
65504.
With 4 bytes per pixel this would explain the later `dstBytesPerLine=262112`.
Having a buffer with this dimensions in memory would need ~16 GB.

#8  copy_unswapped (..., dstBytesPerLine=262112, ...) at
./src/plugins/platforms/xcb/qxcbbackingstore.cpp:547
...
#18 0x7fa7f3bbd421 in QWidgetWindow::handleResizeEvent () at
kernel/qwidgetwindow.cpp:841
(gdb) print event->s
$4 = {wd = 65528, ht = 65504}
(gdb) print event->olds
$5 = {wd = 1920, ht = 996}

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-06-14 Thread Bernhard Übelacker
https://bugs.kde.org/show_bug.cgi?id=463475

Bernhard Übelacker  changed:

   What|Removed |Added

 CC||bernha...@mailbox.org

--- Comment #27 from Bernhard Übelacker  ---
The same crash I reported already in:
https://bugs.kde.org/show_bug.cgi?id=461723

Which led to this Qt bug report:
https://bugreports.qt.io/browse/QTBUG-109226

Unfortunately this change in Qt did not reach the 5.15 branch?
https://code.qt.io/cgit/qt/qtbase.git/commit/src/plugins/platforms/xcb/qxcbwindow.cpp?id=6a3627b6c5aa5109a80024f3d7b0f938504f7ffe

But it made it at least into the Debian package:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025997
https://sources.debian.org/src/qtbase-opensource-src/5.15.10%2Bdfsg-1/debian/patches/qxcbwindow_set_geometry.diff/

But the bad thing is, I still receive this crash with the Debian package
(yesterday with kate).
Therefore this patch is not sufficient.

Other notes:
- This happens for me just for just for maximized windows. As a workaround
having them just near full screen seems avoiding the crash.
- My last crash was with two monitors connected, but one was switched off.
(Monitors of different brand, different size, same resolution.)
- Initially I reported it when doing explicit changes to dual monitor setup,
   but the last crash was when monitor just went to standby and woke up again.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-04-23 Thread Dick Tracey
https://bugs.kde.org/show_bug.cgi?id=463475

Dick Tracey  changed:

   What|Removed |Added

 CC||traceyd...@yandex.com

--- Comment #26 from Dick Tracey  ---
This is constantly happening to me to on Arch Linux, with dolphin (likely due
to the embedded konsole in it), using 23.04.0. Virtually every time I come back
to the computer and wake the screen up, dolphin crashes, super annoying...

I filed this for Dolphin https://bugs.kde.org/show_bug.cgi?id=464967


Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr = {get() = }
[KCrash Handler]
#6  __memcpy_avx_unaligned_erms () at
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:265
#7  0x7f04a9c535d3 in memmove (__len=262112, __src=0x7effc58be810,
__dest=) at /usr/include/bits/string_fortified.h:36
#8  copy_unswapped (rect=..., img=...,
dstBytesPerLine=262112, dst=) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:547
#9  native_sub_image (swap=false, rect=..., src=...,
dstStride=262112, buffer=0x5613f67151a0) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:590
#10 QXcbBackingStoreImage::flushPixmap(QRegion const&, bool)
(this=this@entry=0x5613f6715120, region=..., fullRegion=) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:669
#11 0x7f04a9c53913 in QXcbBackingStoreImage::flushPixmap(QRegion const&,
bool) (fullRegion=, this=this@entry=0x5613f6715120, region=...,
fullRegion=fullRegion@entry=true) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:690
#12 0x7f04a9c53b77 in QXcbBackingStoreImage::flushPixmap(QRegion const&,
bool) (fullRegion=false, region=..., this=0x5613f6715120) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:627
#13 QXcbBackingStoreImage::put(unsigned int, QRegion const&, QPoint const&)
(this=0x5613f6715120, dst=62914569, region=..., offset=) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:741
#14 0x7f04a9c544ce in QXcbBackingStore::flush(QWindow*, QRegion const&,
QPoint const&) (this=this@entry=0x5613f6684640,
window=window@entry=0x5613f66e3d60, region=..., offset=...) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbwindow.h:120
#15 0x7f04afce45a5 in QBackingStore::flush(QRegion const&, QWindow*, QPoint
const&) (this=this@entry=0x7f049c001f70, region=..., window=0x5613f66e3d60,
offset=...) at painting/qbackingstore.cpp:252
#16 0x7f04b0382e81 in QWidgetRepaintManager::flush(QWidget*, QRegion
const&, QPlatformTextureList*) (this=this@entry=0x5613f6774d70,
widget=0x5613f6367760, region=..., widgetTextures=) at
kernel/qwidgetrepaintmanager.cpp:1198
#17 0x7f04b03833d5 in QWidgetRepaintManager::flush()
(this=this@entry=0x5613f6774d70) at kernel/qwidgetrepaintmanager.cpp:1096
#18 0x7f04b0384ab9 in QWidgetRepaintManager::paintAndFlush()
(this=0x5613f6774d70) at kernel/qwidgetrepaintmanager.cpp:1028
#19 0x7f04b03d0f79 in QWidgetWindow::handleResizeEvent(QResizeEvent*)
(event=0x775f8300, this=0x5613f66e3d60) at kernel/qwidgetwindow.cpp:842
#20 QWidgetWindow::event(QEvent*) (this=0x5613f66e3d60, event=0x775f8300)
at kernel/qwidgetwindow.cpp:322
#21 0x7f04b0378b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(this=, receiver=0x5613f66e3d60, e=0x775f8300) at
kernel/qapplication.cpp:3640
#22 0x7f04af68e028 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(receiver=0x5613f66e3d60, event=0x775f8300) at
kernel/qcoreapplication.cpp:1064
#23 0x7f04af68e0b3 in QCoreApplication::sendSpontaneousEvent(QObject*,
QEvent*) (receiver=, event=) at
kernel/qcoreapplication.cpp:1474
#24 0x7f04afb41276 in
QGuiApplicationPrivate::processGeometryChangeEvent(QWindowSystemInterfacePrivate::GeometryChangeEvent*)
(e=) at kernel/qguiapplication.cpp:2610
#25 0x7f04afb298c5 in
QWindowSystemInterface::sendWindowSystemEvents(QFlags)
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#26 0x7f04a9c5a8c0 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer)
(source=) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#27 0x7f04ad50f53b in g_main_dispatch (context=0x7f04a4000ee0) at
../glib/glib/gmain.c:3460
#28 g_main_context_dispatch (context=0x7f04a4000ee0) at
../glib/glib/gmain.c:4200
#29 0x7f04ad56c219 in g_main_context_iterate.constprop.0
(context=0x7f04a4000ee0, block=1, dispatch=1, self=) at
../glib/glib/gmain.c:4276
#30 0x7f04ad50e1a2 in g_main_context_iteration (context=0x7f04a4000ee0,
may_block=1) at ../glib/glib/gmain.c:4343
#31 0x7f04af6d8d3c in
QEventDispatcherGlib::processEvents(QFlags)
(this=0x5613f5e381a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#32 0x7f04af68668c in

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-03-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=463475

aux...@gmail.com changed:

   What|Removed |Added

 CC||aux...@gmail.com

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-03-02 Thread Matan Ziv-Av
https://bugs.kde.org/show_bug.cgi?id=463475

Matan Ziv-Av  changed:

   What|Removed |Added

 CC||a...@haxalot.com

--- Comment #25 from Matan Ziv-Av  ---
*** Bug 466695 has been marked as a duplicate of this bug. ***

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-02-28 Thread Lukas Bergdoll
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #24 from Lukas Bergdoll  ---
Sorry for the late reply. I'm now using a custom release build version from
your branch. And so far I've not seen crashes.

Also I want to add, that it was a pleasant surprise how easy it was to build
konsole, clean simple CMake usage.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-02-12 Thread Celeste Wouters
https://bugs.kde.org/show_bug.cgi?id=463475

Celeste Wouters  changed:

   What|Removed |Added

 CC||pe...@elementw.net

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-27 Thread Matan Ziv-Av
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #23 from Matan Ziv-Av  ---
> linewidth = 4093

This was my suspicion. It seems as if the fake screen created by Qt is very
wide (or has a weird DPI that causes the font to be very narrow in pixels).

My patch should prevent bidi code from crashing. But possibly, there will be
problems with wide lines.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-27 Thread Lukas Bergdoll
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #22 from Lukas Bergdoll  ---
Created attachment 155703
  --> https://bugs.kde.org/attachment.cgi?id=155703=edit
27_01_2023_crash_with_current_logline

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-27 Thread Lukas Bergdoll
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #21 from Lukas Bergdoll  ---
(In reply to Matan Ziv-Av from comment #20)
> Anyone that can reproduce this crash reliably is invited to test with this
> branch:
> https://invent.kde.org/matan/konsole/-/commits/sleep-crash
> Which tries to handle two issues that might cause this crash.

I'll try that next week. In the meantime, after installing konsole 22.12.1 I
got the old crash again after longer usage and the display turning off at least
once. I attached the whole bt which looks like a smashed stack, and the stack
values I could read from frame 0 and frame 1.

27_01_2023_crash_with_current_logline.txt

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-27 Thread Matan Ziv-Av
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #20 from Matan Ziv-Av  ---
Anyone that can reproduce this crash reliably is invited to test with this
branch:
https://invent.kde.org/matan/konsole/-/commits/sleep-crash
Which tries to handle two issues that might cause this crash.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-26 Thread Lukas Bergdoll
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #19 from Lukas Bergdoll  ---
I'll do more experiments tomorrow. What I found is, that adding a new tab and
doing some work in the tabs, ls etc. helps with making it crash. Just opening
konsole, without doing anything has yet to yield a crash when turning off the
screen immediately after. I could try building konsole with asan and seeing
where it explodes. Is there a guide on doing so somewhere?

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-26 Thread Matan Ziv-Av
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #18 from Matan Ziv-Av  ---
I had one crash which might be similar, out of 32 attempts of turning the
monitor off and on. Unfortunately, without a core dump.

This is the error output:

qt.qpa.xcb: xcb_shm_create_segment() can't be called for size 17169122336,
maximumallowed size is 4294967295
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setCompositionMode: Painter not active
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setClipRect: Painter not active
QPainter::save: Painter not active
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::restore: Unbalanced save/restore
QPainter::setClipRect: Painter not active
QPainter::save: Painter not active
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::restore: Unbalanced save/restore
QPainter::setClipRect: Painter not active
QPainter::save: Painter not active
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::restore: Unbalanced save/restore
QPainter::setClipRect: Painter not active
QPainter::save: Painter not active
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::restore: Unbalanced save/restore
QPainter::setClipRect: Painter not active
QPainter::save: Painter not active
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::restore: Unbalanced save/restore
QPainter::setClipRect: Painter not active
QPainter::save: Painter not active
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::restore: Unbalanced save/restore
QPainter::setClipRect: Painter not active
QPainter::save: Painter not active
QPainter::save: Painter not active
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::pen: Painter not active
QPainter::setPen: Painter not active
QPainter::setPen: Painter not active
QPainter::restore: Unbalanced save/restore
QPainter::restore: Unbalanced save/restore
QPainter::setClipRegion: Painter not active
QPainter::save: Painter not active
QPainter::restore: Unbalanced save/restore
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::opacity: Painter not active
QPainter::hasClipping: Painter not active
QPainter::clipRegion: Painter not active
QPainter::setWorldTransform: Painter not active
Segmentation fault

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-26 Thread Matan Ziv-Av
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #17 from Matan Ziv-Av  ---
(In reply to Lukas Bergdoll from comment #15)
> New crash after turning off display shorty after crash
> 
> The old crash happened after longer use, and that backtrace looked like a
> smashed stack. I have screenshots of that, will try to reproduce.

There does not seem to be any konsole functions in this thread. Can you show a
full backtrace (with all argumnets, and with local variables?

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-26 Thread Lukas Bergdoll
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #16 from Lukas Bergdoll  ---
> New crash after turning off display shorty after crash

I meant to write:

New crash after turning off display. Then after turning it back on, I get this
crash:

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-26 Thread Lukas Bergdoll
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #15 from Lukas Bergdoll  ---
New crash after turning off display shorty after crash

Thread 1 "konsole" received signal SIGSEGV, Segmentation fault.
__memcpy_avx_unaligned_erms () at
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:273
273 VMOVU   (%rsi), %VEC(0)
(gdb) set pagination on
(gdb) bt
#0  __memcpy_avx_unaligned_erms () at
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:273
#1  0x703286cb in memmove (__len=262112, __src=0x7ffb3ea4a810,
__dest=) at /usr/include/bits/string_fortified.h:36
#2  copy_unswapped (rect=..., img=...,
dstBytesPerLine=262112, dst=) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:547
#3  native_sub_image (swap=false, rect=..., src=...,
dstStride=262112, buffer=0x55f45400) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:590
#4  QXcbBackingStoreImage::flushPixmap (this=this@entry=0x55f45380,
region=..., fullRegion=) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:669
#5  0x70328a23 in QXcbBackingStoreImage::flushPixmap
(fullRegion=fullRegion@entry=true, this=this@entry=0x55f45380, region=...,
fullRegion=fullRegion@entry=true)
at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:690
#6  0x70328c87 in QXcbBackingStoreImage::flushPixmap (fullRegion=false,
region=..., this=0x55f45380) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:627
#7  QXcbBackingStoreImage::put (this=0x55f45380, dst=73400330, region=...,
offset=...) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp:741
#8  0x703295de in QXcbBackingStore::flush
(this=this@entry=0x557a62d0, window=window@entry=0x5577a1a0,
region=..., offset=...) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbwindow.h:120
#9  0x76eddd45 in QBackingStore::flush (this=this@entry=0x557af780,
region=..., window=0x5577a1a0, offset=...) at
painting/qbackingstore.cpp:252
#10 0x77582e81 in QWidgetRepaintManager::flush
(this=this@entry=0x55f3c940, widget=0x5599b2b0, region=...,
widgetTextures=) at kernel/qwidgetrepaintmanager.cpp:1198
#11 0x775833d5 in QWidgetRepaintManager::flush
(this=this@entry=0x55f3c940) at kernel/qwidgetrepaintmanager.cpp:1096
#12 0x77584ab9 in QWidgetRepaintManager::paintAndFlush
(this=0x55f3c940) at kernel/qwidgetrepaintmanager.cpp:1028
#13 0x775d0f09 in QWidgetWindow::handleResizeEvent
(event=0x7fffd5b0, this=0x5577a1a0) at kernel/qwidgetwindow.cpp:841
#14 QWidgetWindow::event (this=0x5577a1a0, event=0x7fffd5b0) at
kernel/qwidgetwindow.cpp:322
#15 0x77578b5c in QApplicationPrivate::notify_helper (this=, receiver=0x5577a1a0, e=0x7fffd5b0) at
kernel/qapplication.cpp:3640
#16 0x7688de08 in QCoreApplication::notifyInternal2
(receiver=0x5577a1a0, event=0x7fffd5b0) at
kernel/qcoreapplication.cpp:1064
#17 0x76d40206 in QGuiApplicationPrivate::processGeometryChangeEvent
(e=) at kernel/qguiapplication.cpp:2610
#18 0x76d28885 in QWindowSystemInterface::sendWindowSystemEvents
(flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#19 0x7032f9d0 in xcbSourceDispatch (source=) at
/usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#20 0x74f1687b in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#21 0x74f6dc89 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0x74f15132 in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#23 0x768d8b2c in QEventDispatcherGlib::processEvents
(this=0x55652300, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#24 0x768865ac in QEventLoop::exec (this=0x7fffd8a0, flags=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#25 0x768910d9 in QCoreApplication::exec () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#26 0x9b65 in ?? ()
#27 0x7603c290 in __libc_start_call_main
(main=main@entry=0x8020, argc=argc@entry=1,
argv=argv@entry=0x7fffdbd8) at ../sysdeps/nptl/libc_start_call_main.h:58
#28 0x7603c34a in __libc_start_main_impl (main=0x8020, argc=1,
argv=0x7fffdbd8, init=, fini=,
rtld_fini=, stack_end=0x7fffdbc8) at ../csu/libc-start.c:381
#29 0xa425 in ?? ()

The old crash happened after longer use, and that backtrace looked like a
smashed stack. I have screenshots of that, will try to reproduce.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-26 Thread Lukas Bergdoll
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #14 from Lukas Bergdoll  ---
Yes, and only if the monitor goes to sleep.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-26 Thread Matan Ziv-Av
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #13 from Matan Ziv-Av  ---
(In reply to Lukas Bergdoll from comment #10)
> I have the same issue, it keeps crashing it always crashes in
> TerminalDisplay.cpp:3165 `log2line[i] = pos;`. Disabling bidi did not help,
> nor did rolling back to konsole 22.08.

Can you add a backtrace with 22.08?

Does the crash in X11 also occur when the monitor goes to sleep?

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-26 Thread Lukas Bergdoll
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #12 from Lukas Bergdoll  ---
qt5-base 5.15.8+kde+r174-1 Arch Linux package. And I use X11.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-26 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #11 from Shmerl  ---
(In reply to Lukas Bergdoll from comment #10)
> I have the same issue, it keeps crashing it always crashes in
> TerminalDisplay.cpp:3165 `log2line[i] = pos;`. Disabling bidi did not help,
> nor did rolling back to konsole 22.08.

What is your Qt version?

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-26 Thread Lukas Bergdoll
https://bugs.kde.org/show_bug.cgi?id=463475

Lukas Bergdoll  changed:

   What|Removed |Added

 CC||lukas.bergd...@gmail.com

--- Comment #10 from Lukas Bergdoll  ---
I have the same issue, it keeps crashing it always crashes in
TerminalDisplay.cpp:3165 `log2line[i] = pos;`. Disabling bidi did not help, nor
did rolling back to konsole 22.08.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-24 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #9 from Shmerl  ---
Looks like after Qt 5.15.8 this bug is gone. I'll keep watching if it happens
and after a while not, I can close this.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-09 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #8 from Shmerl  ---
Looks like when konsole is run in xcb mode (XWayland), there is still a freeze
issue (not crash) that still happens even with bidirectional option disabled.
But it might be another problem. I can open a separate bug.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-09 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #7 from Shmerl  ---
If that makes a difference, my current Konsole profile is using DejaVu Sans
Mono font.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-09 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #6 from Shmerl  ---
Looks like it didn't crash so far in such scenario with bi-directional text
rendering option disabled! I'll test it a bit more to confirm further, but it
looks like it indeed narrows it down.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-09 Thread Matan Ziv-Av
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #5 from Matan Ziv-Av  ---
(In reply to Shmerl from comment #4)
> How can I disable it?

Settings -> Edit current profile... -> Appearance -> Complex Text Layout ->
Bi-Directional text rendering

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-09 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #4 from Shmerl  ---
How can I disable it?

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-09 Thread Matan Ziv-Av
https://bugs.kde.org/show_bug.cgi?id=463475

Matan Ziv-Av  changed:

   What|Removed |Added

 CC||ma...@svgalib.org

--- Comment #3 from Matan Ziv-Av  ---
It seems that the crash happens in bidiMap function.

Can you disable bidi and see if it still happens? If it still happens, please
send a backtrace from such crash.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-08 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=463475

Shmerl  changed:

   What|Removed |Added

Version|22.12.0 |22.12.1

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2023-01-08 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #2 from Shmerl  ---
Crash still happens with konsole 22.12.1.

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

[konsole] [Bug 463475] Konsole crashes when monitor goes to sleep

2022-12-25 Thread Shmerl
https://bugs.kde.org/show_bug.cgi?id=463475

--- Comment #1 from Shmerl  ---
Just to add, I'm running it in KDE Wayland session, Wayland mode.

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