You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by "Johnson, Graham" <gj...@alpineaccess.com> on 2003/11/19 23:27:47 UTC

0.33.1 seg faulting on commit

I updated from 0.33 to 0.33.1 and suddenly my server gives segmentation
faults on simple operations (commit, at least).

This is httpd 2.0.48 and a clean (following "make local-extraclean")
build of 0.33.1 revision 7811.

Here is what I did client-side:

===========
1161 : ~/tmp/test_svn>svnadmin create repos
1162 : ~/tmp/test_svn>mkdir work
1163 : ~/tmp/test_svn>cd work
/home/gjohnson/tmp/test_svn/work
1164 : ~/tmp/test_svn/work>svn co $SVN .
Checked out revision 0.
1165 : ~/tmp/test_svn/work>touch TestFile
1166 : ~/tmp/test_svn/work>svn add TestFile
A         TestFile
1167 : ~/tmp/test_svn/work>svn commit -m "Test" TestFile
Adding         TestFile
Transmitting file data .subversion/libsvn_client/commit.c:733:
(apr_err=175002)
svn: RA layer request failed
svn: Commit failed (details follow):
subversion/libsvn_ra_dav/util.c:285: (apr_err=175002)
svn: DELETE of /svn/repos/!svn/act/fdfb71f4-81cc-0310-9c5c-e64329810b3d:
could not connect to server (http://[url deleted])
1168 : ~/tmp/test_svn/work>
===========

Here is the server being debugged in another terminal:

===========
1310 : ~/local/apache2/bin>!gdb
gdb --args httpd -k start -DSSL
GNU gdb Red Hat Linux (5.2.1-4)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i386-redhat-linux"...
(gdb) run -X
Starting program: /home/gjohnson/local/apache2/bin/httpd -X
[New Thread 16384 (LWP 4058)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 4058)]
0x40348b72 in svn_fs__id_txn_id (id=0x0) at subversion/libsvn_fs/id.c:61
61        return id->txn_id;
(gdb) continue;
Not stopped at any breakpoint; argument ignored.
Continuing.
Cannot find user-level thread for LWP 4058: generic error
(gdb)
===========

That's the limit of what I know about using gdb.

--
Graham Johnson
gjohnson_at_alpineaccess.com
Java Software Engineer
Alpine Access, Golden, CO

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


Re: 0.33.1 seg faulting on commit

Posted by Julian Foad <ju...@btopenworld.com>.
Branko Čibej wrote:
> Johnson, Graham wrote:
> 
>>I updated from 0.33 to 0.33.1 and suddenly my server gives segmentation
>>faults on simple operations (commit, at least).
>>
>>This is httpd 2.0.48 and a clean (following "make local-extraclean")
>>build of 0.33.1 revision 7811.
> 
> How can you have 0.33.1 revision 7811? It was released from the branch
> at r7789. Are you sure you're not using r7811 of the trunk?

When one builds r7814 (or presumably 7811) of the trunk, it identifies itself as "svn, version 0.33.1 (dev build)".  Presumably that is what Graham was reporting, without mentioning the "(dev build)" part explicitly.

- Julian


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

Re: 0.33.1 seg faulting on commit

Posted by Branko Čibej <br...@xbc.nu>.
Johnson, Graham wrote:

>I updated from 0.33 to 0.33.1 and suddenly my server gives segmentation
>faults on simple operations (commit, at least).
>
>This is httpd 2.0.48 and a clean (following "make local-extraclean")
>build of 0.33.1 revision 7811.
>  
>
How can you have 0.33.1 revision 7811? It was released from the branch
at r7789. Are you sure you're not using r7811 of the trunk?


-- 
Brane Čibej   <br...@xbc.nu>   http://www.xbc.nu/brane/

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

Re: 0.33.1 seg faulting on commit

Posted by "C. Michael Pilato" <cm...@collab.net>.
Philip Martin <ph...@codematters.co.uk> writes:

> I'm still getting an httpd crash on import (it's 3 lines further in
> dav_svn_delete_activity() so it's getting better :)

Oh, for crying out loud.  I'm gonna eat dinner, and then I'm going to
fix this, by golly.

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

Re: 0.33.1 seg faulting on commit

Posted by Philip Martin <ph...@codematters.co.uk>.
"C. Michael Pilato" <cm...@collab.net> writes:

> "Johnson, Graham" <gj...@alpineaccess.com> writes:
>
>> I updated from 0.33 to 0.33.1 and suddenly my server gives segmentation
>> faults on simple operations (commit, at least).
>> 
>> This is httpd 2.0.48 and a clean (following "make local-extraclean")
>> build of 0.33.1 revision 7811.
>
> I think this is fixed in revision 7812.  Sorry 'bout that, folks.

I'm still getting an httpd crash on import (it's 3 lines further in
dav_svn_delete_activity() so it's getting better :)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 26179)]
0x40409fc8 in svn_fs_unparse_id (id=0x0, pool=0x8107040)
    at ../svn/subversion/libsvn_fs/id.c:152
152       return svn_string_createf (pool, "%s.%s.%s", 
(gdb) bt
#0  0x40409fc8 in svn_fs_unparse_id (id=0x0, pool=0x8107040)
    at ../svn/subversion/libsvn_fs/id.c:152
#1  0x40417449 in svn_fs__unparse_transaction_skel (skel_p=0xbffff72c, 
    transaction=0x811a320, pool=0x8107040)
    at ../svn/subversion/libsvn_fs/util/fs_skels.c:898
#2  0x40403a25 in svn_fs__bdb_put_txn (fs=0x810ffb8, txn=0x811a320, 
    txn_name=0x80c2608 "b", trail=0x8107028)
    at ../svn/subversion/libsvn_fs/bdb/txn-table.c:84
#3  0x4040e9a6 in txn_body_abort_txn (baton=0x80bf628, trail=0x8107028)
    at ../svn/subversion/libsvn_fs/revs-txns.c:895
#4  0x4040eeed in do_retry (fs=0x810ffb8, 
    txn_body=0x4040e922 <txn_body_abort_txn>, baton=0x80bf628, use_txn=1, 
    pool=0x8106e30, txn_body_fn_name=0x4041c7c9 "unknown", 
    filename=0x4041c7c8 "", line=0) at ../svn/subversion/libsvn_fs/trail.c:227
#5  0x4040f034 in svn_fs__retry_txn (fs=0x810ffb8, 
    txn_body=0x4040e922 <txn_body_abort_txn>, baton=0x80bf628, pool=0x8106e30)
    at ../svn/subversion/libsvn_fs/trail.c:285
#6  0x4040ea0a in svn_fs_abort_txn (txn=0x80bf628, pool=0x8106e30)
    at ../svn/subversion/libsvn_fs/revs-txns.c:906
#7  0x403d16d2 in dav_svn_delete_activity (repos=0x8125220, 
    activity_id=0x8125102 "40b47269-82cc-0310-b1aa-8427b568862c")
    at /home/pm/sw/subversion/svn/subversion/mod_dav_svn/activity.c:120
#8  0x403d867f in dav_svn_remove_resource (resource=0x8125158, 
    response=0xbffff8d8)
    at /home/pm/sw/subversion/svn/subversion/mod_dav_svn/repos.c:2345
#9  0x403bba58 in dav_method_delete (r=0x81235c0) at mod_dav.c:1215
#10 0x080812d5 in ap_run_handler (r=0x81235c0) at config.c:194
#11 0x080818b0 in ap_invoke_handler (r=0x81235c0) at config.c:401
#12 0x0806e5f6 in ap_process_request (r=0x81235c0) at http_request.c:288
#13 0x08069bdc in ap_process_http_connection (c=0x8105ba8) at http_core.c:293
#14 0x0808c365 in ap_run_process_connection (c=0x8105ba8) at connection.c:85
#15 0x0807f924 in child_main (child_num_arg=0) at prefork.c:694
#16 0x0807fb3b in make_child (s=0x811f2d0, slot=0) at prefork.c:734
#17 0x0807fb98 in startup_children (number_to_start=5) at prefork.c:806
#18 0x080803ea in ap_mpm_run (_pconf=0x80b9fe0, plog=0x80c2d20, s=0x80c5598)
    at prefork.c:1022
#19 0x080867f8 in main (argc=2, argv=0xbffffba4) at main.c:660


-- 
Philip Martin

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

Re: 0.33.1 seg faulting on commit

Posted by "C. Michael Pilato" <cm...@collab.net>.
"Johnson, Graham" <gj...@alpineaccess.com> writes:

> I updated from 0.33 to 0.33.1 and suddenly my server gives segmentation
> faults on simple operations (commit, at least).
> 
> This is httpd 2.0.48 and a clean (following "make local-extraclean")
> build of 0.33.1 revision 7811.

I think this is fixed in revision 7812.  Sorry 'bout that, folks.

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