Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184466 - sys-apps/renameutils-0.8.1: segfault with qmv
Summary: sys-apps/renameutils-0.8.1: segfault with qmv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-07 04:47 UTC by SpanKY
Modified: 2009-03-08 20:31 UTC (History)
0 users

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 SpanKY gentoo-dev 2007-07-07 04:47:17 UTC
doit
Comment 1 Tiago Cunha (RETIRED) gentoo-dev 2007-07-07 09:11:17 UTC
sys-apps/renameutils-0.8.1  USE="-nls"

1. Emerges on AMD64.
2. No collisions.
3. Test phase ok.

I got a segmentation fault when running qmv interactive mode:
$ mkdir test ; touch test/{test1,test2} ; cd test ; qmv
(in the editor rename the files like this:)
test1                                   test1
test2                                   test1
[...]
Entering interactive mode.
qmv> ls
2 files listed
qmv> plan
Plan contains errors.

Segmentation fault

(with FEATURES="nostrip" CXXFLAGS="-O1 -pipe -g -ggdb")
$ gdb qmv
GNU gdb 6.6
[...]
(gdb) run
Starting program: /usr/bin/qmv
[...]
qmv> plan
Plan contains errors.


Program received signal SIGSEGV, Segmentation fault.
0x000000000040af2a in quotearg_buffer_restyled (buffer=0x5137a0 "test1", buffersize=6, arg=0x0, argsize=18446744073709551615,
    quoting_style=literal_quoting_style, o=0x512c00) at quotearg.c:265
265     quotearg.c: No such file or directory.
        in quotearg.c
(gdb) bt
#0  0x000000000040af2a in quotearg_buffer_restyled (buffer=0x5137a0 "test1", buffersize=6, arg=0x0, argsize=18446744073709551615,
    quoting_style=literal_quoting_style, o=0x512c00) at quotearg.c:265
#1  0x000000000040b051 in quotearg_buffer (buffer=0x5137a0 "test1", buffersize=6, arg=0x0, argsize=18446744073709551615, o=<value optimized out>)
    at quotearg.c:538
#2  0x000000000040b16f in quotearg_n_options (n=<value optimized out>, arg=0x0, argsize=18446744073709551615, options=0x512c00) at quotearg.c:607
#3  0x000000000040b342 in quotearg_n (n=5322656, arg=0x0) at quotearg.c:626
#4  0x00000000004025b8 in display_names (spec=0x5133b0) at display.c:35
#5  0x0000000000402676 in display_plan (plan=0x513760) at display.c:99
#6  0x000000000040378a in plan_command (args=<value optimized out>) at interactive.c:292
#7  0x0000000000403e1a in commandmode_mainloop () at interactive.c:265
#8  0x0000000000404e00 in main (argc=1, argv=0x7fffb448c638) at qcmd.c:240

Portage 2.1.2.9 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.5-r3, 2.6.20-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.20-gentoo-r8 x86_64 Intel(R) Pentium(R) D CPU 3.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 04 Jul 2007 13:50:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-akv"
FEATURES="buildpkg ccache collision-protect distlocks fixpackages metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirrors1.netvisao.pt/gentoo http://darkstar.ist.utl.pt/pub/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa amd64 apache2 arts bash-completion bitmap-fonts cairo cdr cli cracklib crypt dbus dri dts dvd dvdr dvdread eds emboss encode evo fam firefox flac fortran gif gpm hal iconv ipv6 isdnlog jpeg kde kdeenablefinal kdehiddenvisibility libg++ mad midi mikmod mmx mp3 mpeg mudflap musepack musicbrainz mysql ncurses nptl nptlonly offensive ogg opengl openmp pam pcre pdf perl png postgres pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd test tiff truetype truetype-fonts type1-fonts unicode vorbis xcomposite xml xorg xscreensaver xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 SpanKY gentoo-dev 2007-07-09 02:17:16 UTC
ive moved that report upstream
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2009-03-08 20:31:03 UTC
According to changelog fixed in 0.9.0
Comment 4 Tiziano Müller (RETIRED) gentoo-dev 2009-03-08 20:31:14 UTC
Closing.