>Description: A core dump is issued if you execute the 'tee' command with a file that exists but you have no permission to write to it. >How-To-Repeat: $ su - $ touch /tmp/core.lst $ su - anyotheruser $ mysql -u <anyotheruser> -p <dbname> mysql> tee /tmp/core.lst >Fix: gdb tells me the stack trace is: #0 0x401860cf in _IO_vfprintf (s=0x0, format=0x806a873 "Logging to file '%s'\n", ap=0xbffff7a8) at vfprintf.c:270 #1 0x8054113 in tee_fprintf () #2 0x80530b7 in com_tee () #3 0x805134f in read_lines () #4 0x80509be in main () #5 0x4014eb65 in __libc_start_main (main=0x805068c <main>, argc=3, ubp_av=0xbffffac4, init=0x804fba8 <_init>, fini=0x80687fc <_fini>, rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffffabc) at ../sysdeps/generic/libc-start.c:111 Therefore, the problem is likely to be in tee_fprintf(). >Submitter-Id: [EMAIL PROTECTED] >Originator: jlh >Organization: Hotsos, Enterprises Ltd. >MySQL support: none >Synopsis: tee command causes core dump >Severity: non-critical >Priority: low >Category: mysql >Class: sw-bug >Release: mysql-3.23.32 (Source distribution) >Server: /usr/local/bin/mysqladmin Ver 8.14 Distrib 3.23.32, for pc-linux-gnu on i686 Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX DataKonsult AB This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to modify and redistribute it under the GPL license Server version 3.23.32 Protocol version 10 Connection Localhost via UNIX socket UNIX socket /tmp/mysql.sock Uptime: 2 min 27 sec Threads: 1 Questions: 130 Slow queries: 0 Opens: 59 Flush tables: 1 Open tables: 18 Queries per second avg: 0.884 >Environment: System: Linux www.hotsos.com 2.2.16-22enterprise #1 SMP Tue Aug 22 16:29:32 EDT 2000 i686 unknown Architecture: i686 Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc GCC: Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.96/specs gcc version 2.96 20000731 (Red Hat Linux 7.0) Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS='' LDFLAGS='' LIBC: lrwxrwxrwx 1 root root 14 Feb 16 16:01 /lib/libc.so.6 -> libc-2.1.92.so -rwxr-xr-x 1 root root 4776568 Aug 30 17:56 /lib/libc-2.1.92.so -rw-r--r-- 1 root root 22607104 Aug 30 17:15 /usr/lib/libc.a -rw-r--r-- 1 root root 178 Aug 30 17:15 /usr/lib/libc.so lrwxrwxrwx 1 root root 10 Jan 3 2000 /usr/lib/libc-client.a -> c-client.a Configure command: ./configure --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php