Login | Register
My pages Projects Community openCollabNet

Discussions > dev > Re: svn commit: r312 - trunk: . fsvs fsvs/doc fsvs/src fsvs/src/test

fsvs
Discussion topic

Back to topic list

Re: svn commit: r312 - trunk: . fsvs fsvs/doc fsvs/src fsvs/src/test

Author Benjamin Mucci <mucci at perspectives dot qc dot ca>
Full name Benjamin Mucci <mucci at perspectives dot qc dot ca>
Date 2006-05-30 07:54:37 PDT
Message Philipp Marek wrote, On 30/05/06 10:06:
>
>> #1 0x08053fcb in ac__up_apply_textdelta ()
>>
> ...
>
> But there are no debug symbols ...
>
>
> Please try this:
> ./configure --enable-debug
> make
> /devworld/src/fsvs-t​runk/fsvs/src/fsvs remote-status /tmp/fsvs-test-0/wc -d -v
>
> This should automatically start gdb when it hits the segmentation violation.
> Then please give me the output of the "bt" command (backtrace).
> There you should see a line with "#(number) ... ac__up_apply_textdelta".
> Type "up " and the number (eg. from above: "up 1")
> Please give me the output of "info locals" too.
>
Better this time..?

Ben.


# /devworld/src/fsvs-t​runk/fsvs/src/fsvs remote-status
/tmp/fsvs-test-0/wc -d -v
10:15:00.356 main[fsvs.c:384] LC_ALL gives en_US.UTF-8
10:15:00.356 main[fsvs.c:391] LC_CTYPE gives en_US.UTF-8
10:15:00.356 main[fsvs.c:402] codeset found to be UTF-8
10:15:00.356 main[fsvs.c:410] codeset: using identity
10:15:00.357 main[fsvs.c:456] optind=4 heap=0x8061000 per_sts=164
action=remote-status
10:15:00.357 waa__open[waa.c:305] reading target
/var/spool/fsvs/46/d​9/862df7439936a14c8c​af7ba9f937/ign
10:15:00.357 ign__load_list[ignore.c:392] no ignore list found
10:15:00.357 waa__open[waa.c:305] reading target
/var/spool/fsvs/46/d​9/862df7439936a14c8c​af7ba9f937/urls
10:15:00.358 waa__open[waa.c:318] got fh 3
10:15:00.358 waa__load_repos_urls[waa.c:152] found 1 urls
10:15:00.359 waa__open[waa.c:305] reading target
/var/spool/fsvs/46/d​9/862df7439936a14c8c​af7ba9f937/dir
10:15:00.359 waa__open[waa.c:318] got fh 3
10:15:00.359 waa__input_tree[waa.c:1095] mmap()ping 121 bytes
10:15:00.359 waa__input_tree[waa.c:1137] reading 1024 subdirs, 1
entries, 5 bytes string-space
10:15:00.360 waa__input_tree[waa.c:1147] ok, found \0 or \0\n at end
10:15:00.360 waa__input_tree[waa.c:1164] curr=0x40017040,
end=0x40017079, count=1
10:15:00.360 ops__allocate[est_ops.c:660] need 1 blocks
10:15:00.360 ops__allocate[est_ops.c:697] no freelist, allocating
10:15:00.360 waa__input_tree[waa.c:1180] about to parse 0x40017040 =
'0042755 447bb10f 447bb10f 0 nd x 4096 2 ...'
10:15:00.360 ops__build_path[est_ops.c:496] need 1024 bytes
10:15:00.361 ops__build_path[est_ops.c:510] new cache 0
10:15:00.361 ops__build_path[est_ops.c:524] reallocated cache 0
10:15:00.361 ops__build_path[est_ops.c:542] status=0; path=.
10:15:00.361 ops___stat_to_action​[est_ops.c:226] change = 2c
10:15:00.361 ops__update_single_e​ntry[est_ops.c:1039]​ existing .:
action=2C, flags=0, status=0
10:15:00.362 waa__update_dir[waa.c:940] update_dir: chdir(.)
10:15:00.362 dir__enumerator[direnum.c:222] found 71528 .
10:15:00.362 dir__enumerator[direnum.c:222] found 57217 ..
10:15:00.362 dir__enumerator[direnum.c:275] after loop found 0 entries,
0 bytes string-space
10:15:00.362 waa__update_dir[waa.c:948] update_dir: direnum found 0; old
has 0 (0)
10:15:00.362 waa__update_dir[waa.c:1057] update_dir reports 0
10:15:00.362 waa__read_or_build_t​ree[waa.c:1312] read tree = 0
10:15:00.367 ac__up_parse_prop[update.c:81] got property for .:
svn:entry:committed-rev=4
10:15:00.370 ac__up_parse_prop[update.c:81] got property for .:
svn:entry:committed-​date=2006-05-30T02:4​2:23.355689Z
10:15:00.370 ac__up_parse_prop[update.c:81] got property for .:
svn:entry:last-author=root
10:15:00.371 ac__up_parse_prop[update.c:81] got property for .:
svn:entry:uuid=b8c57​062-f814-0410-bd4b-8​515bd01a908
10:15:00.372 ac__up_add_entry[update.c:391] add entry update-file.upd
10:15:00.374 ac__up_parse_prop[update.c:81] got property for
update-file.upd: svn:entry:committed-rev=4
10:15:00.375 ac__up_parse_prop[update.c:81] got property for
update-file.upd: svn:entry:committed-​date=2006-05-30T02:4​2:23.355689Z
10:15:00.375 ac__up_parse_prop[update.c:81] got property for
update-file.upd: svn:entry:last-author=root
10:15:00.375 ac__up_parse_prop[update.c:81] got property for
update-file.upd: svn:entry:uuid=b8c57​062-f814-0410-bd4b-8​515bd01a908
10:15:00.376 ac__up_parse_prop[update.c:81] got property for
update-file.upd: svn:text-time=2006-0​5-30T02:42:23.000000​Z
10:15:00.376 ac__up_parse_prop[update.c:81] got property for
update-file.upd: svn:unix-mode=0644
10:15:00.376 ac__up_parse_prop[update.c:81] got property for
update-file.upd: svn:owner=0 root
10:15:00.376 ac__up_parse_prop[update.c:81] got property for
update-file.upd: svn:group=0 root
10:15:00.377 ops__build_path[est_ops.c:496] need 1024 bytes
10:15:00.378 ops__build_path[est_ops.c:510] new cache 1
10:15:00.378 ops__build_path[est_ops.c:524] reallocated cache 1
10:15:00.378 ops__build_path[est_ops.c:542] status=0; path=./update-file.upd
GNU gdb Red Hat Linux (5.3post-0.20021129.18rh)
Copyright 2003 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-gnu"...
Attaching to program: /devworld/src/fsvs-t​runk/fsvs/src/fsvs, process 4523
Reading symbols from /usr/local/lib/libsv​n_subr-1.so.0...done​.
Loaded symbols for /usr/local/lib/libsv​n_subr-1.so.0
Reading symbols from /usr/local/lib/libsv​n_ra-1.so.0...done.
Loaded symbols for /usr/local/lib/libsvn_ra-1.so.0
Reading symbols from /usr/local/lib/libsv​n_client-1.so.0...do​ne.
Loaded symbols for /usr/local/lib/libsv​n_client-1.so.0
Reading symbols from /usr/local/lib/libpc​re.so.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /lib/i686/libc.so.6...done.
Loaded symbols for /lib/i686/libc.so.6
Reading symbols from /usr/local/apr/lib/l​ibaprutil-0.so.0...d​one.
Loaded symbols for /usr/local/apr/lib/l​ibaprutil-0.so.0
Reading symbols from /usr/local/lib/libic​onv.so.2...done.
Loaded symbols for /usr/local/lib/libiconv.so.2
Reading symbols from /usr/local/apr/lib/l​ibapr-0.so.0...done.​
Loaded symbols for /usr/local/apr/lib/l​ibapr-0.so.0
Reading symbols from /usr/local/lib/libsv​n_delta-1.so.0...don​e.
Loaded symbols for /usr/local/lib/libsv​n_delta-1.so.0
Reading symbols from /usr/lib/libgdbm.so.2...done.
Loaded symbols for /usr/lib/libgdbm.so.2
Reading symbols from /usr/local/BerkeleyD​B.4.3/lib/libdb-4.3.​so...done.
Loaded symbols for /usr/local/BerkeleyD​B.4.3/lib/libdb-4.3.​so
Reading symbols from /usr/local/lib/libex​pat.so.0...done.
Loaded symbols for /usr/local/lib/libexpat.so.0
Reading symbols from /lib/i686/librt.so.1...done.
Loaded symbols for /lib/i686/librt.so.1
Reading symbols from /lib/i686/libm.so.6...done.
Loaded symbols for /lib/i686/libm.so.6
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/i686/libpthread​.so.0...done.
[New Thread 16384 (LWP 4523)]
Loaded symbols for /lib/i686/libpthread.so.0
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/local/lib/libsv​n_ra_local-1.so.0...​done.
Loaded symbols for /usr/local/lib/libsv​n_ra_local-1.so.0
Reading symbols from /usr/local/lib/libsv​n_repos-1.so.0...don​e.
Loaded symbols for /usr/local/lib/libsv​n_repos-1.so.0
Reading symbols from /usr/local/lib/libsv​n_fs-1.so.0...done.
Loaded symbols for /usr/local/lib/libsvn_fs-1.so.0
Reading symbols from /usr/local/lib/libsv​n_ra_svn-1.so.0...do​ne.
Loaded symbols for /usr/local/lib/libsv​n_ra_svn-1.so.0
Reading symbols from /usr/local/lib/libsv​n_ra_dav-1.so.0...do​ne.
Loaded symbols for /usr/local/lib/libsv​n_ra_dav-1.so.0
Reading symbols from /usr/local/lib/libsv​n_wc-1.so.0...done.
Loaded symbols for /usr/local/lib/libsvn_wc-1.so.0
Reading symbols from /usr/local/lib/libsv​n_diff-1.so.0...done​.
Loaded symbols for /usr/local/lib/libsv​n_diff-1.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/local/lib/libsv​n_fs_fs-1.so.0...don​e.
Loaded symbols for /usr/local/lib/libsv​n_fs_fs-1.so.0
Reading symbols from /usr/local/lib/libsv​n_fs_base-1.so.0...d​one.
Loaded symbols for /usr/local/lib/libsv​n_fs_base-1.so.0
Reading symbols from /usr/local/lib/libne​on.so.25...done.
Loaded symbols for /usr/local/lib/libneon.so.25
Reading symbols from /usr/local/lib/libz.​so.1...done.
Loaded symbols for /usr/local/lib/libz.so.1
Reading symbols from /usr/kerberos/lib/li​bgssapi_krb5.so.2...​done.
Loaded symbols for /usr/kerberos/lib/li​bgssapi_krb5.so.2
Reading symbols from /usr/kerberos/lib/li​bkrb5.so.3...done.
Loaded symbols for /usr/kerberos/lib/libkrb5.so.3
Reading symbols from /usr/kerberos/lib/li​bk5crypto.so.3...don​e.
Loaded symbols for /usr/kerberos/lib/li​bk5crypto.so.3
Reading symbols from /usr/kerberos/lib/li​bcom_err.so.3...done​.
Loaded symbols for /usr/kerberos/lib/li​bcom_err.so.3
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
0x40157b88 in read () from /lib/i686/libc.so.6
(gdb) bt
#0 0x40157b88 in read () from /lib/i686/libc.so.6
#1 0xbffff24c in ?? ()
#2 0x4044467e in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3 <signal handler called>
#4 0x4003aa9e in svn_stringbuf_create (cstring=0x1 <Address 0x1 out of
bounds>, pool=0x0) at subversion/libsvn_su​br/svn_string.c:257
#5 0x080541cb in ac__up_apply_textdelta (file_baton=0xbffff360,
base_checksum=0x0, pool=0x8094458, handler=0xbffff650,
handler_baton=0xbffff654) at update.c:777
#6 0x404a23cf in delta_files (b=0x8071940, file_baton=0x806e780,
s_rev=2, s_path=0x0, t_path=0x80944a0 "update-file.upd", lock_token=0x0,
pool=0x8094458)
    at subversion/libsvn_re​pos/reporter.c:487
#7 0x404a26db in update_entry (b=0x8071940, s_rev=2, s_path=0x0,
s_entry=0x0, t_path=0x80944a0 "update-file.upd", t_entry=0x808fc38,
dir_baton=0xbffff89c,
    e_path=0x8094490 "update-file.upd", info=0x0, recurse=1,
pool=0x8094458) at subversion/libsvn_re​pos/reporter.c:671
#8 0x404a2c57 in delta_dirs (b=0x8071940, s_rev=2, s_path=0x8079690 "",
t_path=0x80719a8 "", dir_baton=0xbffff89c, e_path=0x404a5b2c "",
start_empty=0,
    pool=0x8064180) at subversion/libsvn_re​pos/reporter.c:798
#9 0x404a2ec5 in drive (b=0x8071940, s_rev=2, info=0x8073408,
pool=0x8064180) at subversion/libsvn_re​pos/reporter.c:853
#10 0x404a30e5 in finish_report (b=0x8071940, pool=0x8064180) at
subversion/libsvn_re​pos/reporter.c:913
#11 0x404a3321 in svn_repos_finish_report (baton=0x8071940,
pool=0x8064180) at subversion/libsvn_re​pos/reporter.c:989
#12 0x4048eff1 in reporter_finish_report (reporter_baton=0xfffffe00,
pool=0x8064180) at subversion/libsvn_ra​_local/ra_plugin.c:1​18
#13 0x08051c9f in ac__remtst_work (root=0xbffff89c, argc=0,
argv=0xbffff9b8) at remote.c:60
#14 0x0804ab0e in main (argc=0, args=0xbffff9a4) at fsvs.c:488
#15 0x40098a67 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) up 5
#5 0x080541cb in ac__up_apply_textdelta (file_baton=0xbffff360,
base_checksum=0x0, pool=0x8094458, handler=0xbffff650,
handler_baton=0xbffff654) at update.c:777
777 sts->stringbuf_sr​c=svn_stringbuf_crea​te(cp, pool);
(gdb) info locals
svn_s_src = (svn_stream_t *) 0x8071940
svn_s_tgt = (svn_stream_t *) 0x8099478
status = 0
cp = 0x4 <Address 0x4 out of bounds>
fn_utf8 = 0x80995a0 "b8c57062-f814-0410-​bd4b-8515bd01a908"
(gdb) quit
The program is running. Quit anyway (and detach it)? (y or n) y
Detaching from program: /devworld/src/fsvs-t​runk/fsvs/src/fsvs, process 4523
Segmentation fault
Attachments

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

Re: svn commit: r312 - trunk: . fsvs fsvs/doc fsvs/src fsvs/src/test Benjamin Mucci <mucci at perspectives dot qc dot ca> Benjamin Mucci <mucci at perspectives dot qc dot ca> 2006-05-30 07:54:37 PDT
Messages per page: