Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 10241

Summary: mc segfaults with gpm
Product: Gentoo Linux Reporter: roma1390
Component: Current packagesAssignee: Brad Cowan (RETIRED) <bcowan>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 1.4_rc1   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description roma1390 2002-11-04 23:07:28 UTC
mc (midnigth commander) Segfault if (is launched from non root user) and (gpm running). If from root we doing su - usertest, then mc works. If we launching mc from sreen mc doesn't craches. mc craches if we launching from /dev/vc/?.

syslog:
/usr/sbin/gpm[3259]: info: [/var/tmp/portage/gpm-1.20.0-r4/work/gpm-1.20.0/src/gpm.c(786)]:
/usr/sbin/gpm[3259]: Connecting at fd 5
/usr/sbin/gpm[3259]: warning: [/var/tmp/portage/gpm-1.20.0-r4/work/gpm-1.20.0/src/gpm.c(857)]:
/usr/sbin/gpm[3259]: Failed gpm connect attempt by uid 1002 for vc /dev/vc/0

gpm output to console: 
warning: [/var/tmp/portage/gpm-1.20.0-r4/work/gpm-1.20.0/src/gpm.c(857)]:
Failed gpm connect attemp by uid 1002 for vc /dev/vc/0
info: [/var/tmp/portage/gpm-1.20.0-r4/work/gpm-1.20.0/src/libliw.c(446)]:
Warning: closing connection

mc output cto console:
subshell.c: couldn't get terminal settings: Inappropriate ioctl for device

mc version:
GNU Midnigth Commander 4.6.0-pre1

gpm version:
1.20.0-r4

Rokas
Comment 1 roma1390 2002-11-05 01:42:52 UTC
At this moment mc + gpm works fine. If mc + gpm craches again then I submit additional Comments.