GithubHelp home page GithubHelp logo

Comments (8)

sm00th avatar sm00th commented on June 20, 2024

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.

Silver-D avatar Silver-D commented on June 20, 2024

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.

Silver-D avatar Silver-D commented on June 20, 2024

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.

sm00th avatar sm00th commented on June 20, 2024

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.

Silver-D avatar Silver-D commented on June 20, 2024

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.

sm00th avatar sm00th commented on June 20, 2024

Ah, that how it works, that makes sense now. Thanks for finding the reproducer, I'll look into this later today.

from bitlbee-discord.

sm00th avatar sm00th commented on June 20, 2024

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.

sm00th avatar sm00th commented on June 20, 2024

Tested it with @Silver-D, seems to work now.

from bitlbee-discord.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.