[OGo-Developer] OGo Trunk WebUI Crashing With Signal#6

Adam Tauno Williams developer@opengroupware.org
Mon, 11 Dec 2006 11:54:05 -0500


On Sun, 2006-12-10 at 21:51 -0500, Adam Tauno Williams wrote:
> On Sun, 2006-12-10 at 19:37 -0500, Adam Tauno Williams wrote:
> > On Mon, 2006-12-11 at 00:58 +0100, Helge Hess wrote:
> > > On Dec 11, 2006, at 24:38, Adam Tauno Williams wrote:
> > > > Not certainly I'm doing it right, but I get this -
> > > > (gdb) break raise
> > > > [0] cancel
> > > > [1] all
> > > > [2] -[NSException raise] at NSException.m:197
> > > Enter 2.
> > > > Argument required (one or more choice numbers).
> > > > (gdb) backtrace
> > > > #0  0xffffe410 in __kernel_vsyscall ()
> > > > #1  0xb75d9cdd in ___newselect_nocancel () from /lib/libc.so.6
> > > > #2  0xb7748dd0 in -[NSRunLoop acceptInputForMode:beforeDate:]
> > > > (self=0x8134a6c, _cmd=0xb77bd2b0,
> > > No, thats useless. Is that the backtrace when you enter Ctrl-C? Do:
> > >  > r -WOUseWatchDog NO
> > > ... press Ctrl-C ...
> > >  > break raise
> > > ... enter 2 ...
> > >  > continue
> > > ... reproduce issue ...
> > >  > backtrace
> > > I suppose the exception is during setup, so you need to press Ctrl-C  
> > > before its encountered but after libFoundation got loaded ...
> > 
> > I think I need to build the libraries with debugging symbols.
> 
> Here we go....

I think this is bubbling all the way up from PostgreSQL itself;  in
PostgreSQL's src/backend/utils/adt/timestamp.c ...

2832 if (VARSIZE(str) - VARHDRSZ > MAXDATELEN)
2833	ereport(ERROR,
2834			(errcode(ERRCODE_INVALID_DATETIME_FORMAT),
2835			 errmsg("invalid input syntax for type timestamp with time zone: \"%s\"",
2836					DatumGetCString(DirectFunctionCall1(textout,
2837												   PointerGetDatum(str))))));
2838 
2839 sp = VARDATA(str);
2840 dp = dstr;

So I'll turn on SQL debugging and see what is getting sent.

> Dec 11 02:50:19 ogo-webui-1.1 [1962]: Note: folder-view did not find
> Epoz.
> Dec 11 02:50:20 ogo-webui-1.1 [1962]: SkyPersonViewer: form letter
> types: excel, framemaker, winword
> Dec 11 02:50:20 ogo-webui-1.1 [1962]: |ogo-webui-1.1| OpenGroupware.org
> instance initialized.
> Dec 11 02:50:20 ogo-webui-1.1 [1962]: |ogo-webui-1.1| WOHttpAdaptor
> listening on address *:20000
> 
> Program received signal SIGINT, Interrupt.
> [Switching to Thread -1222620992 (LWP 1962)]
> 0xffffe410 in __kernel_vsyscall ()
> (gdb) break raise
> [0] cancel
> [1] all
> [2] -[NSException raise] at NSException.m:197
> > 2
> Breakpoint 1 at 0xb7727456: file NSException.m, line 197.
> (gdb) continue
> Continuing.
> Dec 11 02:50:40 ogo-webui-1.1 [1962]: <<0x0x891528c[WOForm]>>D Note:
> session-id is requested, but no session is active?
> 127.0.0.1 - - [11/Dec/2006:02:50:40 GMT] "GET /OpenGroupware/ HTTP/1.1"
> 200 1454/0 0.025 5038 71% 604K
> Dec 11 02:50:44 ogo-webui-1.1 [1962]: <0x0x891161c[OGoHelpManager]>
> Note: no OGo documentation installed!
> Dec 11 02:50:44 ogo-webui-1.1 [1962]: <0x0x891161c[OGoHelpManager]> SP:
> Dec 11 02:50:44 ogo-webui-1.1 [1962]: |ogo-webui-1.1|
> <OpenGroupware[0x0x812dc0c]: name=ogo-webui-1.1>: created session:
> <OGoSession[0x0x8902f7c]: id=07AA07AA01457CC784>
> Dec 11 02:50:44 ogo-webui-1.1 [1962]: ccaps:
> <WEClientCapabilities[0x0x88f3c34]: type=Mozilla v5.0 os=Linux cpu=ix86
> fast-tbl css2 xul js>
> Dec 11 02:50:44 ogo-webui-1.1 [1962]: Note: PostgreSQL72 adaptor using
> timezone 'GMT' as default
> 
> Breakpoint 1, -[NSException raise] (self=0x8977574, _cmd=0xb7b56b20) at
> NSException.m:197
> 197     NSException.m: No such file or directory.
>         in NSException.m
> (gdb) backtrace
> #0  -[NSException raise] (self=0x8977574, _cmd=0xb7b56b20) at
> NSException.m:197
> #1  0xb7b139d7 in EOAccess_EOCustomValues_link ()
> from /usr/local/lib/libGDLAccess_d.so.4.5
> #2  0xb7b9842e in -[LSDBObjectNewCommand _executeInContext:]
> (self=0x896e20c, _cmd=0xb71b62f0,
>     _context=0x89210fc) at LSDBObjectNewCommand.m:146
> #3  0xb71addc4 in -[LSAddSessionLogCommand _executeInContext:]
> (self=0x896e20c, _cmd=0xb7bdd5b0,
>     _context=0x89210fc) at LSAddSessionLogCommand.m:80
> #4  0xb7b92e05 in -[LSDBObjectBaseCommand primaryRunInContext:]
> (self=0x896e20c, _cmd=0xb7bd82d0,
>     _context=0x89210fc) at LSDBObjectBaseCommand.m:186
> #5  0xb7b8841c in -[LSBaseCommand runInContext:] (self=0x896e20c,
> _cmd=0xb7bd8240, _context=0x89210fc)
>     at LSBaseCommand.m:192
> #6  0xb7b87cd9 in LSCommandRunV (_ctx=0x89210fc, _factory=0x80cb424,
> _domain=0xb719e348,
>     _command=0xb719e354) at LSBaseCommand.m:84
> #7  0xb719484a in -[LSLoginAccountCommand _executeInContext:]
> (self=0x8931d4c, _cmd=0xb7bdd5b0,
>     _context=0x89210fc) at LSLoginAccountCommand.m:257
> #8  0xb7b92e05 in -[LSDBObjectBaseCommand primaryRunInContext:]
> (self=0x8931d4c, _cmd=0xb7bd82d0,
>     _context=0x89210fc) at LSDBObjectBaseCommand.m:186
> #9  0xb7b8841c in -[LSBaseCommand runInContext:] (self=0x8931d4c,
> _cmd=0xb7bd9da0, _context=0x89210fc)
>     at LSBaseCommand.m:192
> #10 0xb7b8d757 in runCommand (self=0x89210fc, _command=0x8931d4c) at
> LSCommandContext.m:870
> #11 0xb7b8b986 in -[LSCommandContext runCommand:vargs:] (self=0x89210fc,
> _cmd=0xb7bf05f0,
>     _command=0xb7bf00d4, _va=0xbf8d5728) at LSCommandContext.m:457
> #12 0xb7bbc2de in -[OGoContextSession runCommand:] (self=0x891fcec,
> _cmd=0xb7bf0668,
>     _command=0xb7bf00d4) at OGoContextSession.m:205
> #13 0xb7bbca34 in -[OGoContextSession
> login:password:crypted:isSessionLogEnabled:] (self=0x891fcec,
>     _cmd=0xb7bee090, _login=0x89008d4, _pwd=0x8907e6c, _crypted=0
> '\000',
>     _isSessionLogEnabled=1 '\001') at OGoContextSession.m:288
> #14 0xb7bb8a3e in -[OGoContextManager
> login:password:crypted:isSessionLogEnabled:] (self=0x831b8ac,
>     _cmd=0xb7bee080, _login=0x89008d4, _password=0x8907e6c, _crypted=0
> '\000',
>     _isSessionLogEnabled=1 '\001') at OGoContextManager.m:691
> #15 0xb7bb87e8 in -[OGoContextManager login:password:] (self=0x831b8ac,
> _cmd=0x805a9c8,
>     _login=0x89008d4, _password=0x8907e6c) at OGoContextManager.m:661
> #16 0x0805187c in -[WODirectAction(LoginAction)
> loginActionWithLogin:password:request:] (
>     self=0x8900a9c, _cmd=0x805aa28, login=0x89008d4, pwd=0x8907e6c,
> req=0x891359c)
> ---Type <return> to continue, or q <return> to quit---
>     at WODirectAction+LoginAction.m:343
> #17 0x08051f18 in -[WODirectAction(LoginAction) loginAction]
> (self=0x8900a9c, _cmd=0x80867c0)
>     at WODirectAction+LoginAction.m:403
> #18 0xb7723eae in -[NSObject performSelector:] (self=0x8900a9c,
> _cmd=0xb7da3550, aSelector=0x80867c0)
>     at NSObject.m:614
> #19 0xb7ca20bf in WOApplicationMain ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #20 0x0804f922 in -[DirectAction performActionNamed:] (self=0x8900a9c,
> _cmd=0xb7da3ff0,
>     _actionName=0x891279c) at DirectAction.m:151
> #21 0xb7ca3282 in WOApplicationMain ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #22 0xb7cb6a6f in WOApplicationMain ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #23 0xb7c6d6ce in WOGetKVCValueUsingMethod ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #24 0xb7c6da3c in WOGetKVCValueUsingMethod ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #25 0x0804e9c1 in -[OpenGroupware dispatchRequest:] (self=0x812dc0c,
> _cmd=0xb7df21b0,
>     _request=0x891359c) at OpenGroupware.m:829
> #26 0xb7d1b2cc in OWFormElementName ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #27 0xb7d1b745 in OWFormElementName ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #28 0xb7d16a87 in OWFormElementName ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #29 0xb7d16d88 in OWFormElementName ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #30 0xb7d1771b in OWFormElementName ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #31 0xb7724736 in -[NSObject performSelector:withObject:]
> (self=0x88c74b4, _cmd=0xb77fb3a0,
>     aSelector=0xb7df13b0, anObject=0x88d145c) at NSObject.m:730
> #32 0xb777680b in -[NSNotificationListItem postNotification:]
> (self=0x88cc994, _cmd=0xb77fb470,
>     notification=0x88d145c) at NSNotificationCenter.m:104
> #33 0xb7724736 in -[NSObject performSelector:withObject:]
> (self=0x88cc994, _cmd=0xb77e1ee0,
>     aSelector=0xb77fb470, anObject=0x88d145c) at NSObject.m:730
> #34 0xb77322ba in -[NSArray makeObjectsPerform:withObject:]
> (self=0x88efba4, _cmd=0xb77fb478,
>     aSelector=0xb77fb470, anObject=0x88d145c) at NSArray.m:403
> #35 0xb7777852 in -[NSNotificationCenter postNotification:]
> (self=0x80a83d4, _cmd=0xb77fb4b0,
>     notification=0x88d145c) at NSNotificationCenter.m:453
> #36 0xb7777bdd in -[NSNotificationCenter postNotificationName:object:]
> (self=0x80a83d4,
>     _cmd=0xb7809120, notificationName=0xb7809380, object=0x88cb5bc) at
> NSNotificationCenter.m:590
> #37 0xb779294f in -[NSRunLoopFileObjectInfo activity:onDescriptor:]
> (self=0x88cae14, _cmd=0xb78092e8,
>     _activity=NSPosixReadableActivity, _fd=8) at NSRunLoop.m:190
> ---Type <return> to continue, or q <return> to quit---
> #38 0xb7795025 in -[NSRunLoop acceptInputForMode:beforeDate:]
> (self=0x815fb1c, _cmd=0xb78092b0,
>     aMode=0xb7809368, limitDate=0x8900a24) at NSRunLoop.m:767
> #39 0xb77947e3 in -[NSRunLoop runMode:beforeDate:] (self=0x815fb1c,
> _cmd=0xb7d88490,
>     aMode=0xb7809368, limitDate=0x8900a24) at NSRunLoop.m:621
> #40 0xb7c6ce53 in WOGetKVCValueUsingMethod ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #41 0xb7c9db97 in WOApplicationMain ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #42 0xb7cc0055 in WOWatchDogApplicationMain ()
> from /usr/local/lib/libNGObjWeb_d.so.4.5
> #43 0x08049b5c in main (argc=1457883477, argv=0x10ec8353, env=0xe8) at
> main.m:32
> 
>