Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] qlist -IC x11-drivers - Segmentation fault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2408
Location: Edmonton, AB

PostPosted: Sat Jun 30, 2012 5:07 pm    Post subject: [SOLVED] qlist -IC x11-drivers - Segmentation fault Reply with quote

After upgrade to xorg-server-1.12.2 when I run:
"qlist -IC x11-drivers" I get: Segmentation fault

I've downgraded to: xorg-server-1.11.4-r1 I still get: "Segmentation fault"
In make.conf I have:
VIDEO_CARDS="vga vesa fbdev"
_________________
#Joseph


Last edited by Joseph_sys on Sat Jun 30, 2012 6:04 pm; edited 1 time in total
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4956

PostPosted: Sat Jun 30, 2012 5:38 pm    Post subject: Re: qlist -IC x11-drivers - Segmentation fault Reply with quote

Joseph_sys wrote:
After upgrade to xorg-server-1.12.2 when I run:
"qlist -IC x11-drivers" I get: Segmentation fault

I've downgraded to: xorg-server-1.11.4-r1 I still get: "Segmentation fault"
In make.conf I have:
VIDEO_CARDS="vga vesa fbdev"

qlist is a python based program, check your python installation.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2408
Location: Edmonton, AB

PostPosted: Sat Jun 30, 2012 6:03 pm    Post subject: Re: qlist -IC x11-drivers - Segmentation fault Reply with quote

DaggyStyle wrote:
qlist is a python based program, check your python installation.


Yes it is python based program as most portage programs are based on python. "qlist" it is part of: portage-utils.

It seems to me new: portage-utils-0.10 has some bugs :-/
package "qlist" in new "portage-utils-0.10" is not working.

I've downgraded to: portage-utils-0.8
and qlist is working; no "Segmentation fault"

Did anybody file a but about this?
_________________
#Joseph
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4956

PostPosted: Sat Jun 30, 2012 6:33 pm    Post subject: Re: qlist -IC x11-drivers - Segmentation fault Reply with quote

Joseph_sys wrote:
DaggyStyle wrote:
qlist is a python based program, check your python installation.


Yes it is python based program as most portage programs are based on python. "qlist" it is part of: portage-utils.

It seems to me new: portage-utils-0.10 has some bugs :-/
package "qlist" in new "portage-utils-0.10" is not working.

I've downgraded to: portage-utils-0.8
and qlist is working; no "Segmentation fault"

Did anybody file a but about this?


Code:
dagg@NCC-5001-D ~ $ eix portage-utils && qlist -IC x11-drivers
[I] app-portage/portage-utils
     Available versions:  0.3.1 ~0.4 ~0.5 ~0.6 0.8 ~0.9 0.10 {{static}}
     Installed versions:  0.10(07:37:36 PM 06/06/2012)(-static)
     Homepage:            http://www.gentoo.org/
     Description:         small and fast portage helper tools written in C

x11-drivers/wizardpen
x11-drivers/xf86-input-evdev
x11-drivers/xf86-video-ati
x11-drivers/xf86-video-intel
x11-drivers/xf86-video-v4l
x11-drivers/xf86-video-vesa
x11-drivers/xf86-video-vmware

no problems here... I'd suggest you check your python installation.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2408
Location: Edmonton, AB

PostPosted: Sat Jun 30, 2012 9:25 pm    Post subject: Re: qlist -IC x11-drivers - Segmentation fault Reply with quote

DaggyStyle wrote:

no problems here... I'd suggest you check your python installation.


How?
_________________
#Joseph
Back to top
View user's profile Send private message
few
Guru
Guru


Joined: 03 Mar 2008
Posts: 448

PostPosted: Sun Jul 01, 2012 9:23 am    Post subject: Re: qlist -IC x11-drivers - Segmentation fault Reply with quote

Joseph_sys wrote:
DaggyStyle wrote:

no problems here... I'd suggest you check your python installation.


How?


Your issue is not related to python. qlist is a C program. File a bug for portage-utils.
Back to top
View user's profile Send private message
toralf
Advocate
Advocate


Joined: 01 Feb 2004
Posts: 2726
Location: Hamburg/Germany

PostPosted: Sun Jul 01, 2012 10:19 am    Post subject: Reply with quote

Did you run python-updater after last python upgrade ? Furthermore an " eselect python list" should show "[1] python2.7 *" b/c portage isn't ready for python-3.
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4956

PostPosted: Sun Jul 01, 2012 10:22 am    Post subject: Re: qlist -IC x11-drivers - Segmentation fault Reply with quote

few wrote:
Joseph_sys wrote:
DaggyStyle wrote:

no problems here... I'd suggest you check your python installation.


How?


Your issue is not related to python. qlist is a C program. File a bug for portage-utils.


as all of portage is python based, implementing qlist in c program is highly unlikely.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
few
Guru
Guru


Joined: 03 Mar 2008
Posts: 448

PostPosted: Sun Jul 01, 2012 10:33 am    Post subject: Re: qlist -IC x11-drivers - Segmentation fault Reply with quote

DaggyStyle wrote:
few wrote:
Joseph_sys wrote:
DaggyStyle wrote:

no problems here... I'd suggest you check your python installation.


How?


Your issue is not related to python. qlist is a C program. File a bug for portage-utils.


as all of portage is python based, implementing qlist in c program is highly unlikely.


What about looking at the sources?

EDIT: Just look at the package description.
Back to top
View user's profile Send private message
khayyam
Advocate
Advocate


Joined: 07 Jun 2012
Posts: 2248

PostPosted: Sun Jul 01, 2012 1:29 pm    Post subject: Re: qlist -IC x11-drivers - Segmentation fault Reply with quote

DaggyStyle wrote:
as all of portage is python based, implementing qlist in c program is highly unlikely.

DaggyStyle ... no, not all ... qlist is written in c

Code:
% which qlist
/usr/bin/qlist
% file /usr/bin/qlist
/usr/bin/qlist: symbolic link to `q'
% file /usr/bin/q
/usr/bin/q: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped
% ldd /usr/bin/q
        linux-gate.so.1 =>  (0xb7733000)
        libc.so.6 => /lib/libc.so.6 (0xb75bf000)
        /lib/ld-linux.so.2 (0xb7734000)

best ... khay
Back to top
View user's profile Send private message
Joseph_sys
Advocate
Advocate


Joined: 08 Jun 2004
Posts: 2408
Location: Edmonton, AB

PostPosted: Sun Jul 01, 2012 4:39 pm    Post subject: Reply with quote

toralf wrote:
Did you run python-updater after last python upgrade ? Furthermore an " eselect python list" should show "[1] python2.7 *" b/c portage isn't ready for python-3.


Running: "python-updater" emerge updated few packaged but I still get segmentation fault when running "qlist"
My mail python is 3.2; could it be the reason?
Code:
 * Main active version of Python:    3.2
 * Active version of Python 2:       2.7
 * Active version of Python 3:       3.2

_________________
#Joseph
Back to top
View user's profile Send private message
DaggyStyle
Advocate
Advocate


Joined: 22 Mar 2006
Posts: 4956

PostPosted: Sun Jul 01, 2012 5:11 pm    Post subject: Reply with quote

right, my bad.

I would have been logical that qlist will be implemented in python thought.
_________________
Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein
ProjectFootball
Back to top
View user's profile Send private message
fikiz
Apprentice
Apprentice


Joined: 07 Mar 2005
Posts: 261
Location: Italy

PostPosted: Fri Oct 05, 2012 7:38 am    Post subject: Reply with quote

Just made a clean new Gentoo 64-bit installation, and I've got the same problem. Every portage-utils command dies in a segfault error.
I had this issue even in the previous 32-bit installation, where I recompiled a lot of things but with no effect.

What can I do?

thanks!
Back to top
View user's profile Send private message
kite14
Tux's lil' helper
Tux's lil' helper


Joined: 07 Nov 2006
Posts: 145
Location: Pordenone/Italy

PostPosted: Fri Oct 05, 2012 3:15 pm    Post subject: Reply with quote

I'm using portage-utils-0.10 in a 64bit installation; no problems here...
Back to top
View user's profile Send private message
akaoni
n00b
n00b


Joined: 18 Dec 2011
Posts: 16

PostPosted: Fri Nov 09, 2012 9:55 am    Post subject: Reply with quote

Actually I have same problem.
Code:
gentoox64 portage # strace qlist
....
open("//etc/make.conf", O_RDONLY)       = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1438, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f7946a2a000
read(3, "# These settings were set by the"..., 4096) = 1438
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7f7946a2a000, 4096)            = 0
open("//etc/portage/make.conf", O_RDONLY) = -1 ENOENT (No such file or directory)
mmap(NULL, 200704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f79469cc000
mremap(0x7f79469cc000, 200704, 397312, MREMAP_MAYMOVE) = 0x7f794696b000
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x7f79469fc019} ---
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum