blob: 4b011b960dd0c534adfefd64972104eba5c4f110 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Nel] segv if I press alt?</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:dayta%40ucc.gu.uwa.edu.au">
<LINK REL="Previous" HREF="000359.html">
<LINK REL="Next" HREF="000361.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Nel] segv if I press alt?</H1>
<B>Leighton Haynes</B>
<A HREF="mailto:dayta%40ucc.gu.uwa.edu.au"
TITLE="[Nel] segv if I press alt?">dayta@ucc.gu.uwa.edu.au</A><BR>
<I>Wed, 7 Mar 2001 14:50:02 +0800</I>
<P><UL>
<LI> Previous message: <A HREF="000359.html">[Nel] segv if I press alt?</A></li>
<LI> Next message: <A HREF="000361.html">[Nel] segv if I press alt?</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#360">[ date ]</a>
<a href="thread.html#360">[ thread ]</a>
<a href="subject.html#360">[ subject ]</a>
<a href="author.html#360">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Tue, Mar 06, 2001 at 10:30:39PM -0800, <A HREF="mailto:robert@paradox.got.net">robert@paradox.got.net</A> wrote:
><i> Hello again!
</I>><i>
</I>><i> I was trying to debug the 'Read error' message, and while switching
</I>><i> between desktops by pressing "Alt-F1" I generated a segmentation fault
</I>><i> before I hit the F1 key. It's extremely easy to duplicate and here's
</I>><i> the traceback:
</I>><i>
</I>><i> I'm hesitant to file any bugs until I know my development environment
</I>><i> is up to spec and I don't have any problems with wrong library
</I>><i> versions and such.
</I>><i>
</I>><i> If someone can confirm that this is a bug in a working client, they or
</I>><i> I can file a bug, otherwise I'll chalk it up to being something on my
</I>><i> end.
</I>><i>
</I>I've noticed this bug. The code that translates X Keypress
events seems to be broken. I haven't looked at it in detail yet.
Basically, the code expects to convert all keypresses to a number
between 0 and 255(?) and then shoves the flag into an array.
The alt key is getting converted into a number greater than 255
so it generates a segfault when it tries to set the array value
for that key.
It's on my list of things to take a look at when I get time ;)
On another topic, I'll post my workaround for the loading "data/"
bug thingie to the list sometime tonight. We still need to work out
_why_ it's trying to load this though. The 'fix' will make it work,
but doesn't really fix anything.
Leighton...
--
Part-time student. Full-time Programmer.
Seeking the 36 hour day and the 10 hour working week.
(08) 9272 9058 (Home - like I'm ever there)
0401 335 136 (Mobile - like it's ever on)
</pre>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI> Previous message: <A HREF="000359.html">[Nel] segv if I press alt?</A></li>
<LI> Next message: <A HREF="000361.html">[Nel] segv if I press alt?</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#360">[ date ]</a>
<a href="thread.html#360">[ thread ]</a>
<a href="subject.html#360">[ subject ]</a>
<a href="author.html#360">[ author ]</a>
</LI>
</UL>
</body></html>
|