From owner-freebsd-openoffice Sun Aug 11 8:41:47 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 657F337B400 for ; Sun, 11 Aug 2002 08:41:46 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 63E2443E6E for ; Sun, 11 Aug 2002 08:41:45 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g7BFfiQx077586 for ; Sun, 11 Aug 2002 17:41:44 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g7BFfhYW682404 for ; Sun, 11 Aug 2002 17:41:43 +0200 (MES) Date: Sun, 11 Aug 2002 17:43:24 +0200 (CEST) From: Martin Blapp To: Subject: Spelling dictionary ports available again. Message-ID: <20020811173926.G92422-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, After the removal of those ports, I've worked hard and made a master port and 21 slave ports for the spelling dictionaries. As usual, it is available at: http://projects.imp.ch/openoffice I'll build packages later this day. The packages are able to register and unregister themself properly. Also Cross-Registering in de_DE for de_AT is supported. If nothing goes wrong, I'll commit them this evening. Martin Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Sun Aug 11 8:52:33 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6567137B400 for ; Sun, 11 Aug 2002 08:52:28 -0700 (PDT) Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id F34DD43E88 for ; Sun, 11 Aug 2002 08:52:27 -0700 (PDT) (envelope-from matthias.huetsch@sun.com) Received: from hamburg-mail1.germany.sun.com ([129.157.136.19]) by nwkea-mail-2.sun.com (8.9.3+Sun/8.9.3) with ESMTP id IAA00891; Sun, 11 Aug 2002 08:52:26 -0700 (PDT) Received: from sun.com (mhu-1 [10.16.65.164]) by hamburg-mail1.germany.sun.com (8.11.6+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id g7BFqPe26088; Sun, 11 Aug 2002 17:52:25 +0200 (MEST) Message-ID: <3D568839.1000301@sun.com> Date: Sun, 11 Aug 2002 17:52:25 +0200 From: =?ISO-8859-1?Q?Matthias_H=FCtsch?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@porting.openoffice.org Cc: openoffice@FreeBSD.ORG Subject: Re: [porting-dev] Re: Crash with Test-Document in the second run. Memory allocation problem References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Martin, Reading Kevin's and your analysis of this crash, I have some additional comments and guesses. First, the semantic of 'rtl_uString_assign()' is '**ppThis = *pStr', the target '*ppThis' need not exist but the source 'pStr' _must_ exist prior to this call. Second, I agree that 'pStr' (and thus '*pStr') is just garbage. That's why a crash in 'osl_incrementInterlockedCount(pStr->refCount)' is to be expected. Third, and assuming we don't crash as above, the observed crash in 'rtl_freeMemory(*ppThis)' (called from 'rtl_uString_release(*ppThis)') combined with 'free' (with FORCE_SYSALLOC) complaining, I conclude that '*ppThis' also points to (already deallocated) garbage. Thus, we're most probably assigning garbage to garbage here. Fourth, considering 'SvtHistoryOptions...::AppendItem()' arguments passed as 'rtl::OUString const &', I do see several possibilities. A) either those argument strings are already dead, B) or the SvtHistoryOptions instance itself is already dead, C) or there is a bug in the 'AppendItems()' method, and some strings inside a STL container are already dead. Currently, I tend to (C) b/c the following code looks somewhat suspect to me (though not exactly sure). See my concern as ??? below. ...iterator pItem = find(...); if (pItem == pList->end()) { ... pList->push_front(aItem); ... } else { pList->push_front(*pItem); plist->erase(pItem); // ??? iterator 'pItem' still valid here ??? } This could be changed into ...iterator pItem = find(...); if (pItem == pList->end()) { ... pList->push_front(aItem); ... } else { plist->erase(pItem); pList->push_front(aItem); } The above concern may well be just a symptom of a deeper cause, like a multithreading (race) issue. Therefore I'd like to have a look at the backtraces from all threads in such cases. Regarding the complaints from a FORCE_SYSALLOC'd 'free()', it may also be helpful to compile that 'alloc.c' with DEBUG defined, instead. Simple things like 'memory not allocated' are detected and asserted (before it usually crashes). Hope that helps, Matthias Martin Blapp wrote: > What may be wrong here ? > > (gdb) frame 1 > #1 0x285f6889 in rtl_uString_assign (ppThis=0x86cc894, pStr=0x2b822750) > at strtmpl.c:1370 > 1370 IMPL_RTL_AQUIRE( pStr ); > (gdb) list > 1365 > 1366 void SAL_CALL IMPL_RTL_STRINGNAME( assign )( IMPL_RTL_STRINGDATA** > ppThis, > 1367 IMPL_RTL_STRINGDATA* pStr ) > 1368 { > 1369 /* must be done at first, if pStr == *ppThis */ > 1370 IMPL_RTL_AQUIRE( pStr ); > 1371 > 1372 if ( *ppThis ) > 1373 IMPL_RTL_STRINGNAME( release )( *ppThis ); > 1374 > > (gdb) p pStr > $1 = (struct _rtl_uString *) 0x2b822750 > > (gdb) p ppThis > $2 = (struct _rtl_uString **) 0x86cc894 > > (gdb) p pStr->refCount > $3 = 1474660693 > > (gdb) p pStr->length > $4 = -326937770 > > ^^^^^^^^^ > > This looks very wrong to me. > > > (gdb) p pStr->buffer > $5 = {59412} > > (gdb) p pStr->buffer[1] > $6 = 0 > > If I use FORCE_SYSALLOC I end with: > > (gdb) frame 0 > #0 0x285e18e2 in osl_incrementInterlockedCount (pCount=0x2b822750) at > interlck.c:81 > 81 __asm__ __volatile__ ( > > (gdb) list > 76 > /*****************************************************************************/ > 77 oslInterlockedCount SAL_CALL > osl_incrementInterlockedCount(oslInterlockedCount* pCount) > 78 { > 79 oslInterlockedCount nCount; > 80 > 81 __asm__ __volatile__ ( > 82 "movl $1, %0\n\t" > 83 "lock\n\t" > 84 "xadd %0, %1\n\t" > 85 "incl %0" > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Mon Aug 12 13:35:51 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB82437B400 for ; Mon, 12 Aug 2002 13:35:49 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEBE943E65 for ; Mon, 12 Aug 2002 13:35:48 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g7CKZlHB096079 for ; Mon, 12 Aug 2002 22:35:47 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g7CKZlYW734032 for ; Mon, 12 Aug 2002 22:35:47 +0200 (MES) Date: Mon, 12 Aug 2002 22:37:26 +0200 (CEST) From: Martin Blapp To: Subject: Please share your tests: OpenOffice testers -> new forum Message-ID: <20020812223445.P4313-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, OpenOffice.org is now builing a QA infrastructure. If you encounter any problems with documents, or have very good test documents, you can post your experiences to this list: http://www.ooodocs.org/modules.php?name=Forums&file=viewforum&f=21 I'ts also a good thing to look at the other platforms and see what problems they have. Thank you very much. Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Mon Aug 12 14:20:21 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48E0337B400 for ; Mon, 12 Aug 2002 14:20:20 -0700 (PDT) Received: from tomts22-srv.bellnexxia.net (tomts22.bellnexxia.net [209.226.175.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8925B43E42 for ; Mon, 12 Aug 2002 14:20:19 -0700 (PDT) (envelope-from hottymaria@gosympatico.ca) Received: from [209.226.175.136] by tomts22-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with SMTP id <20020812212016.XMKJ16788.tomts22-srv.bellnexxia.net@[209.226.175.136]>; Mon, 12 Aug 2002 17:20:16 -0400 From: To: Subject: Hey, whats up? Date: Mon, 12 Aug 2002 17:21:05 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-Id: <20020812212016.XMKJ16788.tomts22-srv.bellnexxia.net@[209.226.175.136]> Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG

My buddies and I were average people, just like you...Then we had our great idea...
find young hot girls
and proposition them to fool around on video tape.
Armed with a camera, a smooth tongue, and a couple of bucks we have made quite a few interesting videos!
BEST OF ALL... MY SITE IS 100% FREE!! If this sounds like something of interest to you,
click here You will be glad you did.











If you never want to hear from me again, please click here and I will remove you from all future mailings.

----- Get your free WebMail account from Sympatico-Lycos at www.sympatico.ca ----- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Tue Aug 13 15:51:48 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CD9437B400 for ; Tue, 13 Aug 2002 15:51:47 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28BE243E6E for ; Tue, 13 Aug 2002 15:51:46 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g7DMpiHB093802 for ; Wed, 14 Aug 2002 00:51:45 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g7DMpiYW765340 for ; Wed, 14 Aug 2002 00:51:44 +0200 (MES) Date: Wed, 14 Aug 2002 00:53:23 +0200 (CEST) From: Martin Blapp To: Subject: Important locale bug fixed Message-ID: <20020814004854.K4313-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I just fixed an important locale bug. The patch has already been committed to the FreeBSD repo. It was also present in the Linux, Solaris and Irix version of OpenOffice. If you have downloaded a binary package from projects.imp.ch, you can just get a fixed libsal.so.3.0.1 MD5 (libsal.so.3.0.1.tgz) = f9faa086413d78b7a19313fd26b1d361 Size is 950KB. http://projects.imp.ch/openoffice/libsal.so.3.0.1.tgz There is also a workaround for this bug, if you set $LANG to some ISO_8859-1 value. Thank you all for the testing you have done. Martin Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Thu Aug 15 8:20:41 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7227F37B400 for ; Thu, 15 Aug 2002 08:20:38 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5967543E42 for ; Thu, 15 Aug 2002 08:20:37 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g7FFKaHB048064; Thu, 15 Aug 2002 17:20:36 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g7FFKaYW812882; Thu, 15 Aug 2002 17:20:36 +0200 (MES) Date: Thu, 15 Aug 2002 17:22:13 +0200 (CEST) From: Martin Blapp To: Cc: Subject: FreeBSD and webdav problems In-Reply-To: <3D5BC47B.4040106@sun.com> Message-ID: <20020815171253.Y17516-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all, I see some strange behaviour here with webdav. A connection does loop here: external/neon/rtufiles/socket.c nsocket *sock_connect(const struct in_addr addr, unsigned short int portnum) { struct sockaddr_in sa; int fd; /* Create the socket */ fd = socket(AF_INET, SOCK_STREAM, 0); if (fd < 0) return NULL; /* Connect the nsocket */ sa.sin_family = AF_INET; sa.sin_port = htons(portnum); /* host -> net byte orders */ sa.sin_addr = addr; if (connect(fd, (struct sockaddr *)&sa, sizeof(struct sockaddr_in)) < 0) { (void) NEON_CLOSE(fd); return NULL; } /* Success - return the nsocket */ return create_sock(fd); } Breakpoint 1, sock_connect (addr={s_addr = 80}, portnum=80) at socket.c:703 703 fd = socket(AF_INET, SOCK_STREAM, 0); (gdb) c Continuing. Breakpoint 4, 0x28bc0d4d in connect () from /usr/lib/libc_r.so.4 (gdb) c Continuing. Breakpoint 3, sock_close (sock=0x81db870) at socket.c:872 872 ret = NEON_CLOSE(sock->fd); (gdb) c Continuing. Breakpoint 1, sock_connect (addr={s_addr = 80}, portnum=80) at socket.c:703 703 fd = socket(AF_INET, SOCK_STREAM, 0); (gdb) c Continuing. Breakpoint 4, 0x28bc0d4d in connect () from /usr/lib/libc_r.so.4 (gdb) p errno $11 = 36 connect() returns EINPROGRESS. [EINPROGRESS] The socket is non-blocking and the connection cannot be completed immediately. It is possible to select(2) for completion by selecting the socket for writing. This is not handled by the webdav code and so we get into and endless loop. How does this work on other platforms ? Martin Martin Blapp, ------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH Phone: +41 061 826 93 00: +41 61 826 93 01 PGP: PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E ------------------------------------------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Thu Aug 15 13:23: 8 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DD18F37B400; Thu, 15 Aug 2002 13:23:06 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DD8043E6E; Thu, 15 Aug 2002 13:23:06 -0700 (PDT) (envelope-from naddy@FreeBSD.org) Received: from freefall.freebsd.org (naddy@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7FKN6JU002389; Thu, 15 Aug 2002 13:23:06 -0700 (PDT) (envelope-from naddy@freefall.freebsd.org) Received: (from naddy@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7FKN66m002385; Thu, 15 Aug 2002 13:23:06 -0700 (PDT) Date: Thu, 15 Aug 2002 13:23:06 -0700 (PDT) From: Christian Weisgerber Message-Id: <200208152023.g7FKN66m002385@freefall.freebsd.org> To: naddy@FreeBSD.org, freebsd-ports@FreeBSD.org, openoffice@FreeBSD.org Subject: Re: ports/41688: Enhancement for OpenOffice.org: automatic L10N'ed Help installation Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Synopsis: Enhancement for OpenOffice.org: automatic L10N'ed Help installation Responsible-Changed-From-To: freebsd-ports->openoffice Responsible-Changed-By: naddy Responsible-Changed-When: Thu Aug 15 13:22:51 PDT 2002 Responsible-Changed-Why: Over to maintainer. http://www.freebsd.org/cgi/query-pr.cgi?pr=41688 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Thu Aug 15 13:27:19 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14EDC37B400 for ; Thu, 15 Aug 2002 13:27:16 -0700 (PDT) Received: from tomts17-srv.bellnexxia.net (tomts17.bellnexxia.net [209.226.175.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 23A5843E6E for ; Thu, 15 Aug 2002 13:27:15 -0700 (PDT) (envelope-from kevin.hendricks@sympatico.ca) Received: from localhost.localdomain ([65.93.133.235]) by tomts17-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020815202714.KZMR4312.tomts17-srv.bellnexxia.net@localhost.localdomain>; Thu, 15 Aug 2002 16:27:14 -0400 Content-Type: text/plain; charset="iso-8859-1" From: "Kevin B. Hendricks" To: dev@porting.openoffice.org, Martin Blapp Subject: Re: [porting-dev] FreeBSD and webdav problems Date: Thu, 15 Aug 2002 16:23:37 -0400 X-Mailer: KMail [version 1.4] Cc: References: <20020815171253.Y17516-100000@levais.imp.ch> In-Reply-To: <20020815171253.Y17516-100000@levais.imp.ch> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208151623.37127.kevin.hendricks@sympatico.ca> Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, The question I have here is why this socket is set to be non-blocking. Is this something port specific for FreeBSD? Where is the f cntl done on the socket fd that makes it non-blocking? If not non-blocking, then connect should block and wait and not return EINPROGRESS. I can not find any code that sets things up to be non-blocking (perhaps that is a default under FreeBSD?) or I missed it someplace. Kevin On August 15, 2002 11:22, Martin Blapp wrote: > Hi all, > > I see some strange behaviour here with webdav. A connection > does loop here: external/neon/rtufiles/socket.c > > nsocket *sock_connect(const struct in_addr addr, > unsigned short int portnum) > { > struct sockaddr_in sa; > int fd; > > /* Create the socket */ > fd = socket(AF_INET, SOCK_STREAM, 0); > if (fd < 0) > return NULL; > /* Connect the nsocket */ > sa.sin_family = AF_INET; > sa.sin_port = htons(portnum); /* host -> net byte orders */ > sa.sin_addr = addr; > if (connect(fd, (struct sockaddr *)&sa, sizeof(struct sockaddr_in)) > < 0) { (void) NEON_CLOSE(fd); > return NULL; > } > /* Success - return the nsocket */ > return create_sock(fd); > } > > Breakpoint 1, sock_connect (addr={s_addr = 80}, portnum=80) at > socket.c:703 703 fd = socket(AF_INET, SOCK_STREAM, 0); > (gdb) c > Continuing. > > Breakpoint 4, 0x28bc0d4d in connect () from /usr/lib/libc_r.so.4 > (gdb) c > Continuing. > > Breakpoint 3, sock_close (sock=0x81db870) at socket.c:872 > 872 ret = NEON_CLOSE(sock->fd); > (gdb) c > Continuing. > > Breakpoint 1, sock_connect (addr={s_addr = 80}, portnum=80) at > socket.c:703 703 fd = socket(AF_INET, SOCK_STREAM, 0); > (gdb) c > Continuing. > > Breakpoint 4, 0x28bc0d4d in connect () from /usr/lib/libc_r.so.4 > > (gdb) p errno > $11 = 36 > > connect() returns EINPROGRESS. > > [EINPROGRESS] The socket is non-blocking and the connection cannot > be completed immediately. It is possible to > select(2) for completion by selecting the socket for writing. > > This is not handled by the webdav code and so we get into > and endless loop. > > How does this work on other platforms ? > > Martin > > Martin Blapp, > ------------------------------------------------------------------ > ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH > Phone: +41 061 826 93 00: +41 61 826 93 01 > PGP: > PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E > ------------------------------------------------------------------ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@porting.openoffice.org > For additional commands, e-mail: dev-help@porting.openoffice.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Thu Aug 15 15:21: 3 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D78137B400 for ; Thu, 15 Aug 2002 15:21:02 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D51C43E84 for ; Thu, 15 Aug 2002 15:21:01 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g7FMKxHB027093; Fri, 16 Aug 2002 00:20:59 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g7FMKwYW826563; Fri, 16 Aug 2002 00:20:58 +0200 (MES) Date: Fri, 16 Aug 2002 00:22:36 +0200 (CEST) From: Martin Blapp To: "Kevin B. Hendricks" Cc: , Subject: Re: [porting-dev] FreeBSD and webdav problems In-Reply-To: <200208151623.37127.kevin.hendricks@sympatico.ca> Message-ID: <20020816001842.D17516-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, > that is a default under FreeBSD?) or I missed it someplace. Looks like a bug in our threaded libc. It does internally set all sockets non blocking and should not set errno to EINPROGRESS. Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Fri Aug 16 12:12:34 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A22BC37B400 for ; Fri, 16 Aug 2002 12:12:33 -0700 (PDT) Received: from mail.imp.ch (mail.imp.ch [157.161.1.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF1D743E3B for ; Fri, 16 Aug 2002 12:12:32 -0700 (PDT) (envelope-from mb@imp.ch) Received: from nbs.imp.ch (nbs.imp.ch [157.161.4.7]) by mail.imp.ch (8.12.3/8.12.3) with ESMTP id g7GJCUHB006033; Fri, 16 Aug 2002 21:12:31 +0200 (CEST) (envelope-from Martin.Blapp@imp.ch) Received: from levais.imp.ch (levais.imp.ch [157.161.4.66]) by nbs.imp.ch (8.12.3/8.12.3) with ESMTP id g7GJCUYW852372; Fri, 16 Aug 2002 21:12:30 +0200 (MES) Date: Fri, 16 Aug 2002 21:14:07 +0200 (CEST) From: Martin Blapp To: "Kevin B. Hendricks" Cc: , Subject: Re: [porting-dev] FreeBSD and webdav problems In-Reply-To: <200208151623.37127.kevin.hendricks@sympatico.ca> Message-ID: <20020816210929.B17516-100000@levais.imp.ch> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, > The question I have here is why this socket is set to be non-blocking. Is > this something port specific for FreeBSD? Where is the f cntl done on the > socket fd that makes it non-blocking? I know more now. The threaded library does return 0 as it should. If you trace the process, you will see connect() return EINPROGRESS of course, since we have a userland threads library :-/ So this works as exprected, and in GDB I see connect() return 0. My fault. I have now a debug neon/webdav output. Maybe someone else can tell me why this loops on the blank.gif picture ? Host was http://www.heise.de. Can you try this URL too in your OO.org ? http://people.freebsd.org/~mbr/logs/webdavdebug.out Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Fri Aug 16 13:45: 5 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02E9337B400 for ; Fri, 16 Aug 2002 13:45:04 -0700 (PDT) Received: from tomts8-srv.bellnexxia.net (tomts8.bellnexxia.net [209.226.175.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0AB8343E65 for ; Fri, 16 Aug 2002 13:45:03 -0700 (PDT) (envelope-from kevin.hendricks@sympatico.ca) Received: from localhost.localdomain ([65.93.133.235]) by tomts8-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020816204421.LIEX6888.tomts8-srv.bellnexxia.net@localhost.localdomain>; Fri, 16 Aug 2002 16:44:21 -0400 Content-Type: text/plain; charset="iso-8859-1" From: "Kevin B. Hendricks" To: Martin Blapp Subject: Re: [porting-dev] FreeBSD and webdav problems Date: Fri, 16 Aug 2002 16:42:08 -0400 X-Mailer: KMail [version 1.4] Cc: , References: <20020816210929.B17516-100000@levais.imp.ch> In-Reply-To: <20020816210929.B17516-100000@levais.imp.ch> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208161642.08969.kevin.hendricks@sympatico.ca> Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On August 16, 2002 03:14, Martin Blapp wrote: Hi Martin Both my OOo 1.0.1 build and my OO642C build hang on that nastly page. So whatever the problem is, it is not FreeBSD specific. You might want to file a full issuezilla to track this and assign it to the webdav team. I will look at webdavdebug.out and the code later this weekend when I have a moment. Thanks, Kevin > Hi, > > > The question I have here is why this socket is set to be non-blocking. > > Is this something port specific for FreeBSD? Where is the f cntl > > done on the socket fd that makes it non-blocking? > > I know more now. The threaded library does return 0 as it should. If you > trace the process, you will see connect() return EINPROGRESS of course, > since we have a userland threads library :-/ > > So this works as exprected, and in GDB I see connect() return 0. My > fault. > > I have now a debug neon/webdav output. Maybe someone else can tell me > why this loops on the blank.gif picture ? > > Host was http://www.heise.de. Can you try this URL too in your OO.org ? > > http://people.freebsd.org/~mbr/logs/webdavdebug.out > > Martin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Fri Aug 16 14: 3:10 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D443937B401 for ; Fri, 16 Aug 2002 14:03:07 -0700 (PDT) Received: from pheriche.sun.com (pheriche.sun.com [192.18.98.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1CA0743E75 for ; Fri, 16 Aug 2002 14:03:07 -0700 (PDT) (envelope-from matthias.huetsch@sun.com) Received: from hamburg-mail1.germany.sun.com ([129.157.136.19]) by pheriche.sun.com (8.9.3+Sun/8.9.3) with ESMTP id PAA06795; Fri, 16 Aug 2002 15:03:05 -0600 (MDT) Received: from sun.com (mhu-1 [10.16.65.164]) by hamburg-mail1.germany.sun.com (8.11.6+Sun/8.10.2/ENSMAIL,v2.1p1) with ESMTP id g7GL34e23392; Fri, 16 Aug 2002 23:03:04 +0200 (MEST) Message-ID: <3D5D6889.4070302@sun.com> Date: Fri, 16 Aug 2002 23:03:05 +0200 From: =?ISO-8859-1?Q?Matthias_H=FCtsch?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@porting.openoffice.org Cc: openoffice@freebsd.org Subject: Re: [porting-dev] FreeBSD and webdav problems References: <20020816210929.B17516-100000@levais.imp.ch> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi Martin, Kevin, See my comments inline, please. Kevin B. Hendricks wrote: > On August 16, 2002 03:14, Martin Blapp wrote: > Hi Martin > > Both my OOo 1.0.1 build and my OO642C build hang on that nastly page. > So whatever the problem is, it is not FreeBSD specific. > > You might want to file a full issuezilla to track this and assign it to the > webdav team. Yes, please do so. The 'webdav team' should translate into 'Component = ucb', 'Subcomponent = code'. Owner should be 'kso@openoffice.org'. > > I will look at webdavdebug.out and the code later this weekend when I have > a moment. > I've looked at it, and my impression is that the 'loop' is an infinite HTTP redirect response (look at the repeating '[Status Line] < HTTP/1.0 302 FOUND' log entries') that is not properly handled (either by 'neon' itself, or by the controling 'ucpdav' code). > Thanks, > > Kevin > As Kevin now has confirmed that this is no 'porting' issue, we could probably move the discussion over to the 'guilty' ucb project's mailing list (dev@ucb.openoffice.org), if everybody agrees. Hope that helps, Matthias > >>Hi, >> >> >>>The question I have here is why this socket is set to be non-blocking. >>> Is this something port specific for FreeBSD? Where is the f cntl >>>done on the socket fd that makes it non-blocking? >> >>I know more now. The threaded library does return 0 as it should. If you >>trace the process, you will see connect() return EINPROGRESS of course, >>since we have a userland threads library :-/ >> >>So this works as exprected, and in GDB I see connect() return 0. My >>fault. >> >>I have now a debug neon/webdav output. Maybe someone else can tell me >>why this loops on the blank.gif picture ? >> >>Host was http://www.heise.de. Can you try this URL too in your OO.org ? >> >>http://people.freebsd.org/~mbr/logs/webdavdebug.out >> >>Martin > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Fri Aug 16 14: 3:17 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21FEB37B400 for ; Fri, 16 Aug 2002 14:03:13 -0700 (PDT) Received: from tomts5-srv.bellnexxia.net (tomts5.bellnexxia.net [209.226.175.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D2AB43E4A for ; Fri, 16 Aug 2002 14:03:12 -0700 (PDT) (envelope-from kevin.hendricks@sympatico.ca) Received: from localhost.localdomain ([65.93.133.235]) by tomts5-srv.bellnexxia.net (InterMail vM.5.01.04.19 201-253-122-122-119-20020516) with ESMTP id <20020816210229.GTJ11089.tomts5-srv.bellnexxia.net@localhost.localdomain>; Fri, 16 Aug 2002 17:02:29 -0400 Content-Type: text/plain; charset="iso-8859-1" From: "Kevin B. Hendricks" To: dev@porting.openoffice.org, Martin Blapp Subject: Re: [porting-dev] FreeBSD and webdav problems Date: Fri, 16 Aug 2002 17:00:15 -0400 X-Mailer: KMail [version 1.4] Cc: , References: <20020816210929.B17516-100000@levais.imp.ch> <200208161642.08969.kevin.hendricks@sympatico.ca> In-Reply-To: <200208161642.08969.kevin.hendricks@sympatico.ca> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200208161700.15381.kevin.hendricks@sympatico.ca> Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, Here is the loop (BTW: his looks like one of those "invisible tracking" gifs.) It says it is sending 1023 bytes but only 1 byte is ever received. Aslo it says the content is text/xml when it should be binary data I believe isn't it? In fact, it always says it received just 1 byte but it never then requests lthe remaining 1022 ... hmmm Also was is an HTML error "302". Hmm Kevin ---snip outtake from webdavdebug.out--- Request: PROPFIND /blank.gif Running pre_send hooks Not handling session. Sending request headers: PROPFIND /blank.gif HTTP/1.1 Keep-Alive: Connection: TE, Keep-Alive TE: trailers Depth: 0 Content-Length: 85 Content-Type: text/xml Host: heise.ivwbox.de Sending headers: attempt 0 Connecting to server at heise.ivwbox.de:80... Request sent Sending body... Sending body: sock_send_string returns: 0 Body sent. [Status Line] < HTTP/1.0 302 FOUND [Header:17] < Server: IVW/1.0 Header Name: [server], Value: [IVW/1.0] [Header:37] < Date: Fri, 16 Aug 2002 11:40:08 GMT Header Name: [date], Value: [Fri, 16 Aug 2002 11:40:08 GMT] [Header:78] < P3P: policyref="http://www.ivwbox.de/p3p.xml", CP="NOI DSP PSAo OUR NOR UNI" Header Name: [p3p], Value: [policyref="http://www.ivwbox.de/p3p.xml", CP="NOI DSP PSAo OUR NOR UNI"] [Header:18] < Pragma: no-cache Header Name: [pragma], Value: [no-cache] [Header:12] < Expires: 0 Header Name: [expires], Value: [0] [Header:42] < Set-Cookie: ivw=002f3d5ce498ea20; path=/ Header Name: [set-cookie], Value: [ivw=002f3d5ce498ea20; path=/] [Header:22] < Location: /blank.gif Header Name: [location], Value: [/blank.gif] [Header:26] < Content-Type: text/plain Header Name: [content-type], Value: [text/plain] [Header:2] < End of headers. Reading 1023 bytes of response body. Got 1 bytes. Read block: Digesting 1 bytes of response body. Reading 1023 bytes of response body. read returned zero. Got EOF. Read block: Digesting 0 bytes of response body. Response: 302 FOUND Running post_send hooks Connection status: no forced close, persistent connection, pre-HTTP/1.1 Closing connection. Connection closed. Request: PROPFIND /blank.gif Running pre_send hooks Not handling session. Sending request headers: PROPFIND /blank.gif HTTP/1.1 Keep-Alive:On August 16, 2002 04:42, Kevin B. Hendricks wrote: > On August 16, 2002 03:14, Martin Blapp wrote: > Hi Martin > > Both my OOo 1.0.1 build and my OO642C build hang on that nastly page. > So whatever the problem is, it is not FreeBSD specific. > > You might want to file a full issuezilla to track this and assign it to > the webdav team. > > I will look at webdavdebug.out and the code later this weekend when I > have a moment. > > Thanks, > > Kevin > > > Hi, > > > > > The question I have here is why this socket is set to be > > > non-blocking. Is this something port specific for FreeBSD? Where is > > > the f cntl done on the socket fd that makes it non-blocking? > > > > I know more now. The threaded library does return 0 as it should. If > > you trace the process, you will see connect() return EINPROGRESS of > > course, since we have a userland threads library :-/ > > > > So this works as exprected, and in GDB I see connect() return 0. My > > fault. > > > > I have now a debug neon/webdav output. Maybe someone else can tell me > > why this loops on the blank.gif picture ? > > > > Host was http://www.heise.de. Can you try this URL too in your OO.org > > ? > > > > http://people.freebsd.org/~mbr/logs/webdavdebug.out > > > > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@porting.openoffice.org > For additional commands, e-mail: dev-help@porting.openoffice.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message From owner-freebsd-openoffice Sat Aug 17 13:17: 8 2002 Delivered-To: freebsd-openoffice@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5705537B400 for ; Sat, 17 Aug 2002 13:17:06 -0700 (PDT) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 12AA143E4A for ; Sat, 17 Aug 2002 13:17:06 -0700 (PDT) (envelope-from louis@openoffice.org) Received: from user-11206tb.dsl.mindspring.com ([66.32.27.171]) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17gA0G-0004DG-00; Sat, 17 Aug 2002 13:16:56 -0700 User-Agent: Microsoft-Entourage/10.1.0.2006 Date: Sat, 17 Aug 2002 13:16:55 -0700 Subject: Re: [webmasters] Re: Md5 checksums changed ? Openoffice trojaned ? From: Louis Suarez-Potts To: , Martin Blapp , Cc: Message-ID: In-Reply-To: <20020802221644.V58571-100000@levais.imp.ch> Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit Sender: owner-freebsd-openoffice@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi You are right, of course. I'll change it as soon as I can. Best Louis Suarez-Potts, Ph.D. Community Manager OpenOffice.org on 8/2/02 1:20 PM, Martin Blapp at mb@imp.ch wrote: > > Hi, > > I think the "Size" comment on this webpage is wrong then: > > http://www.openoffice.org/dev_docs/source/1.0.1/source.html > > The .bzip size is 130MB, the .gz 148MB, not as stated "Source .bzip 119MB | > .gz 136MB" > > -rw-r--r-- 1 root wheel 136458398 Jul 16 02:01 > /usr/ports/distfiles/openoffice/OOo_1.0.1_source.tar.bz2 > > bc> 136458398 / 1024 / 1024 > 130 > > Martin > > Martin Blapp, > ------------------------------------------------------------------ > ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH > Phone: +41 061 826 93 00: +41 61 826 93 01 > PGP: > PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E > ------------------------------------------------------------------ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: webmasters-unsubscribe@openoffice.org > For additional commands, e-mail: webmasters-help@openoffice.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-openoffice" in the body of the message