[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ANNOUNCE] SimpleAgenda 0.26
From: |
Philippe Roussel |
Subject: |
Re: [ANNOUNCE] SimpleAgenda 0.26 |
Date: |
Thu, 23 Aug 2007 10:06:24 +0200 |
User-agent: |
Mutt/1.5.11 |
On Thu, Aug 23, 2007 at 07:08:12AM +0200, Sebastian Reitenbach wrote:
> Hi all,
>
> The problem is described very easily:
> On first startup of SimpleAgenda, the applicaton icon shows up in the dock,
> the menu or main window, i cannot really see what it is, is flickering a lot
> of times, and then disappearing. For each flicker, one line of these shows
> up in the console:
>
> $ openapp SimpleAgenda
> 2007-08-22 07:14:54.500 SimpleAgenda[3388] QueryTree window is 8388777
> (root -809542512 cwin root 60)
> 2007-08-22 07:14:54.507 SimpleAgenda[3388] QueryTree window is 8388776 (root
> 60 cwin root 60)
[...]
> 2007-08-22 07:14:54.845 SimpleAgenda[3388] QueryTree window is 8388888 (root
> 60 cwin root 60)
>
> after the last line the flickering stops, and the window is disappeared,
> only the application icon is there in the dock. This was tested with wm2 and
> WindowMaker. The lines are only printed on the console in wm2, in
> WindowMaker, the console is silent.
> When I then kill the application and start it again, the flickering
> menu/main window does not show up again.
>
> I started it with debugapp to see where it hangs:
>
> Program received signal SIGINT, Interrupt.
> 0x03a20859 in poll () from /usr/lib/libc.so.41.0
> (gdb) bt
> #0 0x03a20859 in poll () from /usr/lib/libc.so.41.0
> #1 0x04419e90 in _thread_kern_poll (wait_reqd=1)
> at /usr/src/lib/libpthread/uthread/uthread_kern.c:760
> #2 0x044199cf in _thread_kern_sched (scp=0x0)
> at /usr/src/lib/libpthread/uthread/uthread_kern.c:382
> #3 0x04419d1b in _thread_kern_sched_state (state=PS_FDLR_WAIT, fname=0x4
> <Address 0x4 out of bounds>, lineno=4)
> at /usr/src/lib/libpthread/uthread/uthread_kern.c:550
> #4 0x04413fda in poll (fds=0x7d8b5080, nfds=4, timeout=29966)
> at /usr/src/lib/libpthread/uthread/uthread_poll.c:94
> #5 0x0c727518 in GSPrivateNativeCStringEncoding ()
> from /usr/local/lib/libgnustep-base.so.1.14
> #6 0x0c6a7138 in _NSRangeExceptionRaise ()
> from /usr/local/lib/libgnustep-base.so.1.14
> #7 0x0c6a7524 in _NSRangeExceptionRaise ()
> from /usr/local/lib/libgnustep-base.so.1.14
> #8 0x03c3fdf1 in GSCurrentServer ()
> from /usr/local/lib/libgnustep-gui.so.0.12
> #9 0x03649301 in -[XGServer(X11Ops)
> getEventMatchingMask:beforeDate:inMode:dequeue:] ()
>
> from
> /usr/local/lib/GNUstep/Bundles/libgnustep-back-012.bundle/./libgnustep-back-012.so
>
> #10 0x03b0f9c7 in gsapp_user_bundles ()
> from /usr/local/lib/libgnustep-gui.so.0.12
> #11 0x03b0e5d1 in gsapp_user_bundles ()
> from /usr/local/lib/libgnustep-gui.so.0.12
> #12 0x03af83bf in NSApplicationMain ()
> from /usr/local/lib/libgnustep-gui.so.0.12
> #13 0x1c01421a in gnustep_base_user_main ()
> #14 0x0c69780c in main () from /usr/local/lib/libgnustep-base.so.1.14
> #15 0x1c002aa0 in ___start ()
> #16 0x1c002a0f in _start ()
> #17 0x00000000 in ?? ()
> (gdb) list
> 94 _thread_kern_sched_state(PS_POLL_WAIT, __FILE__,
> __LINE__);
> 95 if (curthread->interrupted) {
> 96 errno = EINTR;
> 97 ret = -1;
> 98 } else {
> 99 ret = (int)data.nfds;
> 100 }
> 101 }
> 102
> 103 /* No longer in a cancellation point: */
>
>
> It is the same place on first or subsequent start.
>
> Other applications, like GNUmail, ProjectCenter work well.
To complete the story, I had all the symptoms Sebastian described
until a certain time and then it simply worked...
Another strange thing : I can now run SimpleAgenda without problem
under WindowMaker but, if I use fvwm, I get all the errors above
again. If I start the application under WindowMaker and then switch to
fvwm, it continues to run happily....
I *think* this might be due to code ordering and timing problems but
for now I have no clue.
Philippe
--
Linux, le système qui exploite l'ordinateur pas l'utilisateur