Skip to content

server meets segmentation fault #30

@kuyagic

Description

@kuyagic

I run the server side in non-daemon mode for about 2 days and just now meet the following error

2017/11/14 20:08:09 [ERR]: connect to :6222 failed: connection refused
Assertion failed: strlen(client->target_addr) > 2 (/root/xSocks/src/xSocksd_client.c: request_start: 159)
Segmentation fault (core dumped)

client side log seems ok.

2017/11/13 22:51:26 [ERR]: connect to server failed: connection refused
2017/11/14 20:08:22 [ERR]: connect to server failed: connection refused
2017/11/14 20:08:22 [ERR]: connect to server failed: connection refused

on 2017/11/13 I restart the server side.

also I change the build LDFLAGS to make the binary static
-static -static-libgcc -static-libstdc++

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions