assuming you worked out the access to network by your code permissions that means memory heap or stack is being overrun...you would be well advised to download the connect() and sendto() code from the OS vendor and toss in plenty of codeguard and debug statements and recompile and rebuild.
Mit Fruendlichen Grüßen Martin (12.2°C) ______________________________________________ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > From: p...@computer.org > Subject: UDF writing to unix socket - segfaults? > Date: Wed, 8 Aug 2012 08:26:23 +0200 > To: mysql@lists.mysql.com > > I am writing a UDF for sending messages to a local daemon. I've been > trying to make it use a UNIX socket, but it keeps segfaulting on > connect() or sendto(). I have double and tripled checked everything, > but I'm not finding anything. > > After a day or two, I finally decided to switch to UDP and writing to > localhost instead, which works fine. I still feel writing to a UNIX > socket ought to work and even if I've got a permission issue or > similar, a segfault is not the appropriate handling. Any clues? > > > -- > Per Jessen, Zürich (16.5°C) > > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/mysql >