normen / whatscli

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

Segemntation fault when starting the application #98

Closed C-0-S-M-1-N closed 1 year ago

C-0-S-M-1-N commented 1 year ago

neofetch output:

                                     ......            cosmin@local_ip
     .,cdxxxoc,.               .:kKMMMNWMMMNk:.        ------------------- 
    cKMMN0OOOKWMMXo. ;        ;0MWk:.      .:OMMk.     OS: openSUSE Tumbleweed x86_64 
  ;WMK;.       .lKMMNM,     :NMK,             .OMW;    Host: myhost
 cMW;            'WMMMN   ,XMK,                 oMM'   Kernel: 6.3.7-1-default 
.MMc               ..;l. xMN:                    KM0   Uptime: 8 hours 
'MM.                   'NMO                      oMM   Packages: 8546 (rpm), 8 (flatpak) 
.MM,                 .kMMl                       xMN   Shell: bash 5.2.15 
 KM0               .kMM0. .dl:,..               .WMd   Resolution: 1920x1080 
 .XM0.           ,OMMK,    OMMMK.              .XMK    DE: GNOME 44.2 
   oWMO:.    .;xNMMk,       NNNMKl.          .xWMx     WM: Mutter 
     :ONMMNXMMMKx;          .  ,xNMWKkxllox0NMWk,      WM Theme: Adwaita 
         .....                    .:dOOXXKOxl,         Theme: Adwaita [GTK2/3] 
                                                       Icons: Adwaita [GTK2/3] 
                                                       Terminal: gnome-terminal 
                                                       CPU: Intel i5-8265U (8) @ 3.900GHz 
                                                       GPU: Intel WhiskeyLake-U GT2 [UHD Graphics 620] 
                                                       Memory: 3329MiB / 7781MiB 

this is what i did so far: git clone https://github.com/normen/whatscli.git
go get . && go get -u . && go build . && go install .
go run .

i cant select any text nor i can see what i write in the console

here is what i can get from the error in text form:

panic: runtime error: invalid memory address or nil pointer dereference ------------------------------
[signal SIGSEV: segmentation violation code=0x1 addr=0x28 pc=<different each time>

and many more github repos?

Screenshot from 2023-06-27 22-17-31

normen commented 1 year ago

See #51 and #72