pchat icon indicating copy to clipboard operation
pchat copied to clipboard

client program segfault

Open shellcoder641 opened this issue 6 years ago • 12 comments

I tried testing the program by creating a room and have another user join, but when the other user issue the command -join room_name, the client program segfault and exit.

shellcoder641 avatar Sep 25 '19 05:09 shellcoder641

did u change anythings ?

mach1el avatar Oct 09 '19 03:10 mach1el

No, I didn't. I ran the program as is. I think it's the problem with pyqt

shellcoder641 avatar Oct 09 '19 03:10 shellcoder641

u might setup a new machine on virtualbox and try it again,dont try both in the same machine

mach1el avatar Oct 09 '19 03:10 mach1el

I guess so, but I have some suggestions for it: like when a user connects to the server, the client should show some tips and commands so they know how to create a room or other things.

shellcoder641 avatar Oct 09 '19 03:10 shellcoder641

Oh hey I just got a segfault again. So this is what I did: start the server first, let the 2 users connect to the server. User 1 created a room called hacking. User 2 attempted to join then both segfault, leading to the server segfault.

shellcoder641 avatar Oct 09 '19 03:10 shellcoder641

I guess so, but I have some suggestions for it: like when a user connects to the server, the client should show some tips and commands so they know how to create a room or other things.

actually i made that when user send msg when them not joined in room chat.

mach1el avatar Oct 09 '19 03:10 mach1el

Oh hey I just got a segfault again. So this is what I did: start the server first, let the 2 users connect to the server. User 1 created a room called hacking. User 2 attempted to join then both segfault, leading to the server segfault.

please setup virtual machine dont try in the same machine

mach1el avatar Oct 09 '19 03:10 mach1el

i tested it and everything run is fine.Make sure about nickname,cause i still not add any funct to detect same nickname,second host:port of server to connect

mach1el avatar Oct 09 '19 03:10 mach1el

I guess so, but I have some suggestions for it: like when a user connects to the server, the client should show some tips and commands so they know how to create a room or other things.

actually i made that when user send msg when them not joined in room chat.

yeah but what if they don't send message? I think its good to just put them there when they first connected so users know what to do.

shellcoder641 avatar Oct 09 '19 04:10 shellcoder641

i tested it and everything run is fine.Make sure about nickname,cause i still not add any funct to detect same nickname,second host:port of server to connect

yeah they have different nicknames, I used the default host:port.

shellcoder641 avatar Oct 09 '19 04:10 shellcoder641

I guess so, but I have some suggestions for it: like when a user connects to the server, the client should show some tips and commands so they know how to create a room or other things.

actually i made that when user send msg when them not joined in room chat.

yeah but what if they don't send message? I think its good to just put them there when they first connected so users know what to do.

i made same to hexchat bro :D

mach1el avatar Oct 09 '19 06:10 mach1el

i tested it and everything run is fine.Make sure about nickname,cause i still not add any funct to detect same nickname,second host:port of server to connect

yeah they have different nicknames, I used the default host:port.

default host:port just used for when u test it in same machine,host must change to server's IP

mach1el avatar Oct 09 '19 06:10 mach1el