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

Segmentation fault when not using -m option.

From: Robert North <aqh4uyrs3e02_at_sneakemail.com>
Date: 2002-12-09 16:39:45 CET

Just downloaded subversion (0.16) to see how it compared to CVS.

No sooner had I started using it, then I got segfaults of the following

import, cp, mkdir.

I could avoid the segfaults by adding message with the -m option.

Is this a known bug?
I would expect so, but nothing seems to be up on the Issue tracking part
of the web site.

Also, might this be fixed by the fix for issue 1027?

Stack trace for the import command follows:
(Note that the backtrace for cp is extremely similar. Other functions
not debugged, yet).

(gdb) run import file:///usr/local/svnroot/fred
"/home/rob/Downloads/Wine/wine-20021125(with cvs)"
Starting program:
import file:///usr/local/svnroot/fred
"/home/rob/Downloads/Wine/wine-20021125(with cvs)"
[New Thread 1024 (LWP 9114)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 9114)]
0x403b1b0b in strlen () from /lib/libc.so.6
(gdb) bt
#0 0x403b1b0b in strlen () from /lib/libc.so.6
#1 0x0805281d in svn_cl__get_log_message (log_msg=0xbffff14c,
tmp_file=0xbffff120, commit_items=0x80614d0,
    baton=0x8061458, pool=0x8060dd8) at
#2 0x4001cf7c in svn_client_import (commit_info=0xbffff1b0,
notify_func=0x804bfb0 <notify>,
    notify_baton=0x8061440, auth_baton=0x8061200,
    path=0x80613a8 "/home/rob/Downloads/Wine/wine-20021125(with cvs)",
    url=0x8061318 "file:///usr/local/svnroot/fred", new_entry=0x0,
    log_msg_func=0x8052560 <svn_cl__get_log_message>,
log_msg_baton=0x8061458, nonrecursive=0,
    pool=0x8060dd8) at subversion/libsvn_client/commit.c:573
#3 0x0804c74b in svn_cl__import (os=0x8060ef8, baton=0xbffff340,
    at subversion/clients/cmdline/import-cmd.c:122
#4 0x0804ea2d in main (argc=4, argv=0xbffff434) at
#5 0x403559ed in __libc_start_main () from /lib/libc.so.6

Many thanks

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Dec 9 16:40:35 2002

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