Bug #37325 Connection Error When Hostname is too long
Submitted: 11 Jun 2008 2:21 Modified: 11 Jul 2008 3:12
Reporter: Ryan Lowe Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Query Browser Severity:S3 (Non-critical)
Version:1.2.12 OS:MacOS (10.5.3)
Assigned to: CPU Architecture:Any
Tags: Long Hostname, NSTask

[11 Jun 2008 2:21] Ryan Lowe
Description:
If a long hostname is entered (about 15 minutes of a cat sitting on the keyboard), and then click "Ping Host" on the Connection Error dialog box, the ping returns the following error:

2008-06-10 22:13:05.545 MySQL Query Browser[5685:203] *** NSTask: Task create for path '/sbin/ping' failed: 7, "Argument list too long".  Terminating temporary process.

How to repeat:
See above.
[11 Jun 2008 3:12] Valeriy Kravchuk
Thank you for a problem report. Why do you think this is a bug? What behaviour you'd like to see in cases like that?
[11 Jul 2008 23:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
[8 Aug 2008 14:16] Federico Razzoli
On Linux, the behavior is even worst. After clicking on Connect, a pseudo-window appears and the program crashes or freezes (and you must terminate the process).

Maybe the field should have a maximum length.