normen / whatscli

A command line interface for WhatsApp
605 stars 46 forks source link

fedora37: crash on startup #88

Closed yuvalif closed 1 year ago

yuvalif commented 1 year ago

build from source (go build) on fedora37 with: go version go1.19.4 linux/amd64 when running ./whatscli i get:

panic: runtime error: invalid memory address or nil pointer dereference                                                                                                                                                                       
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x831aff]

goroutine 28 [running]:
github.com/Rhymen/go-whatsapp.(*Conn).Login(0x0, 0x0?)
  /home/ylifshit/go/pkg/mod/github.com/!rhymen/go-whatsapp@v0.1.2-0.20210615184944-2b8a3e9b8aa2/session.go:191 +0x7f
github.com/normen/whatscli/messages.(*SessionManager).loginWithConnection(0xc0001b4bb0, 0x0)
  /home/ylifshit/projects/whatscli/messages/session_manager.go:234 +0x1d3
github.com/normen/whatscli/messages.(*SessionManager).runManager(0xc0001b4bb0)
  /home/ylifshit/projects/whatscli/messages/session_manager.go:71 +0x4e
created by github.com/normen/whatscli/messages.(*SessionManager).StartManager
  /home/ylifshit/projects/whatscli/messages/session_manager.go:65 +0x6b
ozanyetkin commented 1 year ago

I am also facing the same issue on archlinux 6.1.6-arch1-1 using go version go1.19.5 linux/amd64

ju2ez commented 1 year ago

same

Recognizer83 commented 1 year ago

same issue here as well

ArchTonIO commented 1 year ago

Same issue, has anybody found solutions ?

coderunner86 commented 1 year ago

Same issue

normen commented 1 year ago

See #51 and #72