Comments (8)
Was it a private message? Was there any special about the message like mentions or urls in it, or was it just plain text?
There should be a way for discord-bitlbee to miss a message unless websocket connection is broken somehow and it reconnects as soon as it detects this there also shouldn't be any difference between a "lost" message and a message sent while you are offline. I tried to reproduce it by sending a bunch of both private and channel messages to my other account while it was offline and logged in just fine.
May not have anything to do with it, but I pulled the latest git before I had the last message sent to me.
So just to be clear: you were running latest bitlbee-discord(i.e. ae894c5) both when it lost the message and when bitlbee crashed with SIGSEGV?
from bitlbee-discord.
Yes, private message. Moreover, i opened an icnognito window, opened the invite url for the discord server without logging in and sent a two letter message to myself on bitlbee. Nothing.
I tried sending a private message from bitlbee to my incognito self and it said that the user is offline. No message was received on the other end. Also i couldn't even tab-complete on my irc client to my incognito client, as if he wasn't in the channels .
Weird. I am using 3.4.1 bitlbee and 1.6.0 websocket releases without git, but pulling latest bitlbee-discord.
I have the same setup at work without your latest commit, i'll test more when i get there -- but i have been recompiling stuff a lot, could something have been compiled incorrectly?
Sent from iPhone
On 14 Jan 2016, at 12:38, Artem Savkov [email protected] wrote:
Was it a private message? Was there any special about the message like mentions or urls in it, or was it just plain text?
There should be a way for discord-bitlbee to miss a message unless websocket connection is broken somehow and it reconnects as soon as it detects this there also shouldn't be any difference between a "lost" message and a message sent while you are offline. I tried to reproduce it by sending a bunch of both private and channel messages to my other account while it was offline and logged in just fine.
May not have anything to do with it, but I pulled the latest git before I had the last message sent to me.
So just to be clear: you were running latest bitlbee-discord(i.e. ae894c5) both when it lost the message and when bitlbee crashed with SIGSERV?
—
Reply to this email directly or view it on GitHub.
from bitlbee-discord.
Also i have a crash report diagnostic if that woukd help
Sent from iPhone
On 14 Jan 2016, at 12:38, Artem Savkov [email protected] wrote:
Was it a private message? Was there any special about the message like mentions or urls in it, or was it just plain text?
There should be a way for discord-bitlbee to miss a message unless websocket connection is broken somehow and it reconnects as soon as it detects this there also shouldn't be any difference between a "lost" message and a message sent while you are offline. I tried to reproduce it by sending a bunch of both private and channel messages to my other account while it was offline and logged in just fine.
May not have anything to do with it, but I pulled the latest git before I had the last message sent to me.
So just to be clear: you were running latest bitlbee-discord(i.e. ae894c5) both when it lost the message and when bitlbee crashed with SIGSERV?
—
Reply to this email directly or view it on GitHub.
from bitlbee-discord.
Ok, it is a bit more clear now. The crash you were seeing should be fixed by c09d403, I managed to trigger a crash in backlog code by deleting a channel it was sent to, It is not what happened in your case but the failure point should be the same.
The problem with incognito messages not showing up is not solved however, looks like those are handled differently from normal users, I'll look closer into this.
from bitlbee-discord.
Wait.
When I got to work, I couldn't login to discord AT ALL with segfaults.
Then I saw your commit, and it fixed that. But wait.
Connect to your bitlebee-discord. Then ask a registered user to send you a
message that has NEVER ever sent you a private message before.
You should not get it. Restart bitlebee-discord and connect. You should
crash.
Open web browser, read message, restart bitlbee-discord. Everything is
fine. From that point onwards you should receive messages from that user
just fine.
I tested this with two accounts without incognito and I could not it to
reproduce the bug, even when i deleted every single message from the
message history of my browser user.
Then I asked someone else to send me a private message, and BOOM.
On Thu, Jan 14, 2016 at 2:42 PM, Artem Savkov [email protected]
wrote:
Ok, it is a bit more clear now. The crash you were seeing should be fixed
by c09d403
c09d403,
I managed to trigger a crash in backlog code by deleting a channel it was
sent to, It is not what happened in your case but the failure point should
be the same.The problem with incognito messages not showing up is not solved however,
looks like those are handled differently from normal users, I'll look
closer into this.—
Reply to this email directly or view it on GitHub
#14 (comment)
.
from bitlbee-discord.
Ah, that how it works, that makes sense now. Thanks for finding the reproducer, I'll look into this later today.
from bitlbee-discord.
Ok, now I found what was going on with both missing messages and that sefgault. 4dc5bce should fix both. Thanks again for this report.
Can you check if the latest commit fixes it for you?
from bitlbee-discord.
Tested it with @Silver-D, seems to work now.
from bitlbee-discord.
Related Issues (20)
- [FEATURE] HOT 2
- Add variable auto_join_whitelist ?
- discord - Login error: Connection timeout HOT 2
- Https links appear in the wrong query HOT 1
- Embeds not showing
- Using CFLAGS and LDFLAGS on command line to find bitlbee includes and libs HOT 6
- Threads support HOT 3
- Backlog fetching blocks Discord websocket heartbeat, Bitlbee response to PING HOT 5
- Login in is broken with glib2 >2.68 HOT 11
- Failed to switch to websocket mode HOT 2
- token location described in README out of date HOT 3
- Status aliases broken - "/away DND - some text" works, "/away Busy - some text" does not HOT 4
- Will bitlbee-discord work with a big account? HOT 3
- No incoming messages HOT 7
- Provide way to manually request backlog HOT 3
- Seeing own messages after change to new usernames HOT 1
- joining a discord channel doesn't show anyone else messages HOT 1
- Crashes on discord_parse_message
- discord - Login error: Failed to switch to websocket mode (and 400 bad request from cloudflare) HOT 3
- Add support for turning custom stickers into URLs (e.g. larger custom emoji)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bitlbee-discord.