disconnect / apache-websocket

Apache WebSocket module
Apache License 2.0
196 stars 46 forks source link

Segmentation fault #35

Closed GreenRover closed 3 years ago

GreenRover commented 10 years ago

Hi, when i try to use the websocket with high traffic then i get a segmentation fault.

[Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Core was generated by `/usr/sbin/apache2 -k start'. Program terminated with signal 11, Segmentation fault.

0 0x00007f72d5207e02 in apr_bucket_free () from /usr/lib/libaprutil-1.so.0

(gdb)

I compiled and tested it again an "Apache/2.4.6" and "Apache/2.4.9"

Do you have any ideas hot to where the problem is?

jchampio commented 8 years ago

I know it's been over a year, but by any chance are you using HTTPS? I have seen high-traffic segfaults when using mod_ssl, which I believe are fixed by this pull request. I've forked the repo and applied that patch here: https://github.com/jchampio/apache-websocket

GreenRover commented 8 years ago

Hi thanks for answer. no i dont, i use a reverse proxy for https termination, it is simple ws no wss. But after no response and no solution for this issue i decidet not longer to use this apache module.

jchampio commented 8 years ago

Okay, thanks for the reply! I'll try to add some high-traffic testing to the fork eventually and see if I can flush out any problems.

GreenRover commented 3 years ago

Very out dated