[syslog-ng]syslog-ng 1.4.15 undev FreeBSD 4.6 CORE DUMP
_/CaT\_
cat_roger22@hotmail.com
Mon, 15 Jul 2002 19:58:36 +0200
Sorry, for the fragment information....
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i386-unknown-freebsd"...(no debugging
symbols found)...
(gdb) run -v
Starting program: /usr/sbin/syslog-ng -v
binding fd 6, inetaddr: 0.0.0.0, port: 514
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGTERM, Terminated.
0x280ad634 in sigsuspend () from /usr/lib/libc.so.4
(gdb) where
#0 0x280ad634 in sigsuspend () from /usr/lib/libc.so.4
#1 0x280acf10 in sigpause () from /usr/lib/libc.so.4
#2 0x280a626a in pause () from /usr/lib/libc.so.4
#3 0x8049c41 in go_background ()
#4 0x8049db3 in main ()
#5 0x8049779 in _start ()
(gdb) core syslog-ng.core
A program is being debugged already. Kill it? (y or n) y
Core was generated by `syslog-ng'.
Program terminated with signal 6, Abort trap.
Symbols already loaded for /usr/lib/libc.so.4
Symbols already loaded for /usr/libexec/ld-elf.so.1
#0 0x280ae7b4 in kill () from /usr/lib/libc.so.4
This my sequence install:
1. scsh-0.6.2
2. libol-0.2.23
3. syslog-ng-1.4.15
...apparently without problem
Please, help me.
Thz
-----Original Message-----
From: syslog-ng-admin@lists.balabit.hu
[mailto:syslog-ng-admin@lists.balabit.hu] On Behalf Of _/CaT\_
Sent: Monday, July 15, 2002 2:32 PM
To: syslog-ng@lists.balabit.hu
Subject: RE: [syslog-ng]syslog-ng 1.4.15 undev FreeBSD 4.6 CORE DUMP
The service seems to work correctly but it dies
This is CORE's dump file...please help me !
FreeBSD
syslog-ng
syslog-ng
%s: illegal option -- %c
%s: invalid option -- %c
%s: option requires an argument -- %c
%s: option `-W %s' is ambiguous
%s: option `-W %s' doesn't allow an argument
c_vformat_length: bad format string
c_vformat_write: bad format string
0123456789abcdef
(NULL)
buffer <= start + size
format.c
%z%c
%S%c
fd_callback
close_callback
nonblocking_fd
io_fd
address_info
unix_address_info
inet_address_info
fd_listen_callback
listen_fd
connect_fd
callback
io_backend
fd_read
fd_write
Closing fd %i.
i < nfds
io.c
i == nfds
io_iter: poll failed: %z
io_iter(): POLLHUP on inactive fd!
No listening fds and no pending events, exiting...
io.c: do_read(): Zero length read was requested.
Read EOF on fd %i.
io.c: read() returned EPIPE! Treating it as EOF.
io.c: do_read: read() failed (errno %i), %z
fd = %i, buffer = %xi, length = %i
io.c: do_recv(): Zero length read was requested.
io.c: recvfrom() returned EPIPE! Treating it as EOF.
io.c: do_recv: recvfrom() failed (errno %i), %z
res == ST_HOLD
io.c: do_write: write() failed (errno %i), %z
self->buffer
io.c: accept() failed, %z
connect_callback(): connect() failed
Failed to ignore SIGPIPE.
!(res & ST_HOLD)
blocking_read: Ignoring error %i
binding fd %i, inetaddr: %S, port: %i
io.c: bind_inet_socket() bind failed %I:%i %z
connecting fd %i to inetaddr %S, port %i
binding fd %i, unixaddr: %S
io.c: bind_unix_socket(): %z not a socket
io.c: bind_unix_socket(): bind failed %z (%z)
connecting fd %i, unixaddr: %S
%i.%i.%i.%i
io.c: sockaddr2info(): Unsupported address family %i.
open_socket(): error binding socket
io_set_nonblocking: fcntl() failed, %z
Can't set close-on-exec flag for fd %i: %z
io.c: connecting using fd %i
io.c: listening on fd %i
io.c: Preparing fd %i for reading and writing
io.c: Preparing fd %i for reading
io.c: Preparing fd %i for writing
reopen_fd: open failedfor %S: %z
Marking fd %i for closing.
Internal error, too long message to werror()
object_queue
n->next
queue.c
n->prev
!EMPTYP(q)
abstract_read
read_handler
abstract_write
abstract_buffer
abstract_write_pipe
sanity_check_object_list: Found %i objects, expected %i.
gc_mark: Unexpected stack object!
!o->dead
gc.c
UNKNOWN
gc_mark: Marking object of class '%z' (%i)
gc_mark: Memory corrupted!
live_objects == number_of_objects
Objects alive: %i, garbage collected: %i
busy
idle
Garbage collecting while %z...
Memory corrupted!
Virtual memory exhausted
element_size < 1024
xalloc.c
ol_object_free: Object not allocated on the heap!
ol_string_free: Not string!
ol_object_check: Unexpected marked object!
ol_object_check: Reference to dead object!
ol_object_check: Type error!
ol_object_check_subtype: Memory corrupted!
ol_object_check_subtype: Type error!
ol_free_space: Type error!
pkt_buffer
pkt_buffer::do_flush(): Error flushing data
resource
resource_list
dont_free_live_resource: About to garbage collect a live resource!
/etc/syslog-ng/syslog-ng.conf /var/run/syslog-ng.pid
(lf
0 (l
00 (2
RuneMagiNONE
message repeated
_trap_prova
ONTH/$DAY/$FACILITY$YEAR$MONTH$DAY
hosts
_trap_prova
message repeated
hosts
ftpd
/var/run/log
syslog-ng
0.0.0.0
NTH$DAY
/var/log/all.log
/home/bigjim/send_trap_prova
send_trap_prova
f_prova
f_prova
send_trap_prova
_Bsd@cc@d3mY_
d 30 times
Jul 12 15:38:26
_Bsd@cc@d3mY_
10.11.5.37
syslog-ng
10.11.5.37
d 31 times
10.11.5.37
imes
10.11.5.37
192.168.69.43
times
192.168.69.52
times
nobody
*:65534:
/group,v 1.19.2.2 2002/02/10 11:43:37 obrien Exp $
Jul 12 15:31:39 192.168.69.52 netsaint: SERVICE ALERT:
FW-MI-C1-FL-2;TELNET;OK;SOFT;2;TCP OK - 0 second response time on port
23
Jul 12 15:31:39 192.168.69.52 netsaint: SERVICE ALERT:
FW-MI-C1-FL-2;TELNET;OK;SOFT;2;TCP OK - 0 second response time on port
23
[...]
<31>Jul 12 15:37:50 [LOG_DEBUG] xpand[574]: Request for value by user
adminyfile systemtime on port 23
syslog-ng[19563]: Objects alive: 58, garbage collected: 51
Jul 12 15:38:26 _Bsd@cc@d3mY_ syslog-ng[19563]: Objects alive: 58,
garbage collected: 51 Jul 12 15:38:26 _Bsd@cc@d3mY_ syslog-ng[19563]:
Objects alive: 58, garbage collected: 51
ttloop: peer died: Read-only file system
oop: peer died: Read-only file system
syslog-ng[19563]: Garbage collecting while idle...
/var/log/hosts/192.168.69.43/2002/07/12/kern20020712
e: 70, garbage collected: 38
cts alive: 70, garbage collected: 38
/var/log/hosts/192.168.69.43/2002/07/12/kern20020712
[192.168.69.52]
system
/var/log/hosts/192.168.69.52/2002/07/12/ftp20020712
peer died: Read-only file system
/var/log/hosts/10.11.5.37/2002/07/12/daemon20020712
CMD (/usr/libexec/atrun)
system
peer died: Read-only file system
ttloop: peer died: Read-only file system
ction to vesuvio [192.168.69.52]
/var/log/hosts/192.168.69.43/2002/07/12/kern20020712
[192.168.69.52] /var/log/hosts/cc@d3mY_/2002/07/12/cron20020712
collecting while idle...
192.168.69.43
10.11.5.37
times
_Bsd@cc@d3mY_
Jul 12 15:38:26
10.11.5.37
imes
10.11.5.37
syslog-ng
ion closed
192.168.69.52
_Bsd@cc@d3mY_
Jul 12 15:32:27 /var/log/hosts/cc@d3mY_/2002/07/12/syslog20020712
CMD (/usr/libexec/atrun)
Jul 12 15:38:26 _Bsd@cc@d3mY_ syslog-ng[19563]: Garbage collecting while
idle... send_trap_prova 10.11.5.37
/var/log/hosts/$HOST/$YEAR/$MONTH/$DAY/$FACILITY$YEAR$MONTH$DAY
Jul 12 15:38:26 _Bsd@cc@d3mY_ syslog-ng[19563]: Garbage collecting while
idle... /var/log/hosts/cc@d3mY_/2002/07/12/syslog20020712
or value by user admin
/var/log/hosts/10.11.5.37/2002/07/12/daemon20020712
e: 66, garbage collected: 42
equest for value by user admin
/var/log/hosts/192.168.69.43/2002/07/12/kern20020712
oop: peer died: Read-only file system
/var/log/hosts/192.168.69.52/2002/07/12/user20020712
/var/log/hosts/192.168.69.52/2002/07/12/ftp20020712
or value by user admin
/var/log/hosts/10.11.5.37/2002/07/12/daemon20020712
[...]
not supported
Operation not supported
Socket type not supported
Protocol not supported
Protocol not available
Protocol wrong type for socket
Message too long
Destination address required
Socket operation on non-socket
Operation already in progress
Operation now in progress
Resource temporarily unavailable
Result too large
Numerical argument out of domain
Broken pipe
Too many links
Read-only file system
Illegal seek
No space left on device
File too large
Text file busy
Inappropriate ioctl for device
Too many open files
Too many open files in system
Invalid argument
Is a directory
Not a directory
Operation not supported by device
Cross-device link
File exists
Device busy
Block device required
Bad address
Permission denied
Cannot allocate memory
Resource deadlock avoided
No child processes
Bad file descriptor
Exec format error
Argument list too long
Device not configured
Input/output error
Interrupted system call
No such process
No such file or directory
Operation not permitted
Undefined error: 0
$FreeBSD: src/lib/libc/i386/gen/isinf.c,v 1.6 1999/08/27 23:59:21 peter
Exp $ LC_MONETARY LC_NUMERIC POSIX
0000000000000000
vH7B
W4vC
O8M2
[%Co
RuneMagiNONE
(/usr/libexec/ld-elf.so.1
(/usr/lib/libc.so.4
(syslog-ng
(/usr/lib:/usr/lib/compat:/usr/local/lib
Resource temporarily unavailable
Result too large
Numerical argument out of domain
Broken pipe
Too many links
Read-only file system
Illegal seek
No space left on device
File too large
Text file busy
Inappropriate ioctl for device
Too many open files
Too many open files in system
Invalid argument
Is a directory
Not a directory
Operation not supported by device
Cross-device link
File exists
Device busy
Block device required
Bad address
Permission denied
Cannot allocate memory
Resource deadlock avoided
No child processes
Bad file descriptor
Exec format error
Argument list too long
Device not configured
Input/output error
Interrupted system call
No such process
No such file or directory
Operation not permitted
Undefined error: 0
$FreeBSD: src/lib/libc/string/strlcpy.c,v 1.2.4.1 2001/07/09 23:30:06
obrien Exp $
xdr_bytes: out of memory
xdr_string: out of memory
LC_NUMERIC
LC_MONETARY
POSIX
union
/usr/bin:/bin:/usr/sbin:/sbin:
HASH: Out of overflow pages. Increase page size
%$sniglet^&
TMPDIR
/tmp
%s/bt.XXXXXXXXXX
0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz
/dev/urandom
mpool_new: page allocation overflow.
0123456789abcdef
(null)
0123456789ABCDEF
$FreeBSD: src/lib/libc/i386/gen/isinf.c,v 1.6 1999/08/27 23:59:21 peter
Exp $ ?Infinity ?aCoc ? error:
warning:
/etc/malloc.conf
MALLOC_OPTIONS
unknown char in MALLOC_OPTIONS
mmap(2) failed, check limits
junk pointer, too low to make sense
junk pointer, too high to make sense
modified (page-) pointer
modified (chunk-) pointer
chunk is already free
pointer to wrong page
page is already free
freelist is destroyed
malloc() has never been called
in malloc():
recursive call
out of memory
in free():
in realloc():
Unknown signal:
CAk[S
@(#)getsubopt.c 8.1 (Berkeley) 6/4/93
/etc/rpc
##%%&&))**,,//1122447788;;==>>@@CCEEFFIIJJLLOOQQRRTTWWXX[[]]^^aabbddgghh
kkmmnnppssuuvvyyzz||
@(#) Copyright (c) 1994 Powerdog Industries. All rights reserved.
@(#)strptime.c 0.1 (Powerdog) 94/03/27
@(#)difftime.c 7.7
$FreeBSD: src/lib/libc/stdio/vasprintf.c,v 1.11 1999/08/28 00:01:19
peter Exp $
warning: this program uses gets(), which is unsafe.
$FreeBSD: src/lib/libc/stdio/asprintf.c,v 1.6 1999/08/28 00:00:55 peter
Exp $
$FreeBSD: src/lib/libc/net/res_update.c,v 1.2.2.1 2001/03/05 10:47:11
obrien Exp $
$FreeBSD: src/lib/libc/net/res_mkupdate.c,v 1.2.2.1 2001/03/05 10:47:11
obrien Exp $ /dev/
@(#)getbsize.c 8.1 (Berkeley) 6/4/93
$OpenBSD: dirname.c,v 1.4 1999/05/30 17:10:30 espie Exp $ /dev/tty
$OpenBSD: basename.c,v 1.4 1999/05/30 17:10:30 espie Exp $
0123456789abcdef
$FreeBSD: src/lib/libc/net/ns_print.c,v 1.2 1999/08/28 00:00:15 peter
Exp $
$FreeBSD: src/lib/libc/net/ns_parse.c,v 1.3 1999/08/28 00:00:14 peter
Exp $
$FreeBSD: src/lib/libc/net/base64.c,v 1.4 1999/11/04 04:30:43 ache Exp $
$FreeBSD: src/lib/libc/net/ns_ttl.c,v 1.2 1999/08/28 00:00:15 peter Exp
$
(@(#)localtime.c 7.57
WILDABBR
(@(#)asctime.c 7.7
$FreeBSD: src/lib/libc/net/ns_netint.c,v 1.2 1999/08/28 00:00:14 peter
Exp $
$FreeBSD: src/lib/libc/net/ns_name.c,v 1.2 1999/08/28 00:00:14 peter Exp
$ 0123456789 RuneMagiNONE
@(#)rec_seq.c 8.3 (Berkeley) 7/14/94
$FreeBSD: src/lib/libc/db/recno/rec_get.c,v 1.2.6.2 2001/01/02 09:11:10
obrien Exp $ _hashXXXXXX
( 0000000000000000
vH7B
W4vC
O8M2
[%Co
TZif
(2012
mY_/2002/07/12/syslo
assertion "i == nfds" failed: file "io.c", line 263
Jul
Objects alive: 58, garbage colle
-----Original Message-----
From: syslog-ng-admin@lists.balabit.hu
[mailto:syslog-ng-admin@lists.balabit.hu] On Behalf Of gino latino
Sent: Friday, July 12, 2002 7:15 PM
To: syslog-ng@lists.balabit.hu
Subject: [syslog-ng](no subject)
HI *,
there was someone who tried syslog-ng 1.4.15 undev FreeBSD
4.6-RELEASE???? I
tried and the result was unsuccesfull.... This is the configuration:
########################################################################
##
options {
long_hostnames(off);
keep_hostname(no);
sync(0);
use_dns(no);
log_fifo_size(1000);
gc_idle_threshold(100);
gc_busy_threshold(3000);
};
########################################################################
##
source src {
unix-dgram("/var/run/log");
internal();
udp(ip(0.0.0.0) port(514));
};
########################################################################
###
###Destination
#Sorting degl'hosts
#
destination hosts {
file("/var/log/hosts/$HOST/$YEAR/$MONTH/$DAY/$FACILITY$YEAR$MONTH$DAY"
owner(root)
group(root)
perm(0600)
dir_perm(0700)
create_dirs(yes));
};
#
destination all {
file("/var/log/all.log"
owner(root)
group(root)
perm(0640));
};
#
destination send_trap_prova {
program("/home/bigjim/send_trap_prova");
};
#
########################################################################
####
####Filtering
#
filter f_prova {
host ("10.11.5.37") and not match ("message repeated");
};
#
########################################################################
#####
###Logging
#
log {
source(src);
destination(hosts);
};
#
log {
source(src);
destination(all);
};
#
log {
source(src);
filter(f_prova);
destination(send_trap_prova);
};
#
########################################################################
#####
The attachment is the core dump file.
Thnz
Cheers
___________________________________
There is no 'patch' for stupidity
_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
_______________________________________________
syslog-ng maillist - syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html