Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91319 - sarg (or sort?) crashing on amd64
Summary: sarg (or sort?) crashing on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-03 08:41 UTC by Denis Kot
Modified: 2005-08-08 05:43 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Kot 2005-05-03 08:41:26 UTC
sarg crashing when I try to make a squid report

Reproducible: Always
Steps to Reproduce:
1. just run sarg
2.
3.

Actual Results:  
# sarg -z -x
SARG: Init
SARG: Loading configuration from: /etc/sarg/sarg.conf
SARG: ConfigFile.........= /etc/sarg/sarg.conf
SARG: AccessLog..........= /var/log/squid/access.log
SARG: BgColor............= white
SARG: TxColor............= black
SARG: TxBgColor..........= beige
SARG: TiColor............= green
SARG: LogoImage..........=
SARG: LogoText...........=
SARG: LogoTextColor......= black
SARG: Width..............= 80
SARG: Height.............= 45
SARG: Title..............= Squid User Access Report
SARG: BgImage............=
SARG: FontFace...........=
SARG: HeaderColor........= darkblue
SARG: HeaderBgColor......= blanchedalmond
SARG: FontSize...........= -1
SARG: PasswdFile.........=
SARG: TempDir............= /tmp
SARG: OutputDir..........= /var/www/localhost/htdocs/squid
SARG: Ip2Name............= no
SARG: TopuserSortField.........= BYTES
SARG: UserSortField.........= BYTES
SARG: TopuserSortOrder.........= reverse
SARG: UserSortOrder.........= reverse
SARG: UserAgentLog.......=
SARG: ExcludeHosts.......=
SARG: DateFormat.........= u
SARG: ExcludeUsers.......=
SARG: PerUserLimitFile...=
SARG: PerUserLimit.......=
SARG: UserIp.............= no
SARG: MaxElapsed.........= 28800000
SARG: LastLog............=
SARG:
SARG: Parameters:
SARG:
SARG:              Hostname or IP address (-a) =
SARG:                       Useragent log (-b) =
SARG:                        Exclude file (-c) =
SARG:                     Date from-until (-d) =
SARG:       Email address to send reports (-e) =
SARG:                         Config file (-f) = /etc/sarg/sarg.conf
SARG:                         Date format (-g) = USA (mm/dd/yyyy)
SARG:                           IP report (-i) = No
SARG:                           Input log (-l) = /var/log/squid/access.log
SARG:                  Resolve IP Address (-n) = No
SARG:                          Output dir (-o) = /var/www/localhost/htdocs/squid/
SARG:    Use Ip Address instead of userid (-p) = No
SARG:                       Accessed site (-s) =
SARG:                                Time (-t) =
SARG:                                User (-u) =
SARG:                       Temporary dir (-w) = /tmp
SARG:                      Debug messages (-x) = Yes
SARG:                    Process messages (-z) = Yes
SARG:
SARG: sarg version: 1.4.1 25Apr2003
SARG: Reading access log file: /var/log/squid/access.log
SARG: (util) tbuf=2005May03
SARG: (util) periodo=2005May03-
SARG:    Records read: 1385, written: 1385, excluded: 0
SARG: Squid log format
SARG: (util) data=05/03/2005
SARG: (util) tbuf=2005May03
SARG: (util) periodo=2005May03-2005May03
SARG: Period: 2005May03-2005May03
SARG: (util) dirname=/var/www/localhost/htdocs/squid/2005May03-2005May03
SARG: (util) wdir=/var/www/localhost/htdocs/squid/2005May03-2005May03
SARG: Making period file
SARG: Making file: /tmp/sarg/belrosprom+kislyak
SARG: Making file: /tmp/sarg/belrosprom+ezhova
SARG: Making file: /tmp/sarg/belrosprom+butko
SARG: Making file: /tmp/sarg/belrosprom+dkot
SARG: Making file: /tmp/sarg/belrosprom+lofer_s
SARG: Making file: /tmp/sarg/192.168.1.201
SARG: Making file: /tmp/sarg/192.168.1.206
SARG: Making file: /tmp/sarg/192.168.1.1
SARG: Sorting file: /var/www/localhost/htdocs/squid/2005May03-2005May03/192.168.1.9
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/192.168.1.9.tmp: No such
file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+kislyak
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+tumanov
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+tumanov.tmp: No
such file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+martynoff
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+martynoff.tmp: No
such file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+update
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+update.tmp: No
such file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+ezhova
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+borisova
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+borisova.tmp: No
such file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+shokolo
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+shokolo.tmp: No
such file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom_dkot
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom_dkot.tmp: No such
file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+butko
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+putceyko
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+putceyko.tmp: No
such file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+dkot
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+lofer_s
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+drozdovski
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+drozdovski.tmp:
No such file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+mamunina
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+mamunina.tmp: No
such file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+1113321341.414
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+1113321341.414.tmp:
No such file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+plotko
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+plotko.tmp: No
such file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/192.168.1.201
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/192.168.1.206
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+hakimov
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+hakimov.tmp: No
such file or directory
SARG: Sorting file:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+musskaya
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/belrosprom+musskaya.tmp: No
such file or directory
SARG: Sorting file: /var/www/localhost/htdocs/squid/2005May03-2005May03/192.168.1.11
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/192.168.1.11.tmp: No such
file or directory
SARG: Sorting file: /var/www/localhost/htdocs/squid/2005May03-2005May03/192.168.1.19
sort: open failed:
/var/www/localhost/htdocs/squid/2005May03-2005May03/192.168.1.19.tmp: No such
file or directory
SARG: Sorting file: /var/www/localhost/htdocs/squid/2005May03-2005May03/192.168.1.1
Segmentation fault


Expected Results:  
squid report

# emerge info
Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3,
glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Apr 15 2005, 19:10:45)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/alias /var/qmail/control
/var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ ftp://gentoo.inode.at/source/
http://mirror.datapipe.net/gentoo ftp://ftp.easynet.nl/mirror/gentoo/
http://gentoo.mirror.icd.hu/ http://gentoo.inode.at/"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi activefilter alsa apache2 arts authdaemond avi bash-completion
berkdb bitmap-fonts cap cdr cgi chroot clamav crypt cups curl dedicated dhcp dmx
extensions fam fastcgi flac fortran gd gif gpm gtk gtk2 icq imap innodb jabber
java javascript jp2 jpeg junit kde kdeenablefinal libwww lzw lzw-tiff maildir
memlimit motif mozilla moznocompose moznoirc mp3 mpeg mppe-m multilib mysql
ncurses network nls notlsbeforeauth nptl ogg oggvorbis opengl pam pcre pear-db
perl png postgres python qmail qt quicktime radius readline real samba sasl
server session slang snmp ssl tcltk tcpd tiff tk truetype truetype-fonts
type1-fonts unicode usb userlocales valias vchroot vhosts virus-scan vorbis
winbind xine xml xml2 xosd xpm xprint xrandr xv xvid zlib linguas_ru
userland_GNU kernel_linux libc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Robert S 2005-05-04 14:49:17 UTC
Glad to see that somebody else has this problem.  See my bug report 77285.  I have made a custom ebuild (of sorts - I couldn't hack the Makefile to get it to install in the right place) and I've listed it on that bug report.  I actually couldn't get the "official" sarg to compile on amd64.

Probably the best solution is for somebody who knows something about making ebuilds to upgrade sarg to the latest version.
Comment 2 Denis Kot 2005-05-05 00:23:37 UTC
now I use srg, but still waiting for normal sarg :)
Comment 3 Jonathan Smith (RETIRED) gentoo-dev 2005-06-22 07:18:37 UTC
(In reply to comment #2)
> now I use srg, but still waiting for normal sarg :)

2.0.8 is in portage... see if that fixes the problem
Comment 4 Denis Kot 2005-06-24 06:34:45 UTC
yep, 2.0.8 working. mark it stable :)
Comment 5 Renat Lumpau (RETIRED) gentoo-dev 2005-06-29 09:09:01 UTC
should we close the bug then?
Comment 6 Denis Kot 2005-06-29 11:26:04 UTC
yes. you may close it.
Comment 7 Renat Lumpau (RETIRED) gentoo-dev 2005-06-29 12:22:37 UTC
well then :)
Comment 8 Marcelo Goes (RETIRED) gentoo-dev 2005-06-29 17:14:35 UTC
Hold on a second. As far as I can see, sarg-1.4.1-r2 is still marked stable on
amd64. sarg-2.0.8 has not existed long enough for us to mark it stable, but I
think we should at least mark sarg-1.4.1-r1 -amd64 if it is known not work.
Comment 9 Renat Lumpau (RETIRED) gentoo-dev 2005-07-06 13:06:30 UTC
Sounds good.
Comment 10 Simon Stelling (RETIRED) gentoo-dev 2005-08-08 05:43:32 UTC
marked it stable, 30 days are over, no amd64-specific bugs and there's no
maintainer arch to wait for :/