VirtualBox

Opened 12 years ago

Closed 12 years ago

#10527 closed defect (fixed)

Crash when connecting to certain FTP servers -> fixed in svn

Reported by: fzylogic Owned by:
Component: network/NAT Version: VirtualBox 4.1.14
Keywords: NAT, networking, FTP Cc:
Guest type: Linux Host type: all

Description

One particular FTP server (tummy.com) causes VirtualBox to crash when initiating a passive FTP connection.
It appears that the bug is triggered by the FTP server sending an ICMP Host Administratively Prohibited message after the connection is initiated. I've got a network dump attached that shows the packets.
The bug seems specific to NAT networking, but is not dependent on host OS (It's been verified in OSX 10.6-10.8 and on Debian Squeeze).

Attachments (1)

VBox.log (45.3 KB ) - added by fzylogic 12 years ago.
VBox.log

Download all attachments as: .zip

Change History (14)

by fzylogic, 12 years ago

Attachment: VBox.log added

VBox.log

comment:2 by vasily Levchenko, 12 years ago

duplicate #10513

comment:3 by Frank Mehnert, 12 years ago

Actually I'm not that sure that this is a duplicate of #10513. fzylogic, I cannot access your core dump, could you fix the permission problem?

in reply to:  3 comment:4 by fzylogic, 12 years ago

Replying to frank:

Actually I'm not that sure that this is a duplicate of #10513. fzylogic, I cannot access your core dump, could you fix the permission problem?

All fixed. Sorry about that!

comment:5 by fzylogic, 12 years ago

I finally got a debug build of VBox put together and got the following info out of gdb:

#0 0x00007f8dffcaca08 in send_icmp_to_guest (pData=0x7f8e003edd90, buff=0x2573c20 "E", len=88, addr=0x7f8dfc73da10)

at /root/vbox/src/VBox/Devices/Network/slirp/socket.c:1369

1369 Assert(m != NULL);

comment:6 by Frank Mehnert, 12 years ago

Great! Which source tree is that, VBox 4.1.14 or from the subversion repository on this server? If the latter, which revision?

comment:7 by fzylogic, 12 years ago

That's straight out of subversion as of a couple of hours ago.

comment:8 by fzylogic, 12 years ago

revision 41182

in reply to:  8 comment:9 by vasily Levchenko, 12 years ago

Replying to fzylogic:

Thanks for reporting and testing.

comment:10 by vasily Levchenko, 12 years ago

Summary: Crash when connecting to certain FTP serversCrash when connecting to certain FTP servers -> fixed in svn

comment:11 by Frank Mehnert, 12 years ago

The fix is in r41198. Please verify.

in reply to:  11 comment:12 by fzylogic, 12 years ago

Replying to frank:

The fix is in r41198. Please verify.

Looks like that did the trick! I can now get a file listing from that ftp server without a crash.

comment:13 by Frank Mehnert, 12 years ago

Resolution: fixed
Status: newclosed

Fix is part of VirtualBox 4.1.16.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use