<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 6 Apr 2020, at 18:15, bagdiafa wrote:</p>

</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">Every time i start up TextMate (2.0.6.) a message box appears with the<br>
following error:<br>
<br>
Could not bind to socket: /tmp/textmate-501.sock<br>
Error: Undefined error: 0<br>
<br>
After closing the message box, the application works just fine.</p>
</blockquote></div>
<div style="white-space:normal">

<p dir="auto">The socket that TextMate fails to bind to is used for the <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">mate</code> shell command, therefore it will work fine despite this error, though <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">mate</code> probably won’t be able to open files in TextMate.</p>

<p dir="auto">Though as to why it fails, that is pretty strange. It’s the first I hear of failure setting up the socket, and the code to setup the socket actually tests various conditions, like if it’s because there is already an old socket, etc. and that it shows “Undefined error” indicates the OS doesn’t even know why the <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">bind()</code> call fails.</p>

<p dir="auto">I would imagine that some kernel data related to sockets has gotten into a bad state, and probably the problem can be solved by a reboot (if you haven’t already found a solution, I realize this reply comes a little late).</p>
</div>
</div>
</body>
</html>