[Slapt-get-devel] summit a bug in slapt-get 0.9.11-f
Jason Woodward
woodwardj at jaos.org
Sun Oct 15 23:31:01 EDT 2006
Hi,
> my slapt-getrc:
>
> #cat /etc/slapt-get/slapt-getrc
>
> # working directory, local storage/cache
> WORKINGDIR=/var/slapt-get
>
>
> # exclude package names and expressions
> EXCLUDE=^kernel-.*,^alsa-.*,^glibc.*,.*-[0-9]dl$,^devs$,^udev$,aaa_elflibs,x86_64
> # * to exclude pre and beta packages, add this as an exclude:
> # [0-9\_\.\-]{1}pre[0-9\-\.\-]{1}
> # To exclude architectures such as i686, use the following:
> # [\_\-]+i686
>
> SOURCE=http://mirror.vmmatrix.net/slackware/slackware-current/
> SOURCE=http://mirror.vmmatrix.net/slackware/slackware-current/extra/
> SOURCE=http://mirror.vmmatrix.net/slackware/slackware-current/testing/
>
> ------------
> my slackware version: 11
> ------------
> command causing crash:
> slapt-get --search "any-pattern"
> example: slapt-get --search cacti
>
> Your sincerely,
> tclwp
>
>
>
> ----- Original Message -----
> From: JasonWoodward<woodwardj at jaos.org>
> To: lwktbx at 2911.net
> Sent: 2006-10-13 03:07
> Subject: Re[2]: summit a bug in slapt-get 0.9.11-f
>
> Hi,
>
> > followed is my setting:
> >
> > # locale
> > LANG=zh_CN
> > LC_CTYPE="zh_CN.GB2312"
> > LC_NUMERIC="zh_CN.GB2312"
> > LC_TIME="zh_CN.GB2312"
> > LC_COLLATE="zh_CN.GB2312"
> > LC_MONETARY="zh_CN.GB2312"
> > LC_MESSAGES="zh_CN.GB2312"
> > LC_PAPER="zh_CN.GB2312"
> > LC_NAME="zh_CN.GB2312"
> > LC_ADDRESS="zh_CN.GB2312"
> > LC_TELEPHONE="zh_CN.GB2312"
> > LC_MEASUREMENT="zh_CN.GB2312"
> > LC_IDENTIFICATION="zh_CN.GB2312"
> > LC_ALL=zh_CN.GB2312
> >
> > > I found a bug, when the bash locale is not en_US, the slapt-get will crash (segment
> > fault). I must set envirenment var :
> > >
> > > #export LC_ALL=en_US #export LANG=en_US to make slapt-get work .
> > >
> > >
> > > i hope you fix the bug in the next version of slapt-get.
>
> Can you provide me with your slapt-getrc file, along with which package you installed, the
> 10.2, 11.0, or other package? What command causes the crash for you?
Odd,
If you remove the following line from /var/slapt-get/package_data the problem goes away:
aspell-pa: GNU Aspell 0.60 Punjabi (ਪੰ~\ਾਬ~@) Dictionary Package.
It looks like the regexec() call in GLIBC is barfing on that line:
#0 0x4027e55f in memcpy () from /lib/tls/libc.so.6
#1 0x402aa97d in build_wcs_upper_buffer () from /lib/tls/libc.so.6
#2 0x402aacf7 in re_string_reconstruct () from /lib/tls/libc.so.6
#3 0x402bf2c3 in re_search_internal () from /lib/tls/libc.so.6
#4 0x402c0df0 in regexec@@GLIBC_2.3.4 () from /lib/tls/libc.so.6
#5 0x08049bd3 in slapt_execute_regex (regex_t=0x808fa60,
string=0x810c7e8 "aspell-pa: aspell-pa\naspell-pa:\naspell-pa: GNU Aspell 0.60 Punjabi
(ਪੰ��\234ਾਬ��\200) Dictionary Package.\naspell-pa:\n") at src/common.c:70
#6 0x0804e527 in slapt_search_pkg_list (list=0x807e9c0, pattern=0x7f7e29da "cli") at
src/package.c:1398
#7 0x080573fd in slapt_pkg_action_search (pattern=0x7f7e29da "cli") at src/action.c:337
#8 0x08058d92 in main (argc=3, argv=0x7f7e1474) at src/main.c:323
I'll take a look and see what I can do.
thanks!
jason
--
Jason Woodward
woodwardj at jaos.org
--
Jason Woodward
woodwardj at jaos.org
More information about the Slapt-get-devel
mailing list