Anno domini 2023 Sat, 22 Jul 11:45:36 +0900
Michele Calgaro via tde-users scripsit:
IMO kate
should have its sessions in .trinity/share/apps/kate/sessions/ - this directory only
contains one file, "sessions.list", with the content:
[Sessions list]
Last session id=-1
Sessions count=0
When I delete file and/or folder both are recreated with this content.
In kate the menue entry "Sessions" has two entries: "Unknown" and
"Unknown". Selecting either crashes kate. These lines are added to
.xsession-errors:
Hi Nik,
can you share a backtrace of the crashes? I would like to have a look.
Also what are your options for sessions (Configure Kate --> Sessions)?
I
don't have that menu entry (Configure Kate --> Sessions).
"valgrind kate" : it does not crash and it creates *.katesession files in
.trinity/share/apps/kate/ ... and it can reload the saved session.
With gdb I get this backtrae:
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff751a310 in operator==(TQString const&, TQString const&) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
(gdb) backtrace
#0 0x00007ffff751a310 in operator==(TQString const&, TQString const&) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#1 0x00007ffff751a8e9 in operator!=(TQString const&, TQString const&) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#2 0x00007ffff7d41367 in ?? () from /opt/trinity/lib/libkateinterfaces.so.0
#3 0x00007ffff7d47017 in ?? () from /opt/trinity/lib/libkateinterfaces.so.0
#4 0x00007ffff7d189f2 in ?? () from /opt/trinity/lib/libkateinterfaces.so.0
#5 0x00007ffff7d0fd46 in ?? () from /opt/trinity/lib/libkateinterfaces.so.0
#6 0x00007ffff72ce3fb in TQObject::activate_signal(TQConnectionList*, TQUObject*) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#7 0x00007ffff72ce628 in TQObject::activate_signal(int, int) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#8 0x00007ffff72e220e in TQSignal::activate() () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#9 0x00007ffff73b2116 in TQPopupMenu::mouseReleaseEvent(TQMouseEvent*) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#10 0x00007ffff72fc1b5 in TQWidget::event(TQEvent*) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#11 0x00007ffff727f107 in TQApplication::internalNotify(TQObject*, TQEvent*) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#12 0x00007ffff727f51b in TQApplication::notify(TQObject*, TQEvent*) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#13 0x00007ffff722eaf7 in ?? () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#14 0x00007ffff722da31 in TQApplication::x11ProcessEvent(_XEvent*) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
--Type <RET> for more, q to quit, c to continue without paging--c
#15 0x00007ffff726279d in TQEventLoop::processX11Events() () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#16 0x00007ffff72632ae in TQEventLoop::gsourceDispatch(_GSource*) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#17 0x00007ffff72633b3 in ?? () from /usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#18 0x00007ffff60e67a9 in g_main_context_dispatch () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007ffff60e6a38 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007ffff60e6acc in g_main_context_iteration () from
/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007ffff726267b in TQEventLoop::processEvents(unsigned int) () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#22 0x00007ffff7291351 in TQEventLoop::enterLoop() () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#23 0x00007ffff72912e9 in TQEventLoop::exec() () from
/usr/lib/x86_64-linux-gnu/libtqt-mt.so.3
#24 0x00007ffff7f86d52 in kdemain () from /opt/trinity/lib/libtdeinit_kate.so
#25 0x0000555555555159 in ?? ()
#26 0x00007ffff7dc818a in __libc_start_call_main (main=main@entry=0x555555555139,
argc=argc@entry=1,
argv=argv@entry=0x7fffffffdda8) at ../sysdeps/nptl/libc_start_call_main.h:58
#27 0x00007ffff7dc8245 in __libc_start_main_impl (main=0x555555555139, argc=1,
argv=0x7fffffffdda8, init=<optimized out>,
fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdd98)
at ../csu/libc-start.c:381
#28 0x0000555555555071 in _start ()
Cheers
Michele
--
Please do not email me anything that you are not comfortable also sharing with the NSA,
CIA ...