Program crashes #38

Closed
opened 2020-04-14 20:58:19 +00:00 by yura · 2 comments

I've installed it with bundled qxmpp. Program starts, i add my account and when i'm trying to connect it accidently stops after few seconds.

Logs from terminal:

Starting squawk core..
requesting vCard "blue@macaw.me"
requesting vCard "inexcode@dageraad.me"
requesting vCard "plant_1312@macaw.me"
requesting vCard "rykido@404.city"
room "decentralized@conference.moemoekyun.moe" added with name "" , account "yura" joined: false
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
If that is not possible, in Qt 5 you must at least reimplement
QCoreApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
[1]    19592 abort      squawk

I've installed it with bundled qxmpp. Program starts, i add my account and when i'm trying to connect it accidently stops after few seconds. Logs from terminal: ``` Starting squawk core.. requesting vCard "blue@macaw.me" requesting vCard "inexcode@dageraad.me" requesting vCard "plant_1312@macaw.me" requesting vCard "rykido@404.city" room "decentralized@conference.moemoekyun.moe" added with name "" , account "yura" joined: false Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must not let any exception whatsoever propagate through Qt code. If that is not possible, in Qt 5 you must at least reimplement QCoreApplication::notify() and catch all exceptions there. terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc [1] 19592 abort squawk ```
blue added the
Bug
label 2020-04-14 21:38:50 +00:00
Author

running with dbg

gdb ./squawk     
GNU gdb (Debian 8.2.1-2+b3) 8.2.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./squawk...done.
(gdb) r
Starting program: /home/yurko/squawk/build/squawk 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee932700 (LWP 24182)]
[New Thread 0x7fffec86e700 (LWP 24185)]
[New Thread 0x7fffe7fff700 (LWP 24186)]
[New Thread 0x7fffe731f700 (LWP 24187)]
[New Thread 0x7fffe6693700 (LWP 24188)]
Starting squawk core..
[New Thread 0x7fffe5e92700 (LWP 24189)]
[New Thread 0x7fffd3fff700 (LWP 24191)]
[New Thread 0x7fffd37fe700 (LWP 24192)]
requesting vCard "blue@macaw.me"
requesting vCard "inexcode@dageraad.me"
requesting vCard "plant_1312@macaw.me"
requesting vCard "rykido@404.city"
room "decentralized@conference.moemoekyun.moe" added with name "" , account "yura" joined: false
Qt has caught an exception thrown from an event handler. Throwing
exceptions from an event handler is not supported in Qt.
You must not let any exception whatsoever propagate through Qt code.
If that is not possible, in Qt 5 you must at least reimplement
QCoreApplication::notify() and catch all exceptions there.

terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc

Thread 6 "QThread" received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffe6693700 (LWP 24188)]
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) 

running with dbg ``` gdb ./squawk GNU gdb (Debian 8.2.1-2+b3) 8.2.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from ./squawk...done. (gdb) r Starting program: /home/yurko/squawk/build/squawk [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffee932700 (LWP 24182)] [New Thread 0x7fffec86e700 (LWP 24185)] [New Thread 0x7fffe7fff700 (LWP 24186)] [New Thread 0x7fffe731f700 (LWP 24187)] [New Thread 0x7fffe6693700 (LWP 24188)] Starting squawk core.. [New Thread 0x7fffe5e92700 (LWP 24189)] [New Thread 0x7fffd3fff700 (LWP 24191)] [New Thread 0x7fffd37fe700 (LWP 24192)] requesting vCard "blue@macaw.me" requesting vCard "inexcode@dageraad.me" requesting vCard "plant_1312@macaw.me" requesting vCard "rykido@404.city" room "decentralized@conference.moemoekyun.moe" added with name "" , account "yura" joined: false Qt has caught an exception thrown from an event handler. Throwing exceptions from an event handler is not supported in Qt. You must not let any exception whatsoever propagate through Qt code. If that is not possible, in Qt 5 you must at least reimplement QCoreApplication::notify() and catch all exceptions there. terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc Thread 6 "QThread" received signal SIGABRT, Aborted. [Switching to Thread 0x7fffe6693700 (LWP 24188)] __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 50 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory. (gdb) ```
Owner

Didn't handle the case when there are no avatars yet in the conference database. Now it should be fine

Didn't handle the case when there are no avatars yet in the conference database. Now it should be fine
blue closed this issue 2020-04-15 15:20:39 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blue/squawk#38
No description provided.