Opened 10 years ago

Closed 7 years ago

#10311 closed Bug report (rejected)

assert "size >= 0" failed in Format()

Reported by: Ettore Atalan Owned by:
Priority: normal Component: FileZilla Client
Keywords: sizeformatting Cc:
Component version: 3.15.0.2 Operating system type: Linux
Operating system version: 3.16

Description (last modified by Tim Kosse)

Hi

I got the error

sizeformatting_base.cpp(55): assert "size >= 0" failed in Format().

while uploading a file to my FTP server (overwriting an allegedly reported zero byte file).

FileZilla Client


Version: 3.10.2

Build information:

Compiled for: x86_64-pc-linux-gnu
Compiled on: x86_64-pc-linux-gnu
Build date: 2015-03-05
Compiled with: gcc (Ubuntu 4.9.1-16ubuntu6) 4.9.1
Compiler flags: -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -g -std=gnu++11

Linked against:

wxWidgets: 3.0.2
GnuTLS: 3.2.16
SQLite: 3.8.6

Operating system:

Name: Linux 3.16.0-32-generic x86_64
Version: 3.16

Best Regards,
Ettore Atalan

Attachments (1)

Backtrace.log (902 bytes ) - added by Ettore Atalan 10 years ago.
Assert info + Backtrace

Download all attachments as: .zip

Change History (5)

by Ettore Atalan, 10 years ago

Attachment: Backtrace.log added

Assert info + Backtrace

comment:1 by Tim Kosse, 10 years ago

Resolution: fixed
Status: newclosed

I've made some changes to hopefully prevent this assert in 3.10.3

Sadly the backtrace seems bogus.

If this issue still persists in 3.10.3 once it gets released, please reopen this ticket and provide as detailed instructions as possible on how to reproduce it.

comment:2 by Ettore Atalan, 10 years ago

Okay.

comment:3 by Pedro Pelaez, 7 years ago

Component version: 3.15.0.2
Resolution: fixed
Status: closedreopened

Hi,

I see the error again while download files:

ASSERT INFO:
sizeformatting_base.cpp(55): assert "size >= 0" failed in Format().

BACKTRACE:
[1] std::cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > gnu_cxx::to_xstring<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, wchar_t>(int (*)(wchar_t*, unsigned long, wchar_t const*, va_list_tag*), unsigned long, wchar_t const*, ...)
[2] std::cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > gnu_cxx::to_xstring<std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >, wchar_t>(int (*)(wchar_t*, unsigned long, wchar_t const*, va_list_tag*), unsigned long, wchar_t const*, ...)
[3] wxString wxString::Format<wxString, wxString>(wxFormatString const&, wxString, wxString)
[4] wxString wxString::Format<wxString>(wxFormatString const&, wxString)
[5] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[6] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[7] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[8] wxEvtHandler::TryHereOnly(wxEvent&)
[9] wxEvtHandler::ProcessEventLocally(wxEvent&)
[10] wxEvtHandler::ProcessEvent(wxEvent&)
[11] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[12] wxTimerImpl::SendEvent()
[13] g_main_context_dispatch
[14] g_main_loop_run
[15] gtk_main
[16] wxGUIEventLoop::DoRun()
[17] wxEventLoopBase::Run()
[18] wxAppConsoleBase::MainLoop()
[19] wxEntry(int&, wchar_t)
[20] libc_start_main

Last edited 7 years ago by Pedro Pelaez (previous) (diff)

comment:4 by Tim Kosse, 7 years ago

Description: modified (diff)
Resolution: rejected
Status: reopenedclosed

3.15.0.2 is _EXTREMELEY_ outdated. Please update to the most recent version of FileZilla.

Note: See TracTickets for help on using tickets.