Comments (6)
Actually it seems that every time when I try to start the bridge, it invites me to one new room and then immediately crashes.
from slack.
Some debug log just before the crash:
[Oct 4, 2022 15:32:37] [Matrix/Bot/DEBUG] req #22: PUT http://localhost:8008/_matrix/client/v3/rooms/%21xxxx:foo.bar.com/state/m.room.member/@foouser:foo.bar.com?user_id=%40slackbot%3Afoo.bar.com {"membership":"invite"}
[Oct 4, 2022 15:32:37] [Matrix/DEBUG] Starting handling of transaction 8018971 (1 PDUs)
[Oct 4, 2022 15:32:37] [Matrix/Bot/DEBUG] req #22 (/v3/rooms/!xxx:foo.bar.com/state/m.room.member/@foouser:foo.bar.com) completed in 36.48196ms with status 200 and 59 bytes of application/json body
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xaa63a5]
goroutine 62 [running]:
main.(*User).updateChatMute(0xc000432140, 0xc000438a80, 0x1)
/opt/mautrix-slack/current/user.go:747 +0x45
main.(*Portal).CreateMatrixRoom(0xc000438a80, 0xc000432140, 0xc0003140a0, 0xc0004951a6?, 0x0)
/opt/mautrix-slack/current/portal.go:370 +0xf7d
main.(*Portal).HandleSlackMessage(0xc000438a80, 0xc00036d950?, 0xc0003140a0, 0xc000496b00)
/opt/mautrix-slack/current/portal.go:1354 +0x35e
main.(*User).slackMessageHandler(0xc000432140, 0xc0003140a0)
/opt/mautrix-slack/current/user.go:415 +0x8c7
created by main.(*User).connectTeam
/opt/mautrix-slack/current/user.go:467 +0x46b
from slack.
Should be fixed in 19422dd
from slack.
Hmm, I compiled the fixed version from the git now, but I was able to re-produce the issue, two times within 5 minutes:
[Oct 4, 2022 18:09:09] [Portal/T03BQ3NU9-C040N0SQY/INFO] Matrix room created: !xxx:foobar.com
[Oct 4, 2022 18:09:09] [Matrix/Bot/DEBUG] req #16: PUT http://localhost:8008/_matrix/client/v3/rooms/%21xxx:foobar.com/state/m.room.member/@foouser:foobar.com?user_id=%40slackbot%3Afoobar.com {"membership":"invite"}
[Oct 4, 2022 18:09:09] [Matrix/Bot/DEBUG] req #16 (/v3/rooms/!xxx:foobar.com/state/m.room.member/@foouser:foobar.com) completed in 185.805367ms with status 200 and 59 bytes of application/json body
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xaa63a5]
goroutine 45 [running]:
main.(*User).updateChatMute(0xc000432080, 0xc000073380, 0x1)
/opt/mautrix-slack/20221004_2/user.go:747 +0x45
main.(*Portal).CreateMatrixRoom(0xc000073380, 0xc000432080, 0xc00043d400, 0xc0002f9827?, 0x0)
/opt/mautrix-slack/20221004_2/portal.go:370 +0xf7d
main.(*Portal).HandleSlackMessage(0xc000073380, 0xc000029b90?, 0xc00043d400, 0xc0003f3600)
/opt/mautrix-slack/20221004_2/portal.go:1354 +0x35e
main.(*User).slackMessageHandler(0xc000432080, 0xc00043d400)
/opt/mautrix-slack/20221004_2/user.go:415 +0x8c7
created by main.(*User).connectTeam
/opt/mautrix-slack/20221004_2/user.go:467 +0x46b
[Oct 4, 2022 18:24:18] [Matrix/Bot/DEBUG] req #48 (/v3/createRoom) completed in 437.839018ms with status 200 and 43 bytes of application/json body
[Oct 4, 2022 18:24:18] [Portal/T03BQ3NU9-C66UM4J82/INFO] Matrix room created: !xxx:foobar.com
[Oct 4, 2022 18:24:18] [Matrix/Bot/DEBUG] req #49: PUT http://localhost:8008/_matrix/client/v3/rooms/%21xxx:foobar.com/state/m.room.member/@foouser:foobar.com?user_id=%40slackbot%3Afoobar.com {"membership":"invite"}
[Oct 4, 2022 18:24:18] [Matrix/DEBUG] Starting handling of transaction 8020574 (1 PDUs)
[Oct 4, 2022 18:24:18] [Matrix/Bot/DEBUG] req #49 (/v3/rooms/!xxx:foobar.com/state/m.room.member/@foouser:foobar.com) completed in 40.57135ms with status 200 and 59 bytes of application/json body
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0xaa63a5]
goroutine 50 [running]:
main.(*User).updateChatMute(0xc0004300c0, 0xc0000b6cc0, 0x1)
/opt/mautrix-slack/20221004_2/user.go:747 +0x45
main.(*Portal).CreateMatrixRoom(0xc0000b6cc0, 0xc0004300c0, 0xc000444460, 0xc0002a9470?, 0x0)
/opt/mautrix-slack/20221004_2/portal.go:370 +0xf7d
main.(*Portal).HandleSlackMessage(0xc0000b6cc0, 0xc00042aee0?, 0xc000444460, 0xc000494dc0)
/opt/mautrix-slack/20221004_2/portal.go:1354 +0x35e
main.(*User).slackMessageHandler(0xc0004300c0, 0xc000444460)
/opt/mautrix-slack/20221004_2/user.go:415 +0x8c7
created by main.(*User).connectTeam
/opt/mautrix-slack/20221004_2/user.go:467 +0x46b
from slack.
Yes, I see I made a mistake in the last fix. Try again now and see if it crashes with the latest commit now?
from slack.
So far, so good! :)
from slack.
Related Issues (20)
- Group rooms in spaces by team HOT 1
- Group DMs are not fully bridged
- Slack avatars not bridged reliably HOT 1
- Thread replies sent to channel are missing HOT 3
- emoji 👍 from matrix side is not bridged HOT 2
- Long URLs aren't bridged correctly HOT 6
- Some room names keep changing to `#` name only and back and forth HOT 2
- Threaded messages are unreliable HOT 1
- Give rooms the slack teams avatar HOT 1
- All rooms created are set to not federate
- Slack embedded objects are not shown HOT 2
- Newlines missing on Matrix for Slack formatted messages without blocks HOT 1
- Consider support for Slack slash commands HOT 1
- Joining workspaces within an overall workspace causes duplicate rooms to appear
- Option to only bridge DMs (and DM groups) HOT 1
- Slack user's display name / real name is not applied in Matrix HOT 1
- login-token does not detect when the token has expired
- Minor bug: Message reactions made through Matrix are duplicated on the Matrix side HOT 1
- Slackbot renamed all the Slack rooms without the name HOT 5
- Display name templating is not functional HOT 1
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 slack.