Re: [Zope] Zope stops responding on hpux
Samuel Bieri wrote at 2005-5-8 22:44 +0200: ... Try to run Zope inside a debugger. I managed to compile GNU debug 6.1.1 on the hp-ux box. When I run zope inside gdb I get the following: (gdb) run snip 2005-05-08T22:29:59 INFO(0) Zope Ready to handle requests [New thread 2 (system thread 9556080)] [New thread 3 (system thread 9556082)] [New thread 4 (system thread 9556083)] [New thread 5 (system thread 9556084)] --- here I klick on a tal-obect in zope. Zope freezes. Then I kill zope. Program received signal SIGQUIT, Quit. 0x77d2ca58 in __lwp_sema_wait () from /usr/lib/librt.2 Usually, Control-C is a better way to get debugger control. (gdb) bt #0 0x77d2ca58 in __lwp_sema_wait () from /usr/lib/librt.2 #1 0x77d2ba78 in sem_wait () from /usr/lib/librt.2 #2 0x77d2ba10 in sem_wait () from /usr/lib/librt.2 #3 0x77d2ba10 in sem_wait () from /usr/lib/librt.2 Previous frame identical to this frame (corrupt stack?) (gdb) That's sad. It may mean that the runtime library is so much optimized that GDB is unable to rebuild the call chain. If this is indeed the case, then it will not be easy to analyse your problem... Can any experienced zope programmer help me further? At least the incomplete traceback is not a Zope but an HP-UX issue. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope stops responding on hpux
Samuel Bieri [EMAIL PROTECTED] wrote: When I click on a tal-object (Page Template) to edit it, then zope stops responding. No error is logged, nothing. I even cannot stop zope anymore with zopectl stop or control-c if started with runzope. It seems that zope silently crashes... You may want to try DeadlockDebugger. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope stops responding on hpux
Samuel Bieri wrote at 2005-5-7 23:45 +0200: ... When I click on a tal-object (Page Template) to edit it, then zope stops responding. No error is logged, nothing. I even cannot stop zope anymore with zopectl stop or control-c if started with runzope. It seems that zope silently crashes... However, I can create a tal-object, it only happens when I try to edit. Try to run Zope inside a debugger. The debugger may be able to tell you about spurious signals causing Zope to die or to analyse the state once Zope is hanging. -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope stops responding on hpux
Thank you a lot Florent for the hint ! The DeadlockDebugger seems to install and run correctly: event.log: snip 2005-05-08T19:55:20 INFO(0) ZServer HTTP server started at Sun May 8 19:55:20 2005 Hostname: zuse. Port: 8080 -- 2005-05-08T19:55:20 INFO(0) ZServer FTP server started at Sun May 8 19:55:20 2005 Hostname: zuse Port: 8021 -- 2005-05-08T19:55:21 INFO(0) DeadlockDebugger Installed -- 2005-05-08T19:55:24 INFO(0) Zope Ready to handle requests And the Debugger gives me the threads traceback dump. But when I click on a tal-object, then zope deadlocks and also DeadlockDebugger does not return the dump anymore. Samuel Florent Guillaume wrote: Samuel Bieri [EMAIL PROTECTED] wrote: When I click on a tal-object (Page Template) to edit it, then zope stops responding. No error is logged, nothing. I even cannot stop zope anymore with zopectl stop or control-c if started with runzope. It seems that zope silently crashes... You may want to try DeadlockDebugger. Florent ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope stops responding on hpux
Dieter Maurer wrote: Samuel Bieri wrote at 2005-5-7 23:45 +0200: ... When I click on a tal-object (Page Template) to edit it, then zope stops responding. No error is logged, nothing. I even cannot stop zope anymore with zopectl stop or control-c if started with runzope. It seems that zope silently crashes... However, I can create a tal-object, it only happens when I try to edit. Try to run Zope inside a debugger. I managed to compile GNU debug 6.1.1 on the hp-ux box. When I run zope inside gdb I get the following: (gdb) run snip 2005-05-08T22:29:59 INFO(0) Zope Ready to handle requests [New thread 2 (system thread 9556080)] [New thread 3 (system thread 9556082)] [New thread 4 (system thread 9556083)] [New thread 5 (system thread 9556084)] --- here I klick on a tal-obect in zope. Zope freezes. Then I kill zope. Program received signal SIGQUIT, Quit. 0x77d2ca58 in __lwp_sema_wait () from /usr/lib/librt.2 (gdb) bt #0 0x77d2ca58 in __lwp_sema_wait () from /usr/lib/librt.2 #1 0x77d2ba78 in sem_wait () from /usr/lib/librt.2 #2 0x77d2ba10 in sem_wait () from /usr/lib/librt.2 #3 0x77d2ba10 in sem_wait () from /usr/lib/librt.2 Previous frame identical to this frame (corrupt stack?) (gdb) Can any experienced zope programmer help me further? What does this mean? Thank you very much, Samuel ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope stops responding on hpux
On Sun, 8 May 2005, Samuel Bieri wrote: I managed to compile GNU debug 6.1.1 on the hp-ux box. I hope it wasn't too much trouble. You could have gotten it from here: http://www.hp.com/go/wdb --- here I klick on a tal-obect in zope. Zope freezes. Then I kill zope. Program received signal SIGQUIT, Quit. 0x77d2ca58 in __lwp_sema_wait () from /usr/lib/librt.2 (gdb) bt # 0 0x77d2ca58 in __lwp_sema_wait () from /usr/lib/librt.2 # 1 0x77d2ba78 in sem_wait () from /usr/lib/librt.2 # 2 0x77d2ba10 in sem_wait () from /usr/lib/librt.2 # 3 0x77d2ba10 in sem_wait () from /usr/lib/librt.2 Previous frame identical to this frame (corrupt stack?) (gdb) Can any experienced zope programmer help me further? What does this mean? Looks like a deadlock on a semaphore to me, though I couldn't say where. Did you python build pass all of the self tests? Did you build your python with the posix threads apis (i.e. not DCE threads)? Jeff D Jeff Donsbach Webmaster (and bass drummer) Middlesex County Volunteers Fifes and Drums http://www.mcvfifesanddrums.org/ [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope stops responding on hpux
On May 7, 2005, at 23:45 , Samuel Bieri wrote: Dear list-members I am desperately trying to get our zope application run on hpux, and any help is greatly appreciated. I have the following problem: I know this isn't really helpful, but when it comes to exotic operating systems like HP-UX you might be all on your own and there won't be many people to help. If you really want to use Zope it might be easier and cheaper in the long run to buy a i386-based commodity server and put Linux on it. jens ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )