Bug#493168: gpm: Segfaults on boot.

Kurt Roeckx kurt at roeckx.be
Tue Aug 5 16:46:02 UTC 2008


On Tue, Aug 05, 2008 at 12:28:14PM +0200, Nico Schottelius wrote:
> Kurt Roeckx [Mon, Aug 04, 2008 at 06:51:09PM +0200]:
> > On Mon, Aug 04, 2008 at 10:53:50AM +0200, Nico Schottelius wrote:
> > > Hello Kurt!
> > > 
> > > I fixed it in the gpm-2-dev tree and put up a tarfile containing the
> > > change:
> > > 
> > > http://home.schottelius.org/~nico/temp/gpm-1.99.7-1-g9771509.tar.bz2
> > > 
> > > Can you give it a try and report if it works?
> > 
> > I get the following error:
> > cc1: warnings being treated as errors
> > src/drivers/twid/twiddler.c: In function 'twiddler_rest_to_value':
> > src/drivers/twid/twiddler.c:503: error: cast to pointer from integer of different size
> 
> I guess you are on 64bit linux?

Yes.

> > I can start it, I can run the console-tools init script and it keep
> > running, but I don't see a cursor.
> 
> Hmm, strange. Can you try attaching the client programs:
> 
> - display-buttons (and click some buttons, attach output)

	p=pressed (0=release)
	l=left
	m=middle
	r=right
[1217953499] delta: 1217953499s: p=4, l=4, m=0, r=0, clicks=0
[1217953499] delta: 0s: p=0, l=4, m=0, r=0, clicks=0
[1217953500] delta: 1s: p=4, l=4, m=0, r=0, clicks=0
[1217953500] delta: 0s: p=0, l=4, m=0, r=0, clicks=0
[1217953500] delta: 0s: p=4, l=4, m=0, r=0, clicks=1
[1217953500] delta: 0s: p=0, l=4, m=0, r=0, clicks=1
[1217953502] delta: 2s: p=4, l=0, m=0, r=1, clicks=0
[1217953502] delta: 0s: p=0, l=0, m=0, r=1, clicks=0
[1217953504] delta: 2s: p=4, l=0, m=0, r=1, clicks=0
[1217953504] delta: 0s: p=0, l=0, m=0, r=1, clicks=0
[1217953505] delta: 1s: p=4, l=4, m=0, r=0, clicks=0
[1217953506] delta: 1s: p=0, l=4, m=0, r=0, clicks=0


> - display-coords (and move the mouse, attach output)

[1217953549] delta: 1217953549s: x=45, y=26, dx= 0, dy= 0
[1217953550] delta: 1s: x=45, y=26, dx= 0, dy= 0
[1217953550] delta: 0s: x=47, y=26, dx= 2, dy= 0
[1217953550] delta: 0s: x=50, y=27, dx= 3, dy= 1
[1217953551] delta: 1s: x=54, y=29, dx= 4, dy= 2
[1217953551] delta: 0s: x=59, y=30, dx= 5, dy= 2
[1217953551] delta: 0s: x=64, y=30, dx= 5, dy= 1
[1217953551] delta: 0s: x=70, y=30, dx= 6, dy= 2
[1217953551] delta: 0s: x=76, y=30, dx= 6, dy= 1
[1217953551] delta: 0s: x=80, y=30, dx= 6, dy= 2
[1217953551] delta: 0s: x=80, y=30, dx= 6, dy= 2
[1217953551] delta: 0s: x=80, y=30, dx= 6, dy= 1
[1217953551] delta: 0s: x=80, y=30, dx= 6, dy= 1
[1217953551] delta: 0s: x=80, y=30, dx= 7, dy= 1
[1217953551] delta: 0s: x=80, y=30, dx= 6, dy= 1
[1217953551] delta: 0s: x=80, y=30, dx= 6, dy= 1
[1217953551] delta: 0s: x=80, y=30, dx= 6, dy= 0

> - get-versions (to verify we've the correct daemon / lib, attach output)

lib: 2.1.0, 20100
srv: 1.99.7-1-g977150, 19907

> Also the output of strace -Ff gpm -D >LOG 2>&1 could be helpful.

See attachment.

Everything seems to work, it's just that I don't see I don't see the
cursor, nor do I see it paste any output.



Kurt



More information about the pkg-gpm-devel mailing list