-
-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault when writing message to self #1308
Comments
Must be something wrong with recent sqlite code. Your incoming message can be either |
And how does it get set |
@mdosch You sent a message from martin@example.org to martin@example.org via regular 1:1 chat from Conversations while both clients were online? |
Yes, that's exactly what I do sometimes. I forward messages from a MUC
to not have to scroll back a long time to find them again.
…On 10.04.2020 05:16, Michael Vetter wrote:
@mdosch You sent a message from ***@***.*** to ***@***.*** via regular 1:1 chat from Conversations?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#1308 (comment)
|
"forward from a MUC" I wonder what it does there. Whether there is really some kind of forwarding (thus type=muc) or whether it just copies it the content. |
I just tried sending a message from martin@example.org to
martin@example.org in profanity (`/msg martin@example.org
https://www.youtube.com/watch?v=kLO1djacsfg`) and that is also leading
to the segfault so it should be easy for you to reproduce it.
…On 10.04.2020 05:16, Michael Vetter wrote:
@mdosch You sent a message from ***@***.*** to ***@***.*** via regular 1:1 chat from Conversations?
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#1308 (comment)
|
Segfault when self-messaging from profanity:
Program received signal SIGSEGV, Segmentation fault.
__strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
65 ../sysdeps/x86_64/multiarch/strlen-avx2.S: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:65
#1 0x00007ffff6c206df in __GI___strdup (s=0x0) at strdup.c:41
#2 0x00005555555b0592 in win_print_history (window=0x55555cc5ab50, message=0x55555cc636d0) at src/ui/window.c:1229
#3 0x00005555555c9ad5 in _chatwin_history (chatwin=0x55555cc5ab50, contact_barejid=0x55555cc61af0 "martin@mdosch.de")
at src/ui/chatwin.c:489
#4 0x00005555555c8aa1 in chatwin_new (barejid=0x55555cc61af0 "martin@mdosch.de") at src/ui/chatwin.c:70
#5 0x00005555555d4b63 in cmd_msg (window=0x55555577d4d0, command=0x55555cc5d540 "/msg", args=0x555558628930)
at src/command/cmd_funcs.c:2158
#6 0x00005555555e4bc3 in _cmd_execute (window=0x55555577d4d0, command=0x55555cc5d540 "/msg",
inp=0x555557f1e720 "/msg martin@mdosch.de https://www.youtube.com/watch?v=kLO1djacsfg")
at src/command/cmd_funcs.c:7998
#7 0x00005555555cfcd2 in cmd_process_input (window=0x55555577d4d0,
inp=0x555557f1e720 "/msg martin@mdosch.de https://www.youtube.com/watch?v=kLO1djacsfg")
at src/command/cmd_funcs.c:143
#8 0x000055555558c20f in prof_run (log_level=0x555555647852 "INFO", account_name=0x0, config_file=0x0, log_file=0x0,
theme_name=0x0) at src/profanity.c:117
#9 0x000055555561d6a8 in main (argc=1, argv=0x7fffffffe1e8) at src/main.c:180
…On 10.04.2020 05:30, Michael Vetter wrote:
"forward from a MUC" I wonder what it does there. Whether there is really some kind of forwarding (thus type=muc) or whether it just copies it the content.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#1308 (comment)
|
Problem is the SQL statement
|
Works well, thanks.
…On 10.04.2020 06:00, Michael Vetter wrote:
Closed #1308 via b2eea96.
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
#1308 (comment)
|
When I sent a message to my own JID with conversations profanity crashed with a segfault. @pasis assumed this is to a missing resource part in either from or to. The message I received had bare JID without resource part in "from=".
Expected Behavior
No segfault.
Current Behavior
Segfault
Steps to Reproduce (for bugs)
Environment
Debian Bullseye (Testing)
Version 0.8.1dev.master.f42f856d as well as Version 0.8.1dev.master.c90a5d17
The text was updated successfully, but these errors were encountered: