5.005_02, Tk800.011, X error on widget demo 
Author Message
 5.005_02, Tk800.011, X error on widget demo

Hi,

I have Linux (kernel 2.0.30) and have compiled up 5.005_02 (threaded). I
have tried to build and test Tk800.011 but the widget demo, - run with:

        perl -Mblib demos/widget

fails with the following error:

        XIO:  fatal IO error 0 (Unknown error) on X server "womble:1.0"
        after 28 requests (26 known processed) with 1 events remaining.

I'm running a libc 5 system with gcc version 2.7.2.1.

After scouring various news / Web sites I found messages like this
relating to threaded X libraries (not for Tk, but for other X-related
products under Linux), which recommended using a later server and
libraries which seemed to fix the problem for some people, - so I
downloaded
the latest Xfree server, version 3.3.2.3, to see if it *would* fix the
problem.

No dice.

I've also tried reverting to building and testing Tk402.004 and get the
same results. (only difference is that there are more "requests")

Any ideas?

Kind regards

Derek Jones

------------------------------------------------------------------------------
Derek Jones                                         SCUNA Computer Consultancy
                                                   16 Edgedale Road, Sheffield
 Computer Consultant                                                 S7 2BQ UK
SCUNA (Systems,C,UNIX,Networking,Advice)              Tel: +44 (0)114 255 5524

http://www.*-*-*.com/ ;   Mobile: +44 (0)468 300  025
------------------------------------------------------------------------------
"You're from *{*filter*}space*?" "No I'm from Sheffield, I only work in {*filter*}space"



Sat, 24 Mar 2001 03:00:00 GMT  
 5.005_02, Tk800.011, X error on widget demo

Quote:
> Hi,
> I have Linux (kernel 2.0.30) and have compiled up 5.005_02 (threaded). I
> have tried to build and test Tk800.011 but the widget demo, - run with:
>         perl -Mblib demos/widget
> fails with the following error:
>         XIO:  fatal IO error 0 (Unknown error) on X server "womble:1.0"
>         after 28 requests (26 known processed) with 1 events remaining.
> I'm running a libc 5 system with gcc version 2.7.2.1.
> After scouring various news / Web sites I found messages like this
> relating to threaded X libraries (not for Tk, but for other X-related
> products under Linux), which recommended using a later server and
> libraries which seemed to fix the problem for some people, - so I
> downloaded
> the latest Xfree server, version 3.3.2.3, to see if it *would* fix the
> problem.
> No dice.
> I've also tried reverting to building and testing Tk402.004 and get the
> same results. (only difference is that there are more "requests")
> Any ideas?

Hmm.  I've really never had problems building Perl/Tk on Linux.  Do not
build a threaded perl though.  Currently I run Redhat 5.x with a similar
Kernal, Perl 5.005 and Tk 800.011.  All I can say is wipe everything and
build from scratch.... please report what happens.

(I assume other X apps run OK, ?)



Sun, 25 Mar 2001 03:00:00 GMT  
 5.005_02, Tk800.011, X error on widget demo
I saw this problem, I've to trade-off the nice threaded feature in
perl5.005_xx for Tk800.011 to work.

According to the python's FAQ (see below), the Xlib needs to rebuild
with threads enabled. However, I haven't try this out. I guess you need
to download the source.

--bennyk

3.27. Crash in XIO on Linux when using Tkinter.

When python is built with threads under Linux, use of Tkinter can cause
crashes like the following:

  >>> from Tkinter import *
  >>> root = Tk()
  XIO:  fatal IO error 0 (Unknown error) on X server ":0.0"
        after 45 requests (40 known processed) with 1 events remaining.

The reason is that the default Xlib is not built with support for
threads. If you rebuild Xlib with threads enabled
the problems go away. Alternatively, you can rebuild Python without
threads ("make clean" first!).

(Disclaimer: this is from memory.)

Quote:

> Hi,

> I have Linux (kernel 2.0.30) and have compiled up 5.005_02 (threaded). I
> have tried to build and test Tk800.011 but the widget demo, - run with:

>         perl -Mblib demos/widget

> fails with the following error:

>         XIO:  fatal IO error 0 (Unknown error) on X server "womble:1.0"
>         after 28 requests (26 known processed) with 1 events remaining.

> I'm running a libc 5 system with gcc version 2.7.2.1.

> After scouring various news / Web sites I found messages like this
> relating to threaded X libraries (not for Tk, but for other X-related
> products under Linux), which recommended using a later server and
> libraries which seemed to fix the problem for some people, - so I
> downloaded



Sun, 25 Mar 2001 03:00:00 GMT  
 5.005_02, Tk800.011, X error on widget demo



Quote:

> Hmm.  I've really never had problems building Perl/Tk on Linux.  Do not
> build a threaded perl though.  Currently I run Redhat 5.x with a similar
> Kernal, Perl 5.005 and Tk 800.011.  All I can say is wipe everything and
> build from scratch.... please report what happens.

> (I assume other X apps run OK, ?)

I have no problem with non-threaded Perl. It's the threading that
causes the problem, AFAIK.

Kind regards

Derek



Sun, 25 Mar 2001 03:00:00 GMT  
 5.005_02, Tk800.011, X error on widget demo


:I saw this problem, I've to trade-off the nice threaded feature in
:perl5.005_xx for Tk800.011 to work.
:
:According to the python's FAQ (see below), the Xlib needs to rebuild
:with threads enabled. However, I haven't try this out. I guess you need
:to download the source.

I'm not certain that even that will help - I don't know that perl/Tk
is thread safe...

--

<*> O- <URL:http://www.purl.org/NET/lvirden/> |     only planning.
Unless explicitly stated to the contrary, nothing in this posting
should be construed as representing my employer's opinions.



Sun, 25 Mar 2001 03:00:00 GMT  
 5.005_02, Tk800.011, X error on widget demo
I had the exact same problem on my Mac G3 running LinuxPPC. My perl 5.005_02
was threaded. I rebuilt it last night and now all is fine. Widget demo works
great.

-Darryl



Quote:

>> Hi,

>> I have Linux (kernel 2.0.30) and have compiled up 5.005_02 (threaded). I
>> have tried to build and test Tk800.011 but the widget demo, - run with:

>>         perl -Mblib demos/widget

>> fails with the following error:

>>         XIO:  fatal IO error 0 (Unknown error) on X server "womble:1.0"
>>         after 28 requests (26 known processed) with 1 events remaining.

>> I'm running a libc 5 system with gcc version 2.7.2.1.

>> After scouring various news / Web sites I found messages like this
>> relating to threaded X libraries (not for Tk, but for other X-related
>> products under Linux), which recommended using a later server and
>> libraries which seemed to fix the problem for some people, - so I
>> downloaded
>> the latest Xfree server, version 3.3.2.3, to see if it *would* fix the
>> problem.

>> No dice.

>> I've also tried reverting to building and testing Tk402.004 and get the
>> same results. (only difference is that there are more "requests")

>> Any ideas?

>Hmm.  I've really never had problems building Perl/Tk on Linux.  Do not
>build a threaded perl though.  Currently I run Redhat 5.x with a similar
>Kernal, Perl 5.005 and Tk 800.011.  All I can say is wipe everything and
>build from scratch.... please report what happens.

>(I assume other X apps run OK, ?)



Mon, 26 Mar 2001 03:00:00 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. 5.005_02, Tk800.011, X error on widget demo

2. perl 5.005_02 w/Tk800.011 on WinNT 4.0 MSC 6.0

3. Problem Installing Tk800.011

4. Help! Building TK800.011 on Win32

5. Help! Building TK800.011 on Win32

6. Perl 5.004_02/Tk402.002 vs Perl 5.005.02 Tk800.011 (ActiveState)

7. Button problem with NT 4 sp3, ActivePerl APi506e , Tk800.011

8. Problem Installing Tk800.011

9. Tk800.011 available here!

10. Perl 5.00502 w/ Tk800.011 for Win32 x86

11. Help! Building TK800.011 on Win32

12. New Tk800.011 build and font problems

 

 
Powered by phpBB® Forum Software