[NeoChat] [Bug 495748] Crashes with segmentation fault when trying to enter "Security" or "Device" settings, or maybe others.

2024-11-11 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=495748

dreieck  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|UPSTREAM|---

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

[NeoChat] [Bug 495748] Crashes with segmentation fault when trying to enter "Security" or "Device" settings, or maybe others.

2024-11-11 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=495748

--- Comment #7 from dreieck  ---
(In reply to Tobias Fella from comment #6)
> I have written that; there's nothing for NeoChat to do since the problem is 
> on libQuotient's side

People at libQuotient tell otherwise [1]:

> Actually, I'm not really sure it's libQuotient's fault, now that I looked at 
> the code. Looks like NeoChat tries to call an E2EE-related method without 
> checking if E2EE is even enabled on an account, or before it's enabled.

Can you please step in there and discuss? I do not understand the code.

[1]
https://github.com/quotient-im/libQuotient/issues/828#issuecomment-2468934964

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

[NeoChat] [Bug 495748] Crashes with segmentation fault when trying to enter "Security" or "Device" settings, or maybe others.

2024-11-11 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=495748

dreieck  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|REOPENED|RESOLVED

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

[NeoChat] [Bug 495748] Crashes with segmentation fault when trying to enter "Security" or "Device" settings, or maybe others.

2024-11-11 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=495748

dreieck  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Resolution|UPSTREAM|---
 Status|RESOLVED|REOPENED

--- Comment #5 from dreieck  ---
(In reply to Joshua Goins from comment #3)
> The crash happens in libQuotient code 
> (https://github.com/quotient-im/libQuotient) and should be reported there,

They write back [1]:

> I have looked at this at some point and it looks like the database isn't 
> initialized for some reason. FWIW, all of this code is going away / changing 
> entirely soon, so there's not really a point in debugging this further

(I don't know if that means if it is the duty of NeoChat to initialise the
database and/ or adapt to "all of this code is going away / changing entirely
soon", or if this is within libQuotient. For this, I reopen now, and please
someone with expertise judge and maybe close again if it is referring to
libQuotient-only stuff.)

[1]
https://github.com/quotient-im/libQuotient/issues/828#issuecomment-2468866408

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

[NeoChat] [Bug 495748] Crashes with segmentation fault when trying to enter "Security" or "Device" settings, or maybe others.

2024-11-12 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=495748

dreieck  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|UPSTREAM|---

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

[NeoChat] [Bug 495748] Crashes with segmentation fault when trying to enter "Security" or "Device" settings, or maybe others.

2024-11-25 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=495748

dreieck  changed:

   What|Removed |Added

Version|24.08.2 |git master

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

[NeoChat] [Bug 496489] Crash with segmentation fault when browsing settings for a newly created account.

2024-11-25 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=496489

dreieck  changed:

   What|Removed |Added

Version|24.08.2 |git master

--- Comment #2 from dreieck  ---
(In reply to John Kizer from comment #1)
> an updated Fedora 41 package for NeoChat (24.08.3 with libquotient 0.9) went 
> out on the 22nd, are you able to update to that

I am not using Fedora so I cannot update to that (how did you assume that I use
Fedora?).

What I used was NeoChat with libQuotient, both built locally from git, both
were after or at the release versions you mentioned:

* NeoChat: 25.03.70+git, git commit hash: 4b0802207
* libQuotient: 0.9.0+git, git commit hash: 8f5b4ea2

(Sorry that I initially did set a 24.x version in the drop down menu. I don't
know why.)

But I just rebuilt both from their latest git repository state:
* libQuotient from https://github.com/quotient-im/libQuotient, version
0.9.0+git, git commit hash: e579e0be
* NeoChat from https://github.com/KDE/neochat, version 25.03.70+git, git commit
hash: 19510858a

I started NeoChat, removed the account and re-added it. NeoChat did crash while
fetching messages.

Last lines of terminal output and GDB backtrace:

```
[...]
quotient.main: E2EE switched on in "!:"
quotient.main: E2EE switched on in "!:"
qrc:/qt/qml/org/kde/neochat/login/WelcomePage.qml:209: TypeError: Property
'closeDialog' of object WelcomePage_QMLTYPE_259(0x5b669600) is not a
function
quotient.jobs: "QueryKeysJob" stopped without ready network reply
quotient.jobs: Won't proceed with the abandoned request: "POST
https://matrix.frei.chat/_matrix/client/v3/keys/query";
quotient.jobs: "QueryKeysJob" stopped with empty network reply
quotient.jobs: 429 <- GET
https://matrix.frei.chat/_matrix/client/v1/rooms/%21%3A/hierarchy
quotient.jobs: "GetSpaceHierarchyJob" status TooManyRequests: Too many
requests, next retry advised after 10 ms
quotient.jobs: 429 <- GET
https://matrix.frei.chat/_matrix/client/v1/rooms/%21%3A/hierarchy
quotient.jobs: "GetSpaceHierarchyJob" status TooManyRequests: Too many
requests, next retry advised after 6 ms
quotient.jobs: 429 <- GET
https://matrix.frei.chat/_matrix/client/v1/rooms/%21%3A/hierarchy
quotient.jobs: "GetSpaceHierarchyJob" status TooManyRequests: Too many
requests, next retry advised after 44 ms
[Thread 0x7fff62bef6c0 (LWP 10291) exited]
quotient.jobs.sync: "SyncJob-101" status Timeout: The job has timed out
quotient.jobs.sync: "SyncJob-101" stopped without ready network reply
quotient.jobs.sync: "SyncJob-101": retry #1 in 0 s

Thread 1 "neochat" received signal SIGSEGV, Segmentation fault.
0x74bad9ef in ?? () from /usr/lib/libQt6Core.so.6
(gdb) bt
#0  0x74bad9ef in ??? () at /usr/lib/libQt6Core.so.6
#1  0x5578643e in ??? ()
#2  0x5591cb00 in ??? ()
#3  0x74badd9a in ??? () at /usr/lib/libQt6Core.so.6
#4  0x76b5bbb9 in Quotient::Connection::networkError(QString, QString,
int, int) () at /usr/lib/libQuotientQt6.so.0.9
#5  0x76b5f6b3 in ??? () at /usr/lib/libQuotientQt6.so.0.9
#6  0x74badd9a in ??? () at /usr/lib/libQt6Core.so.6
#7  0x76b431f9 in Quotient::BaseJob::retryScheduled(int, long) () at
/usr/lib/libQuotientQt6.so.0.9
#8  0x74badd9a in ??? () at /usr/lib/libQt6Core.so.6
#9  0x74bb6f44 in QTimer::timerEvent(QTimerEvent*) () at
/usr/lib/libQt6Core.so.6
#10 0x74b9f569 in QObject::event(QEvent*) () at
/usr/lib/libQt6Core.so.6
#11 0x75cfe0b7 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#12 0x74b55f08 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#13 0x74ccaba9 in QTimerInfoList::activateTimers() () at
/usr/lib/libQt6Core.so.6
#14 0x74db3f24 in ??? () at /usr/lib/libQt6Core.so.6
#15 0x72516afb in g_main_dispatch (context=0x7fffe8000f30) at
../glib/glib/gmain.c:3357
#16 0x72516c18 in g_main_context_dispatch_unlocked
(context=context@entry=0x7fffe8000f30) at ../glib/glib/gmain.c:4208
#17 0x7251842f in g_main_context_iterate_unlocked
(context=context@entry=0x7fffe8000f30, block=block@entry=1,
dispatch=dispatch@entry=1, self=) at ../glib/glib/gmain.c:4273
#18 0x72518a44 in g_main_context_iteration (context=0x7fffe8000f30,
may_block=1) at ../glib/glib/gmain.c:4338
#19 0x74db1358 in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib/libQt6Core.so.6
#20 0x74b61a55 in
QEventLoop::exec(QFlags) () at
/usr/lib/libQt6Core.so.6
#21 0x74b5723a in QCoreApplication::exec() () at
/usr/lib/libQt6Core.so.6
#22 0x555db256 in ??? ()
#23 0x74437d6e in __libc_start_call_main
(main=main@entry=0x555d9d50, argc=argc@

[NeoChat] [Bug 496684] New: Building NeoChat emits warning "emojimodel.cpp:15:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without".

2024-11-25 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=496684

Bug ID: 496684
   Summary: Building NeoChat emits warning "emojimodel.cpp:15:1:
note: variable tracking size limit exceeded with
‘-fvar-tracking-assignments’, retrying without".
Classification: Applications
   Product: NeoChat
   Version: git master
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: minor
  Priority: NOR
 Component: General
  Assignee: fe...@posteo.de
  Reporter: felics-...@kettenbruch.de
CC: c...@carlschwan.eu, j...@redstrate.com
  Target Milestone: ---

SUMMARY

Building NeoChat emits warning message

```
[ 97%] Building CXX object src/CMakeFiles/neochat.dir/neochatconfig.cpp.o
/var/cache/makepkg/build/neochat-debug-git/src/neochat/src/models/emojimodel.cpp:
In constructor ‘EmojiModel::EmojiModel(QObject*)’:
/var/cache/makepkg/build/neochat-debug-git/src/neochat/src/models/emojimodel.cpp:15:1:
note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’,
retrying without
   15 | EmojiModel::EmojiModel(QObject *parent)
  | ^~
```

(This is not really a bug, but I want to make you aware that there might be
something to look at.)

Linux/KDE Plasma: 
KDE Plasma Version: 6.2.3
KDE Frameworks Version: 6.8.0
Qt Version: 6.8.0
libQuotient version: Git from https://github.com/quotient-im/libQuotient,
version 0.9.0+git, git commit hash: e579e0be
NeoChat version: Git from https://github.com/KDE/neochat, version 25.03.70+git,
git commit hash: 19510858a

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

[NeoChat] [Bug 496684] Building NeoChat emits warning "emojimodel.cpp:15:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without".

2024-11-25 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=496684

dreieck  changed:

   What|Removed |Added

 CC||felics-...@kettenbruch.de

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

[NeoChat] [Bug 496684] Building NeoChat emits warning "emojimodel.cpp:15:1: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without".

2024-11-25 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=496684

dreieck  changed:

   What|Removed |Added

  Latest Commit||19510858a

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

[NeoChat] [Bug 496489] Crash with segmentation fault when browsing settings for a newly created account.

2024-11-25 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=496489

dreieck  changed:

   What|Removed |Added

  Latest Commit||19510858a

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

[NeoChat] [Bug 496489] New: Crash with segmentation fault when browsing settings for a newly created account.

2024-11-20 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=496489

Bug ID: 496489
   Summary: Crash with segmentation fault when browsing settings
for a newly created account.
Classification: Applications
   Product: NeoChat
   Version: 24.08.2
  Platform: Other
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: General
  Assignee: fe...@posteo.de
  Reporter: felics-...@kettenbruch.de
CC: c...@carlschwan.eu, j...@redstrate.com
  Target Milestone: ---

Created attachment 175971
  --> https://bugs.kde.org/attachment.cgi?id=175971&action=edit
Terminal output of a GDB run of NeoChat.

Here:
https://github.com/quotient-im/libQuotient/issues/828#issuecomment-2480554133 I
was told that this is a NeoChat issue, to I report it here.

---

SUMMARY

If I add a new account, then click a bit in the settings, a segmentation fault
happens.

It does not happen anymore when I restart NeoChat afterwards and log in with
the already created account.

But if I add a new account and then click in the settings, it happens again:

It happened twice, each time after logging in with a new account and going
"somewhere" (I do not remember exactly where first and in which order) into the
settings just after logging in with the new account.

GDB backtrace:

```
#0  0x74bad9ef in ??? () at /usr/lib/libQt6Core.so.6
#1  0x5578493e in NeoChatConnection::errorOccured (this=this@entry=0x0,
_t1=...) at
/usr/src/debug/neochat-debug-git/build/src/neochat_autogen/include/moc_neochatconnection.cpp:689
#2  0x5591af40 in operator() (__closure=0x56cca4e0, error=...) at
/usr/src/debug/neochat-debug-git/neochat/src/login.cpp:88
#3  operator() (__closure=) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:141
#4  QtPrivate::FunctorCallBase::call_internal,
QtPrivate::List, void,
LoginHelper::init()::
>::call(LoginHelper::init()::&,
void**):: > (args=, fn=)
at /usr/include/qt6/QtCore/qobjectdefs_impl.h:65
#5  QtPrivate::FunctorCall,
QtPrivate::List, void,
LoginHelper::init():: >::call
(f=..., arg=) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:140
#6  QtPrivate::FunctorCallable, QString, QString, int,
int>::call, void>
(f=..., arg=) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:362
#7  QtPrivate::QCallableObject, QtPrivate::List,
void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *)
(which=, this_=0x56cca4d0, r=, a=, ret=) at /usr/include/qt6/QtCore/qobjectdefs_impl.h:572
#8  0x74badd9a in ??? () at /usr/lib/libQt6Core.so.6
#9  0x76b5bcf9 in Quotient::Connection::networkError
(this=this@entry=0x56cb7400, _t1=..., _t2=..., _t3=,
_t3@entry=1, _t4=, _t4@entry=0)
at
/usr/src/debug/libquotient-debug-git/build/QuotientQt6_autogen/include/moc_connection.cpp:1829
#10 0x76b5f833 in operator() (__closure=,
retriesTaken=1, nextInMilliseconds=0) at
/usr/src/debug/libquotient-debug-git/libquotient-git/Quotient/connection.cpp:455
#11 operator() (__closure=) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:141
#12 QtPrivate::FunctorCallBase::call_internal, QtPrivate::List, void, Quotient::Connection::sync(int)::
>::call(Quotient::Connection::sync(int)::&,
void**):: > (args=, fn=) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:65
#13 QtPrivate::FunctorCall, QtPrivate::List, void, Quotient::Connection::sync(int):: >::call
(f=, arg=)
at /usr/include/qt6/QtCore/qobjectdefs_impl.h:140
#14 QtPrivate::FunctorCallable, int, long int>::call, void> (f=, arg=)
at /usr/include/qt6/QtCore/qobjectdefs_impl.h:362
#15 QtPrivate::QCallableObject, QtPrivate::List, void>::impl(int,
QtPrivate::QSlotObjectBase *, QObject *, void **, bool *)
(which=, this_=, r=,
a=, ret=) at
/usr/include/qt6/QtCore/qobjectdefs_impl.h:572
#16 0x74badd9a in ??? () at /usr/lib/libQt6Core.so.6
#17 0x76b43349 in Quotient::BaseJob::retryScheduled (this=, _t1=, _t2=)
at
/usr/src/debug/libquotient-debug-git/build/QuotientQt6_autogen/T4CFEN5LXH/moc_basejob.cpp:510
#18 0x74badd9a in ??? () at /usr/lib/libQt6Core.so.6
#19 0x74bb6f44 in QTimer::timerEvent(QTimerEvent*) () at
/usr/lib/libQt6Core.so.6
#20 0x74b9f569 in QObject::event(QEvent*) () at
/usr/lib/libQt6Core.so.6
#21 0x75cfe0b7 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#22 0x74b55f08 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#23 0x74ccaba9 in QTimerInfoList::activateTimers() () at
/usr/lib/libQt6Core.so.6
#24 0x74db3edc in ??? () at /usr/lib/libQt6Core.so.6
#25 0x7250aeb9 in ??? () at /usr/lib/libglib-2.0.so.0
#26 0x7256b5d7 in ??? () at /usr/lib/libglib-2.0.so.0
#27 0x7250a432 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#28 0x74db1358 in
QEventDispatcherGlib::processEvents(QFlags) ()
at /usr/lib/l

[NeoChat] [Bug 496489] Crash with segmentation fault when browsing settings for a newly created account.

2024-11-20 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=496489

dreieck  changed:

   What|Removed |Added

 CC||felics-...@kettenbruch.de

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

[NeoChat] [Bug 496489] Crash with segmentation fault when browsing settings for a newly created account.

2024-11-20 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=496489

dreieck  changed:

   What|Removed |Added

   Keywords||qt6

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

[NeoChat] [Bug 495748] Crashes with segmentation fault when trying to enter "Security" or "Device" settings, or maybe others.

2024-11-20 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=495748

--- Comment #13 from dreieck  ---
(In reply to Schrijvers Luc from comment #11)
> Got similar crashes on Haiku, now with sources pulled from 24.12 branch,
> haven't run it over debugger (yet), but wanting to save my findings here
> also for now.

With the same preconditions?

i.E. when going to "Settings" -> "Devices" when no local keychain provider is
available via DBUS?

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

[NeoChat] [Bug 495748] Crashes with segmentation fault when trying to enter "Security" or "Device" settings, or maybe others.

2024-11-26 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=495748

dreieck  changed:

   What|Removed |Added

Version|git master  |24.08.2

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

[Skanpage] [Bug 499486] Skanpage not able to set selection area in Preview

2025-03-15 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=499486

--- Comment #15 from dreieck  ---
... having upgraded to kquickimageeditor 0.5.1 (.1 subversion), actually the
issue was gone already for me. I don't know how general it is.

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

[Skanpage] [Bug 499486] Skanpage not able to set selection area in Preview

2025-03-08 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=499486

dreieck  changed:

   What|Removed |Added

 CC||felics-...@kettenbruch.de

--- Comment #11 from dreieck  ---
I can confirm, I have the same issue, too. Appeared recently after a system
update. I am on Artix GNU/Linux, a rolling release distribution, using (almost)
newest version of almost all software

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

[Skanpage] [Bug 499486] Skanpage not able to set selection area in Preview

2025-03-08 Thread dreieck
https://bugs.kde.org/show_bug.cgi?id=499486

dreieck  changed:

   What|Removed |Added

Version|24.12.1 |24.12.2

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