From: <el...@ji...> - 2006-04-07 20:42:31
|
Maeda Yasuyuki wrote: >I found that the exception was thrown even when xterm is launching. > > The exception gets thrown from time to time when doing something with windows, like creating them. Will have to look in this more deeply, concerning the apparently non-deterneministic nature of exception throwing. >This exception may not be concerned with segfaults directly >because PyWM kept running in this case. > > To me it seems that they are related, but as I don't get segfaults, It should be possible for also. >---beginning--- >myWindowClass.__init__: window xterm created >flwm_.py_on_create: chained handler ok >flwm_.py_on_create: a chained handler failed >Traceback (most recent call last): > File "flwm_.pyx", line 681, in flwm_.py_on_create > File "/usr/lib/python2.4/site-packages/pywm/applets.py", line 66, in taskbarRefresh > if win: > File "flwm_.pyx", line 731, in flwm_.py_on_activate > File "/usr/lib/python2.4/site-packages/pywm/__init__.py", line 1107, in window return self.windows[hWin] >KeyError: 143635344L >myWindowManager: created window xterm ><window hWin:0x88fb390 'xterm'> >Fl_Hold_Browser.clear: entered >Fl_Hold_Browser_clear: entered >flwm_.py_on_deactivate: chained handler ok >WM.on_deactivate: deactivated 'xterm' >---end--- > >Moreover, when I use example1 to example4, xterm caused PyWM down, >just example5 were OK. > >---beginning--- >*********** LAUNCHING FLWM ******************* >WM.on_create: created window 'xterm' >zsh: segmentation fault python /usr/lib/python2.4/site-packages/pywm/examples/example1.py >---end--- > >My envrioment is: >Pyrex : 0.9.3.1 >gcc : 4.1.0 >glibc : 2.4 >python : 2.4.2 >fltk : 1.1.7 > > I tested with a setup that differs only with glibc being v. 2.3.6 (I'm using debian testing). Still, pywm just keeps going, only complaining from time to time. What do you think is causing the segfaulting? Could you maybe test with differrent setups (different distros especially) Anyway, I'll try to fix the bug soon. >>Expect (don't depend on me though=) a solution around the weekend. >> >> >Thank you for your favor. I will try to figure it out, too. > >Maeda > > No problem, after all, I'm supposed to maintain this software =)... Elmo |