[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN (client only) on HP-UX 11.11

From: Toby Johnson <toby_at_etjohnson.us>
Date: 2004-05-07 20:45:24 CEST

>>> It would help if you could at least run svn in a debugger (gdb) and
>>> show a stack trace.
>>
>>
>>
>> Thanks, I'll give it a try. I'm really not sure which assembler is
>> being used, but I'll grab the latest GNU version. Should I replace
>> any of the other tools with GNU equivalents as well?
>
>
> No, I don't think you need other GNU tools. The following should show
> which tools you're using:
> $ cat > foo.c
> int main() { return 0; }
> $ gcc -v foo.c
>
OK, I got compiled gdb and used it to run my command. Then I did a stack
backtrace (bt) after it crashed. Here is the output I get:

(gdb) set args ci /home/johnsot/work/svn/co/main --message "foo"
(gdb) run
Starting program: /export/home/johnsot/SVN/bin/svn ci
/home/johnsot/work/svn/co/main --message "foo"
Sending
/home/johnsot/work/svn/co/main/mac/bin/posting/ProcessAllStTables.pl
Transmitting file data .
Program received signal SIGSEGV, Segmentation fault.
vdelta (build_baton=0x7aff1998,
    data=0x40084e90 "#!/appl/perl5/bin/perl -w\r\n\r\nBEGIN {push(@INC,
$ENV{BCLIB}) if defined $ENV{BCLIB}}\r
\nuse DataMgmtStd;\r\n\r\n#This is the Mainline for Edit and Post for
a\r\n#MAC database.\r\nuse strict;\r\nus
e Text::Wrap qw(w"...,
    start=0x40084e90 "#!/appl/perl5/bin/perl -w\r\n\r\nBEGIN {push(@INC,
$ENV{BCLIB}) if defined $ENV{BCLIB}}\
r\nuse DataMgmtStd;\r\n\r\n#This is the Mainline for Edit and Post for
a\r\n#MAC database.\r\nuse strict;\r\nu
se Text::Wrap qw(w"...,
    end=0x40092899 "#!/appl/perl5/bin/perl -w\r\n\r\nBEGIN {push(@INC,
$ENV{BCLIB}) if defined $ENV{BCLIB}}\r\
nuse DataMgmtStd;\r\n\r\n#This is the Mainline for Edit and Post for
a\r\n#MAC database.\r\nuse strict;\r\nuse
 Text::Wrap qw(w"..., outputflag=0, table=0x4004b800, pool=0x4004b7b0)
    at subversion/libsvn_delta/vdelta.c:118
118 assert (table->slots[idx].next == NULL);

(gdb) bt
#0 vdelta (build_baton=0x7aff1998,
    data=0x40084e90 "#!/appl/perl5/bin/perl -w\r\n\r\nBEGIN {push(@INC,
$ENV{BCLIB}) if defined $ENV{BCLIB}}\r
\nuse DataMgmtStd;\r\n\r\n#This is the Mainline for Edit and Post for
a\r\n#MAC database.\r\nuse strict;\r\nus
e Text::Wrap qw(w"...,
    start=0x40084e90 "#!/appl/perl5/bin/perl -w\r\n\r\nBEGIN {push(@INC,
$ENV{BCLIB}) if defined $ENV{BCLIB}}\
r\nuse DataMgmtStd;\r\n\r\n#This is the Mainline for Edit and Post for
a\r\n#MAC database.\r\nuse strict;\r\nu
se Text::Wrap qw(w"...,
    end=0x40092899 "#!/appl/perl5/bin/perl -w\r\n\r\nBEGIN {push(@INC,
$ENV{BCLIB}) if defined $ENV{BCLIB}}\r\
nuse DataMgmtStd;\r\n\r\n#This is the Mainline for Edit and Post for
a\r\n#MAC database.\r\nuse strict;\r\nuse
 Text::Wrap qw(w"..., outputflag=0, table=0x4004b800, pool=0x4004b7b0)
    at subversion/libsvn_delta/vdelta.c:118
#1 0x7ac1f7a4 in svn_txdelta__vdelta (build_baton=0x7aff1998,
    data=0x40084e90 "#!/appl/perl5/bin/perl -w\r\n\r\nBEGIN {push(@INC,
$ENV{BCLIB}) if defined $ENV{BCLIB}}\r
\nuse DataMgmtStd;\r\n\r\n#This is the Mainline for Edit and Post for
a\r\n#MAC database.\r\nuse strict;\r\nus
e Text::Wrap qw(w"..., source_len=1074342041, target_len=1074397928,
pool=0x4004b7b0)
    at subversion/libsvn_delta/vdelta.c:315
#2 0x7ac1e650 in svn_txdelta_next_window (window=0x7aff1918,
stream=0x4002cb78, pool=0x4004b7b0)
    at subversion/libsvn_delta/text_delta.c:295
#3 0x7ac1f1a0 in svn_txdelta_send_txstream (txstream=0x4002cb78,
handler=0x7ac174f2,
    handler_baton=0x4004d7f8, pool=0xffffffff) at
subversion/libsvn_delta/text_delta.c:598
#4 0x7abc063c in svn_wc_transmit_text_deltas (
    path=0x40046428
"/home/johnsot/work/svn/co/main/mac/bin/posting/ProcessAllStTables.pl",
    adm_access=0x4002f618, fulltext=1073933448, editor=0x40027120,
file_baton=0x40027410,
    tempfile=0x7aff17c8, pool=0x40027640) at
subversion/libsvn_wc/adm_crawler.c:707
#5 0x7ab9cb24 in svn_client__do_commit (base_url=0xc711b41 <Error
reading address 0xc711b41: Bad address>,
    commit_items=0x4004a9d0, adm_access=0x400240f0, editor=0x40027120,
edit_baton=0x40046838,
    notify_path_prefix=0x40027230 "", tempfiles=0x7aff16b4,
ctx=0x40010d80, pool=0x400108b8)
    at subversion/libsvn_client/commit_util.c:1209
#6 0x7ab9a450 in svn_client_commit (commit_info=0x7aff15ec,
targets=0x40011548, nonrecursive=0,
    ctx=0x40010d80, pool=0x400108b8) at
subversion/libsvn_client/commit.c:1295
#7 0x7ab99f20 in svn_client_commit () at
subversion/libsvn_client/commit.c:1024
#8 0x0000aeac in svn_cl__commit () at
subversion/clients/cmdline/commit-cmd.c:46
#9 0x0000aeac in svn_cl__commit () at
subversion/clients/cmdline/commit-cmd.c:46
Previous frame identical to this frame (corrupt stack?)

This is after re-compiling svn with the GNU assembler.
toby

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat May 8 01:44:51 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.