You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Loïc Minier <lo...@via.ecp.fr> on 2005/07/05 09:35:32 UTC
SIGSEGV crash in svn export with 1.2 under Debian
Hi,
It has been about since a month Subversion 1.2 was introduced in
Debian unstable (sid). It seems I'm not the only Debian user victim of
crashes in "svn export" since this new version, at least 3 persons are
affected.
I'm writing to this list to confirm I should open an issue in the
tracker.
The Debian bug is at <http://bugs.debian.org/314381>. It doesn't
happen 100% of the time, since I tried upgrading again a couple of days
ago, and I could do a couple of imports prior to crashing again.
Branden Robinson offered core dump, ltrace, and strace in the bug
report, I added a bt full of a debug rebuild of Subversion (-O0 -g).
It starts like this:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1216100480 (LWP 15098)]
0xb7fd93ea in copy_one_versioned_file (
from=0x80ba050 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/unstable/gst-p
lugins0.8/debian/gstreamer-cdio.install",
to=0x80ba0b8 "/home/lool/.svn-buildpackage/buildArea/pkg-gstreamer/gst-plugi
ns0.8-0.8.9/debian/gstreamer-cdio.install", adm_access=0x809a1d8,
revision=0x0, native_eol=0x0, pool=0x80ba018)
at subversion/libsvn_client/export.c:164
164 SVN_ERR (svn_io_file_affected_time (&tm, from, pool));
Thread 1 (Thread -1216100480 (LWP 15098)):
#0 0xb7fd93ea in copy_one_versioned_file (
from=0x80ba050 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/unstable/gst-plugins0.8/debian/gstreamer-cdio.install",
to=0x80ba0b8 "/home/lool/.svn-buildpackage/buildArea/pkg-gstreamer/gst-plugins0.8-0.8.9/debian/gstreamer-cdio.install", adm_access=0x809a1d8,
revision=0x0, native_eol=0x0, pool=0x80ba018)
at subversion/libsvn_client/export.c:164
entry = (const svn_wc_entry_t *) 0x0
kw = {revision = 0x0, date = 0x0, author = 0x0, url = 0x0, id = 0x0}
style = 4096
props = (apr_hash_t *) 0x80ba190
base = 0x80bc000 ""
eol_style = (svn_string_t *) 0x809a1d8
keywords = (svn_string_t *) 0x0
executable = (svn_string_t *) 0x0
special = (svn_string_t *) 0x0
eol = 0x0
local_mod = 0
tm = 1118578943027474
#1 0xb7fd979f in copy_versioned_files (
from=0x80999a0 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/unstable/gst-p---Type <return> to continue, or q <return> to quit---
ctx=0x8068d80, pool=0x80ba050) at subversion/libsvn_client/export.c:326
svn_err__temp = (svn_error_t *) 0x0
new_from = 0x80ba050 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/unstable/gst-plugins0.8/debian/gstreamer-cdio.install"
new_to = 0x0
adm_access = (svn_wc_adm_access_t *) 0x809a1d8
entry = (const svn_wc_entry_t *) 0x80b2858
err = (svn_error_t *) 0x809e688
iterpool = (apr_pool_t *) 0x80ba018
entries = (apr_hash_t *) 0x809a260
hi = (apr_hash_index_t *) 0x80ae3b8
finfo = {pool = 0x8099968, valid = 7598448, protection = 1877,
filetype = APR_DIR, user = 1000, group = 1000, inode = 2226701,
device = 772, nlink = 4, size = 4096, csize = -1210079917,
atime = 1118578782000000, mtime = 1119333174000000,
ctime = 1119333174000000,
fname = 0x80ae148 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/unstable/gst-plugins0.8/debian",
name = 0xb7f7949f "\211ð\203Ä\034[^_]Ã1À\200ú/\017\224À\215xÿ\203ç\001ë\237\215Ž&", filehand = 0x8099a3a}
Please confirm this belongs to the issue tracker.
Regards,
--
Loïc Minier <lo...@dooz.org>
"Neutral President: I have no strong feelings one way or the other."
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: SIGSEGV crash in svn export with 1.2 under Debian
Posted by Philip Martin <ph...@codematters.co.uk>.
Loïc Minier <lo...@via.ecp.fr> writes:
> On mar, jui 05, 2005, Philip Martin wrote:
>> How big is the working copy? Could you make a tarball available?
>> Please don't send it to the list unless it's small.
>
> I believe 20 KB is small.
Yeah, I'd agree.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: SIGSEGV crash in svn export with 1.2 under Debian
Posted by Loïc Minier <lo...@via.ecp.fr>.
Hi,
On mar, jui 05, 2005, Philip Martin wrote:
> How big is the working copy? Could you make a tarball available?
> Please don't send it to the list unless it's small.
I believe 20 KB is small.
Bye,
--
Loïc Minier <lo...@dooz.org>
"Neutral President: I have no strong feelings one way or the other."
Re: SIGSEGV crash in svn export with 1.2 under Debian
Posted by Philip Martin <ph...@codematters.co.uk>.
Loïc Minier <lo...@via.ecp.fr> writes:
> I attach a diff between a "svn up"ed tree (libgnomeui.bak), not
> crashing anymore, and the tree still crashing (libgnomeui).
How big is the working copy? Could you make a tarball available?
Please don't send it to the list unless it's small.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: SIGSEGV crash in svn export with 1.2 under Debian
Posted by Loïc Minier <lo...@via.ecp.fr>.
Hi,
On Tue, Jul 05, 2005, Philip Martin wrote:
> There's another report:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316227
Ok, I just told jb to merge our bugs if his bt matches mine, but he
couldn't decide yet.
> The reports claim it's reproducible, so if someone could a recipe that
> would help. Providing "svn status" output for the working copy in
> question might be enough.
It's reproducible for certain local copies, but not all...
I couldn't reproduce the problem in 15 minutes of trying, then I went
to another local copy, and got it...
When I get it, I get it 100% of the time.
svn status shows nothing, as the local copy is unmodified, for jb and
for me.
jb gets the bug every time after a vendor merge, I think I get it after
commits.
jb noted that "svn up" makes the crash vanish, and I verified that on a
broken tree.
I attach a diff between a "svn up"ed tree (libgnomeui.bak), not
crashing anymore, and the tree still crashing (libgnomeui).
Bye,
--
Loïc Minier <lo...@dooz.org>
"Neutral President: I have no strong feelings one way or the other."
Re: SIGSEGV crash in svn export with 1.2 under Debian
Posted by Philip Martin <ph...@codematters.co.uk>.
Ben Collins-Sussman <su...@collab.net> writes:
> On Jul 5, 2005, at 4:35 AM, Loïc Minier wrote:
>>
>> The Debian bug is at <http://bugs.debian.org/314381>. It doesn't
>> happen 100% of the time, since I tried upgrading again a couple of
There's another report:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=316227
>> It starts like this:
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread -1216100480 (LWP 15098)]
>> 0xb7fd93ea in copy_one_versioned_file (
>> from=0x80ba050 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/
>> unstable/gst-p
>> lugins0.8/debian/gstreamer-cdio.install",
>> to=0x80ba0b8 "/home/lool/.svn-buildpackage/buildArea/pkg-
>> gstreamer/gst-plugi
>> ns0.8-0.8.9/debian/gstreamer-cdio.install", adm_access=0x809a1d8,
>> revision=0x0, native_eol=0x0, pool=0x80ba018)
>> at subversion/libsvn_client/export.c:164
>> 164 SVN_ERR (svn_io_file_affected_time (&tm, from, pool));
Odd, I don't see any reason for that line to segfault.
The reports claim it's reproducible, so if someone could a recipe that
would help. Providing "svn status" output for the working copy in
question might be enough.
--
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Re: SIGSEGV crash in svn export with 1.2 under Debian
Posted by "Hyrum K. Wright" <hy...@byu.edu>.
Ben Collins-Sussman wrote:
> Dev list: have we ever seen anything like this before?
I've seen it, but was unable to reproduce the problem, and therefore
unable to debug. I was running the latest trunk, and at the time, I
thought it was just a fluke in the working copy or my system.
Apparently not, as others have been seeing it as well.
-Hyrum
> On Jul 5, 2005, at 4:35 AM, Loïc Minier wrote:
>
>> Hi,
>>
>> It has been about since a month Subversion 1.2 was introduced in
>> Debian unstable (sid). It seems I'm not the only Debian user victim of
>> crashes in "svn export" since this new version, at least 3 persons are
>> affected.
>>
>> I'm writing to this list to confirm I should open an issue in the
>> tracker.
>>
>> The Debian bug is at <http://bugs.debian.org/314381>. It doesn't
>> happen 100% of the time, since I tried upgrading again a couple of days
>> ago, and I could do a couple of imports prior to crashing again.
>>
>> Branden Robinson offered core dump, ltrace, and strace in the bug
>> report, I added a bt full of a debug rebuild of Subversion (-O0 -g).
>>
>> It starts like this:
>> Program received signal SIGSEGV, Segmentation fault.
>> [Switching to Thread -1216100480 (LWP 15098)]
>> 0xb7fd93ea in copy_one_versioned_file (
>> from=0x80ba050 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/
>> unstable/gst-p
>> lugins0.8/debian/gstreamer-cdio.install",
>> to=0x80ba0b8 "/home/lool/.svn-buildpackage/buildArea/pkg-
>> gstreamer/gst-plugi
>> ns0.8-0.8.9/debian/gstreamer-cdio.install", adm_access=0x809a1d8,
>> revision=0x0, native_eol=0x0, pool=0x80ba018)
>> at subversion/libsvn_client/export.c:164
>> 164 SVN_ERR (svn_io_file_affected_time (&tm, from, pool));
>>
>>
>> Thread 1 (Thread -1216100480 (LWP 15098)):
>> #0 0xb7fd93ea in copy_one_versioned_file (
>> from=0x80ba050 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/
>> unstable/gst-plugins0.8/debian/gstreamer-cdio.install",
>> to=0x80ba0b8 "/home/lool/.svn-buildpackage/buildArea/pkg-
>> gstreamer/gst-plugins0.8-0.8.9/debian/gstreamer-cdio.install",
>> adm_access=0x809a1d8,
>> revision=0x0, native_eol=0x0, pool=0x80ba018)
>> at subversion/libsvn_client/export.c:164
>> entry = (const svn_wc_entry_t *) 0x0
>> kw = {revision = 0x0, date = 0x0, author = 0x0, url = 0x0, id
>> = 0x0}
>> style = 4096
>> props = (apr_hash_t *) 0x80ba190
>> base = 0x80bc000 ""
>> eol_style = (svn_string_t *) 0x809a1d8
>> keywords = (svn_string_t *) 0x0
>> executable = (svn_string_t *) 0x0
>> special = (svn_string_t *) 0x0
>> eol = 0x0
>> local_mod = 0
>> tm = 1118578943027474
>> #1 0xb7fd979f in copy_versioned_files (
>> from=0x80999a0 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/
>> unstable/gst-p---Type <return> to continue, or q <return> to quit---
>> ctx=0x8068d80, pool=0x80ba050) at subversion/libsvn_client/
>> export.c:326
>> svn_err__temp = (svn_error_t *) 0x0
>> new_from = 0x80ba050 "/srv/sources/svn/svn.debian.org/pkg-
>> gstreamer/unstable/gst-plugins0.8/debian/gstreamer-cdio.install"
>> new_to = 0x0
>> adm_access = (svn_wc_adm_access_t *) 0x809a1d8
>> entry = (const svn_wc_entry_t *) 0x80b2858
>> err = (svn_error_t *) 0x809e688
>> iterpool = (apr_pool_t *) 0x80ba018
>> entries = (apr_hash_t *) 0x809a260
>> hi = (apr_hash_index_t *) 0x80ae3b8
>> finfo = {pool = 0x8099968, valid = 7598448, protection = 1877,
>> filetype = APR_DIR, user = 1000, group = 1000, inode = 2226701,
>> device = 772, nlink = 4, size = 4096, csize = -1210079917,
>> atime = 1118578782000000, mtime = 1119333174000000,
>> ctime = 1119333174000000,
>> fname = 0x80ae148 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/
>> unstable/gst-plugins0.8/debian",
>> name = 0xb7f7949f "\211ð\203Ä\034[^_]Ã1À\200ú/\017\224À\215xÿ\203ç
>> \001ë\237\215Ž&", filehand = 0x8099a3a}
>>
>>
>> Please confirm this belongs to the issue tracker.
>>
>> Regards,
>>
>> --
>> Loïc Minier <lo...@dooz.org>
>> "Neutral President: I have no strong feelings one way or the other."
Re: SIGSEGV crash in svn export with 1.2 under Debian
Posted by Ben Collins-Sussman <su...@collab.net>.
Dev list: have we ever seen anything like this before?
On Jul 5, 2005, at 4:35 AM, Loïc Minier wrote:
> Hi,
>
> It has been about since a month Subversion 1.2 was introduced in
> Debian unstable (sid). It seems I'm not the only Debian user
> victim of
> crashes in "svn export" since this new version, at least 3 persons
> are
> affected.
>
> I'm writing to this list to confirm I should open an issue in the
> tracker.
>
> The Debian bug is at <http://bugs.debian.org/314381>. It doesn't
> happen 100% of the time, since I tried upgrading again a couple of
> days
> ago, and I could do a couple of imports prior to crashing again.
>
> Branden Robinson offered core dump, ltrace, and strace in the bug
> report, I added a bt full of a debug rebuild of Subversion (-O0 -g).
>
> It starts like this:
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1216100480 (LWP 15098)]
> 0xb7fd93ea in copy_one_versioned_file (
> from=0x80ba050 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/
> unstable/gst-p
> lugins0.8/debian/gstreamer-cdio.install",
> to=0x80ba0b8 "/home/lool/.svn-buildpackage/buildArea/pkg-
> gstreamer/gst-plugi
> ns0.8-0.8.9/debian/gstreamer-cdio.install", adm_access=0x809a1d8,
> revision=0x0, native_eol=0x0, pool=0x80ba018)
> at subversion/libsvn_client/export.c:164
> 164 SVN_ERR (svn_io_file_affected_time (&tm, from, pool));
>
>
> Thread 1 (Thread -1216100480 (LWP 15098)):
> #0 0xb7fd93ea in copy_one_versioned_file (
> from=0x80ba050 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/
> unstable/gst-plugins0.8/debian/gstreamer-cdio.install",
> to=0x80ba0b8 "/home/lool/.svn-buildpackage/buildArea/pkg-
> gstreamer/gst-plugins0.8-0.8.9/debian/gstreamer-cdio.install",
> adm_access=0x809a1d8,
> revision=0x0, native_eol=0x0, pool=0x80ba018)
> at subversion/libsvn_client/export.c:164
> entry = (const svn_wc_entry_t *) 0x0
> kw = {revision = 0x0, date = 0x0, author = 0x0, url = 0x0,
> id = 0x0}
> style = 4096
> props = (apr_hash_t *) 0x80ba190
> base = 0x80bc000 ""
> eol_style = (svn_string_t *) 0x809a1d8
> keywords = (svn_string_t *) 0x0
> executable = (svn_string_t *) 0x0
> special = (svn_string_t *) 0x0
> eol = 0x0
> local_mod = 0
> tm = 1118578943027474
> #1 0xb7fd979f in copy_versioned_files (
> from=0x80999a0 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/
> unstable/gst-p---Type <return> to continue, or q <return> to quit---
> ctx=0x8068d80, pool=0x80ba050) at subversion/libsvn_client/
> export.c:326
> svn_err__temp = (svn_error_t *) 0x0
> new_from = 0x80ba050 "/srv/sources/svn/svn.debian.org/pkg-
> gstreamer/unstable/gst-plugins0.8/debian/gstreamer-cdio.install"
> new_to = 0x0
> adm_access = (svn_wc_adm_access_t *) 0x809a1d8
> entry = (const svn_wc_entry_t *) 0x80b2858
> err = (svn_error_t *) 0x809e688
> iterpool = (apr_pool_t *) 0x80ba018
> entries = (apr_hash_t *) 0x809a260
> hi = (apr_hash_index_t *) 0x80ae3b8
> finfo = {pool = 0x8099968, valid = 7598448, protection = 1877,
> filetype = APR_DIR, user = 1000, group = 1000, inode = 2226701,
> device = 772, nlink = 4, size = 4096, csize = -1210079917,
> atime = 1118578782000000, mtime = 1119333174000000,
> ctime = 1119333174000000,
> fname = 0x80ae148 "/srv/sources/svn/svn.debian.org/pkg-gstreamer/
> unstable/gst-plugins0.8/debian",
> name = 0xb7f7949f "\211ð\203Ä\034[^_]Ã1À\200ú/\017\224À\215xÿ\203ç
> \001ë\237\215Ž&", filehand = 0x8099a3a}
>
>
> Please confirm this belongs to the issue tracker.
>
> Regards,
>
> --
> Loïc Minier <lo...@dooz.org>
> "Neutral President: I have no strong feelings one way or the other."
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org