vysheng / tg

telegram-cli
GNU General Public License v2.0
6.45k stars 1.53k forks source link

Doesn't work properly with Mac OS X Yosemite #560

Open tellergeim opened 9 years ago

tellergeim commented 9 years ago

When I'm trying to run this program as a daemon, it prints:

MacBook-Air-Pavel:tg paus$ ./bin/telegram-cli -dWS /home/paus/tg.sck & [2] 14789 MacBook-Air-Pavel:tg paus$ SIGNAL received S0 telegram-cli 0x0000000107dbaeea print_backtrace + 42 1 telegram-cli 0x0000000107dbaff7 termination_signal_handler + 199 2 libsystem_platform.dylib 0x00007fff9804df1a _sigtramp + 26 3 ??? 0x0000000115344000 0x0 + 4650713088 4 libsystem_c.dylib 0x00007fff8ffe1b53 abort + 129 5 libsystem_c.dylib 0x00007fff8ffe1cca _UTF2_init + 0 6 libsystem_c.dylib 0x00007fff90007db0 __chk_fail_overlap + 0 7 libsystem_c.dylib 0x00007fff90007d80 chk_fail + 0 8 libsystem_c.dylib 0x00007fff900080c6 strcat_chk + 0 9 telegram-cli 0x0000000107dbb59a main + 986 10 libdyld.dylib 0x00007fff9be8c5c9 start + 1 11 ??? 0x0000000000000003 0x0 + 3

[2]- Exit 1 ./bin/telegram-cli -dWS /home/paus/tg.sck

And crashes out.

What is the problem in such behavior?

My platform is:

MacBook-Air-Pavel:tg paus$ uname -a Darwin MacBook-Air-Pavel.local 14.3.0 Darwin Kernel Version 14.3.0: Mon Mar 23 11:59:05 PDT 2015; root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64

luckydonald commented 9 years ago

/home/paus/tg.sck is a linux socket? Does that work with Mac OS? Does a Port-socket work instead?