bugKPortage - Bugs: bug #3342, kportage-0.6.1 crashes with...

 
 

bug #3342: kportage-0.6.1 crashes with SIGSEGV if $PORTDIR_OVERLAY doesn't exist

Submitter:  Invalid User ID <#18478>
Submitted:  Sun 27 Apr 2003 10:21:24 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 18 Jul 2003 05:08:33 AM UTC, comment #2: 

I have tried this and it seems to be a problem with portage rather than with kportage.  When changed my $PORTAGE_OVERLAY variable to point at a not-existant directory and tried `emerge -s anything` I recieved the same error I did when trying to start kportage.  Is your complaint that there is an error with portage or that kportage doesn't display a better error message? - Andrew

Invalid User ID <#20584>
Sun 27 Apr 2003 10:29:30 AM UTC, comment #1: 

Sorry : the summary should read "kportage-0.6.1" :(

Invalid User ID <#18478>
Sun 27 Apr 2003 10:21:24 AM UTC, original submission:  

Hi !

When setting PORTDIR_OVERLAY to a non-existing directory, a crash occurs.

When launching from a shell, following message appears:

bigben root # kportage
portage: init: PORTDIR_OVERLAY points to /usr/local/foo which isn't a directory. Exiting.
Can't load module

Then the kde Crash-Handler pops up with:
- In General tab :
"The application KPortage (kportage) crashed and caused the signal 11 (SIGSEGV)"

- In Backtrace tab:
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...[New Thread 16384 (LWP 10918)]

0x410631c7 in waitpid () from /lib/libpthread.so.0
#0  0x410631c7 in waitpid () from /lib/libpthread.so.0
#1  0x406955bb in KCrash::defaultCrashHandler(int) ()
   from /usr/kde/3.1/lib/libkdecore.so.4

VERSION :
bigben root # kportage -v
Qt: 3.1.2
KDE: 3.1.1a
KPortage: 0.6.1

REPRODUCTIBLE : always
Note : I've not tried with other conditions making emerge to exit.

STEPS TO REPRODUCE :
- in /etc/make.conf, set PORTDIR_OVERLAY=/usr/local/foo (with "foo" not existing)
- launch kportage

OTHER INFOS :
bigben root # emerge --info
Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-gentoo-r1 i686 Celeron (Coppermine)
GENTOO_MIRRORS="ftp://ftp.skynet.be/pub/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.easynet.nl/mirror/gentoo//"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"  <=== my real one ;-)
USE="x86 apm avi crypt encode gif java jpeg gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell xml2 xmms xv zlib alsa gdbm slang readline arts tetex svga tcltk guile mysql postgres X sdl tcpd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla cdr scanner -3dnow cups dga doc dvd gpm -gtk2 -berkdb -innodb odbc oss sse truetype xfs"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer "
CXXFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer "
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.skynet.be/gentoo-portage"
FEATURES="sandbox ccache buildpkg"

Invalid User ID <#18478>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2003-07-18 #20584 Summarykportage-0.6 crashes with SIGSEGV if $PORTDIR_OVERLAY doesn't exist

Back to the top

Powered by Savane 3.13-d3ae.
Corresponding source code