package curlftpfs
tags 449207 + unreproducible moreinfo
stop

Hello,

On Sunday 04 November 2007, Andrew Moise wrote:
>   While trying to track down some other trouble with curlftpfs, I ran the
> daemon under gdb and discovered that it seg faults on exit:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread -1213983056 (LWP 481)]
> 0xb7e9d105 in ConnectionKillOne (data=0x8053108) at url.c:2321
> 2321        if(!conn || conn->inuse)
> (gdb) bt
> #0  0xb7e9d105 in ConnectionKillOne (data=0x8053108) at url.c:2321
> #1  0xb7ea14d7 in Curl_close (data=0x8053108) at url.c:215
> #2  0xb7eaefe1 in curl_multi_cleanup (multi_handle=0x805d108) at
> multi.c:1553 #3  0x0804a664 in main (argc=Cannot access memory at address
> 0x0
> ) at ftpfs.c:1353
> (gdb) print conn
> $1 = (struct connectdata *) 0x11
> (gdb)

I tried to reproduce this, but I couldn't. Maybe you could give more details 
how to reproduce this segfault. Here is what I did:

[EMAIL PROTECTED]:~$ mkdir sunet
[EMAIL PROTECTED]:~$ gdb curlftpfs
GNU gdb 6.6.90.20070912-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/i686/cmov/libthread_db.so.1".
(gdb) run -d -f -o debug ftp://ftp.sunet.se/ sunet/
Starting program: /usr/bin/curlftpfs -d -f -o debug ftp://ftp.sunet.se/ sunet/
(no debugging symbols found)
(no debugging symbols found)
Failed to read a valid object file image from memory.
[Thread debugging using libthread_db enabled]
[New Thread 0xb7a406b0 (LWP 8051)]
[New Thread 0xb7a09b90 (LWP 8058)]
[New Thread 0xb71e6b90 (LWP 8059)]
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.7
flags=0x00000003
max_readahead=0x00020000
   INIT: 7.8
   flags=0x00000000
   max_readahead=0x00020000
   max_write=0x00020000
   unique: 1, error: 0 (Success), outsize: 40
unique: 2, opcode: GETATTR (3), nodeid: 1, insize: 40
   unique: 2, error: 0 (Success), outsize: 112

| In an other terminal I then umounted the filesystem:
| [EMAIL PROTECTED]:~$ fusermount -u sunet/

[Thread 0xb7a09b90 (LWP 8058) exited]
[Thread 0xb71e6b90 (LWP 8059) exited]

Program exited normally.
(gdb)  

Grüße,
Frank

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to