Login | Register
My pages Projects Community openCollabNet

Discussions > users > Re: Strange segfaults after update to fsvs 1.2.3

fsvs
Discussion topic

2020-03-13: This site is going to be decommissioned and shut down very soon. Please copy and archive any data you wish to keep ASAP

Hide all messages in topic

All messages in topic

Re: Strange segfaults after update to fsvs 1.2.3

Author pmarek
Full name P.Marek
Date 2013-05-31 17:28:33 PDT
Message > It seems that problem is that on earlier revisions svn properties were
> not set:
>
> # svn propget -r 25 svn:owner alternatives/netcat.1.gz
> # svn propget -r 26 svn:owner alternatives/netcat.1.gz
> 0 root
>
> Subversion was updated from 1.6.12 to 1.6.17 .
> Ufff. Do someone know any way to fix the affected repositories ?
Fixing the repositories might involve a dump/load cycle.

Can you try r2469 of
    http://fsvs.tigris.o​rg/svn/fsvs/branches​/fsvs-1.2.x/fsvs

to see whether it fixes the segfault?


Regards,

Phil

Re: Strange segfaults after update to fsvs 1.2.3

Author Alexander Pyhalov <alp at rsu dot ru>
Full name Alexander Pyhalov <alp at rsu dot ru>
Date 2013-05-30 06:43:06 PDT
Message It seems that problem is that on earlier revisions svn properties were
not set:

# svn propget -r 25 svn:owner alternatives/netcat.1.gz
# svn propget -r 26 svn:owner alternatives/netcat.1.gz
0 root

Subversion was updated from 1.6.12 to 1.6.17 .
Ufff. Do someone know any way to fix the affected repositories ?


On 05/29/2013 13:18, Alexander Pyhalov wrote:
> Hello.
> We updated several our systems from Debian 6 to Debian 7 (fsvs version
> changed from 1.1.17-1 to 1.2.3-0+nmu1).
>
> After update I tried to do "fsvs commit /etc". It failed with error
> concerning string conversions or something similar. I then set
> en_US.UTF-8 locale and made "fsvs commit /etc". It successfully
> completed. I can even do fsvs diff. But when I do "fsvs diff -r" to
> revision before this commit I receive either following error:
>
> # fsvs diff -r 24 /etc/
>
> An error occurred: Invalid or incomplete multibyte or wide character (84)
> in hlp___do_convert: Conversion of string failed. Next bytes are
> \xC3\xA9\x5F\x52
>
> or core dump:
>
> # fsvs diff -r 25 /etc/
> Segmentation fault (core dumped)
>

--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University

Strange segfaults after update to fsvs 1.2.3

Author Alexander Pyhalov <alp at rsu dot ru>
Full name Alexander Pyhalov <alp at rsu dot ru>
Date 2013-05-29 16:28:33 PDT
Message Hello.
We updated several our systems from Debian 6 to Debian 7 (fsvs version
changed from 1.1.17-1 to 1.2.3-0+nmu1).

After update I tried to do "fsvs commit /etc". It failed with error
concerning string conversions or something similar. I then set
en_US.UTF-8 locale and made "fsvs commit /etc". It successfully
completed. I can even do fsvs diff. But when I do "fsvs diff -r" to
revision before this commit I receive either following error:

# fsvs diff -r 24 /etc/

An error occurred: Invalid or incomplete multibyte or wide character (84)
   in hlp___do_convert: Conversion of string failed. Next bytes are
\xC3\xA9\x5F\x52

or core dump:

# fsvs diff -r 25 /etc/
Segmentation fault (core dumped)

GDB shows the following backtrace:

warning: no loadable sections found in added symbol-file system-supplied
DSO at 0x7ffffb7fe000
Core was generated by `fsvs diff -r 11 /etc/'.
Program terminated with signal 11, Segmentation fault.
#0 up__parse_prop (sts=sts@entry=0x7f9a928f6ea0,
utf8_name=utf8_name@​entry=0x7f9a8bfd6f48​ "svn:owner",
utf8_value=utf8_valu​e@entry=0x0,
not_handled=not_hand​led@entry=0x7ffffb74​b984, pool=0x7f9a8bff3028) at
update.c:187
187 update.c: No such file or directory.
(gdb) bt
#0 up__parse_prop (sts=sts@entry=0x7f9a928f6ea0,
utf8_name=utf8_name@​entry=0x7f9a8bfd6f48​ "svn:owner",
utf8_value=utf8_valu​e@entry=0x0,
not_handled=not_hand​led@entry=0x7ffffb74​b984, pool=0x7f9a8bff3028) at
update.c:187
#1 0x000000000041c647 in cb___store_prop (pool=<optimized out>,
value=0x0, utf8_name=0x7f9a8bfd6f48 "svn:owner", sts=0x7f9a928f6ea0) at
racallback.c:313
#2 cb___store_prop (sts=0x7f9a928f6ea0, utf8_name=0x7f9a8bfd6f48
"svn:owner", value=0x0, pool=<optimized out>) at racallback.c:294
#3 0x000000000041c7dd in cb___change_file_prop (file_baton=<optimized
out>, utf8_name=<optimized out>, value=<optimized out>, pool=<optimized
out>) at racallback.c:612
#4 0x00007f9a8fc579dd in ?? () from
/usr/lib/x86_64-linu​x-gnu/libsvn_repos-1​.so.1
#5 0x00007f9a8fc57b6c in ?? () from
/usr/lib/x86_64-linu​x-gnu/libsvn_repos-1​.so.1
#6 0x00007f9a8fc57fca in ?? () from
/usr/lib/x86_64-linu​x-gnu/libsvn_repos-1​.so.1
#7 0x00007f9a8fc58c6d in ?? () from
/usr/lib/x86_64-linu​x-gnu/libsvn_repos-1​.so.1
#8 0x00007f9a8fc580cf in ?? () from
/usr/lib/x86_64-linu​x-gnu/libsvn_repos-1​.so.1
#9 0x00007f9a8fc58c6d in ?? () from
/usr/lib/x86_64-linu​x-gnu/libsvn_repos-1​.so.1
#10 0x00007f9a8fc595bc in svn_repos_finish_report () from
/usr/lib/x86_64-linu​x-gnu/libsvn_repos-1​.so.1
#11 0x000000000041d1fc in cb__record_changes_mixed
(root=root@entry=0x7​ffffb74c080, target=11,
other_paths=other_pa​ths@entry=0x0, other_revs=other_revs@entry=0,
pool=0x7f9a92947028) at racallback.c:1000
#12 0x000000000041d2ab in cb__record_changes
(root=root@entry=0x7​ffffb74c080, target=<optimized out>, pool=<optimized
out>) at racallback.c:868
#13 0x000000000040e29f in df__work (root=0x7ffffb74c080, argc=1,
argv=0x7ffffb74c278) at diff.c:949
#14 0x00000000004050dd in main (argc=3, args=0x7ffffb74c268,
env=<optimized out>) at fsvs.c:1404


How can I fix these errors?
--
Best regards,
Alexander Pyhalov,
system administrator of Computer Center of Southern Federal University
Messages per page: