You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Michael Sinz <Mi...@sinz.org> on 2008/03/20 18:43:03 UTC

1.5 beta problem... still trying to track it down.

Sorry for the poor problem report but I am swamped with work (as in
paying) but did not want to let this get missed.

I have built the 1.5 beta 1 code base using released tarballs.  This
is on 32-bit and on 64-bit x86 Linux environments.  (Two different
machines with very different distributions)

When doing a commit (via HTTP) using the svn client that was built
from the same build as the svn server module, I get a strange result
when committing some of my HTML files:

  Sending        Michael.Sinz/Software.html
  Transmitting file data .svn: Commit failed (details follow):
  svn: Can't convert string from native encoding to 'UTF-8':
  svn: Your commit message was left in a temporary file:
  svn:    '/home/mks/web/svn-commit.tmp'

The strange thing is that the server did take the commit but the local
working copy was not updated and thus thinks the commit failed.  In
another test case, I had a graphic and the HTML file and the graphic
was added but the HTML file was shown as still locally changed while
the commit did happen on the server.

There are no hooks.  This is with a repository that was actively used
with 1.4.6 just before the test with 1.5.0 beta 1.

I will try to get some time to try to track this down but that may not
be for a few days yet.

-- 
Michael Sinz Technology and Engineering Director/Consultant
"Starting Startups" mailto:Michael.Sinz@sinz.org
My place on the web http://www.sinz.org/Michael.Sinz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: 1.5 beta problem... still trying to track it down.

Posted by Kamesh Jayachandran <ka...@collab.net>.
>> Hi Michael,
>>
>>  I remember seeing some errors saying 'UTF-8' blah blah, when my
>>  httpd was built with apr-0.9.x and 'mod_dav|authz_svn' built with apr-1.x.
>>
>>  After making my apr-0.9.x(i.e making httpd and svn modules to link against
>> same apr major version)
>>  has fixed the problem.

>I will try to check for that.  Note that the problem only seems to
>happen to my HTML files.  A README.txt file did not cause this problem
>(commit worked just fine)


Yes, it can be strange.


>>  Can you check error.log to see any segfaults?

>No segfaults - I will check versions tomorrow (hopefully)

>BTW - Here is what was in the error.log - interesting in that it shows
>an error where it can not get the transaction (but that is because the
>transaction actually did succeed - verified via a checkout
>elsewhere...)

>[Thu Mar 20 14:41:10 2008] [error] [client 192.168.1.7] Can't convert
>string from native encoding to 'UTF-8':  [409, #22]
>[Thu Mar 20 14:41:10 2008] [error] [client 192.168.1.7]
>\x18!\b@?\\153%\bxx"\b$\x18!\b \x0f%\b?\\176?\\190\x1c\b  [409, #22]
>[Thu Mar 20 14:41:11 2008] [error] [client 192.168.1.7] Could not
>DELETE /svn/sinz.org/!svn/act/f18aff77-46c5-4559-aca7-76c2e9088de3.
>[500, #0]
>[Thu Mar 20 14:41:11 2008] [error] [client 192.168.1.7] could not open
>transaction.  [500, #2]
>[Thu Mar 20 14:41:11 2008] [error] [client 192.168.1.7] Can't open
>file '/home/subversion/repositories/sinz.org/db/transactions/51-1.txn/props':
>No such file or directory  [500, #2]

Yes it is precisely what I had seen at 

http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=136073

What happens here is 'neon sends a first MERGE request', which after 
committing segfaults or terminates the connection. So neon makes one more request
which fails.

With regards
Kamesh Jayachandran

Re: 1.5 beta problem... still trying to track it down.

Posted by Michael Sinz <Mi...@sinz.org>.
On Thu, Mar 20, 2008 at 2:50 PM, Kamesh Jayachandran <ka...@collab.net> wrote:
> Hi Michael,
>
>  I remember seeing some errors saying 'UTF-8' blah blah, when my
>  httpd was built with apr-0.9.x and 'mod_dav|authz_svn' built with apr-1.x.
>
>  After making my apr-0.9.x(i.e making httpd and svn modules to link against
> same apr major version)
>  has fixed the problem.

I will try to check for that.  Note that the problem only seems to
happen to my HTML files.  A README.txt file did not cause this problem
(commit worked just fine)

>  Can you check error.log to see any segfaults?

No segfaults - I will check versions tomorrow (hopefully)

BTW - Here is what was in the error.log - interesting in that it shows
an error where it can not get the transaction (but that is because the
transaction actually did succeed - verified via a checkout
elsewhere...)

[Thu Mar 20 14:41:10 2008] [error] [client 192.168.1.7] Could not
MERGE resource "/svn/sinz.org/!svn/act/f18aff77-46c5-4559-aca7-76c2e9088de3"
into "/svn/sinz.org/trunk/Michael.Sinz".  [409, #0]
[Thu Mar 20 14:41:10 2008] [error] [client 192.168.1.7] An error
occurred while committing the transaction.  [409, #22]
[Thu Mar 20 14:41:10 2008] [error] [client 192.168.1.7] Can't convert
string from native encoding to 'UTF-8':  [409, #22]
[Thu Mar 20 14:41:10 2008] [error] [client 192.168.1.7]
\x18!\b@?\\153%\bxx"\b$\x18!\b \x0f%\b?\\176?\\190\x1c\b  [409, #22]
[Thu Mar 20 14:41:11 2008] [error] [client 192.168.1.7] Could not
DELETE /svn/sinz.org/!svn/act/f18aff77-46c5-4559-aca7-76c2e9088de3.
[500, #0]
[Thu Mar 20 14:41:11 2008] [error] [client 192.168.1.7] could not open
transaction.  [500, #2]
[Thu Mar 20 14:41:11 2008] [error] [client 192.168.1.7] Can't open
file '/home/subversion/repositories/sinz.org/db/transactions/51-1.txn/props':
No such file or directory  [500, #2]

-- 
Michael Sinz Technology and Engineering Director/Consultant
"Starting Startups" mailto:Michael.Sinz@sinz.org
My place on the web http://www.sinz.org/Michael.Sinz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

RE: 1.5 beta problem... still trying to track it down.

Posted by Kamesh Jayachandran <ka...@collab.net>.
Hi Michael,

I remember seeing some errors saying 'UTF-8' blah blah, when my 
httpd was built with apr-0.9.x and 'mod_dav|authz_svn' built with apr-1.x.

After making my apr-0.9.x(i.e making httpd and svn modules to link against same apr major version)
has fixed the problem.


Can you check error.log to see any segfaults?


With regards
Kamesh Jayachandran
-----Original Message-----
From: michael.sinz@gmail.com on behalf of Michael Sinz
Sent: Fri 3/21/2008 12:13 AM
To: Subversion Developers
Subject:  1.5 beta problem... still trying to track it down.
 
Sorry for the poor problem report but I am swamped with work (as in
paying) but did not want to let this get missed.

I have built the 1.5 beta 1 code base using released tarballs.  This
is on 32-bit and on 64-bit x86 Linux environments.  (Two different
machines with very different distributions)

When doing a commit (via HTTP) using the svn client that was built
from the same build as the svn server module, I get a strange result
when committing some of my HTML files:

  Sending        Michael.Sinz/Software.html
  Transmitting file data .svn: Commit failed (details follow):
  svn: Can't convert string from native encoding to 'UTF-8':
  svn: Your commit message was left in a temporary file:
  svn:    '/home/mks/web/svn-commit.tmp'

The strange thing is that the server did take the commit but the local
working copy was not updated and thus thinks the commit failed.  In
another test case, I had a graphic and the HTML file and the graphic
was added but the HTML file was shown as still locally changed while
the commit did happen on the server.

There are no hooks.  This is with a repository that was actively used
with 1.4.6 just before the test with 1.5.0 beta 1.

I will try to get some time to try to track this down but that may not
be for a few days yet.

-- 
Michael Sinz Technology and Engineering Director/Consultant
"Starting Startups" mailto:Michael.Sinz@sinz.org
My place on the web http://www.sinz.org/Michael.Sinz

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org