Xmlcopyeditor crash when open certain files

Bug #1670440 reported by José Marinho
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
xmlcopyeditor (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I open a xml file that is located on a folder that is synced (Insync with a Google Drive account or with a nextcloud server), xmlcopyeditor shows a error message and I can't work on that document.

I append an screenshot of that error, and some extra information.

The package affected is 1.2.1.3-1build1 on Ubuntu 16.04. This behaviour does not showing on a Fedora 25 installation and if I downgrade on my Ubuntu 16.04 machine the Ubuntu package to Ubuntu 14.04 one (1.2.0.12-1) the bug dissapears, so I think this is a bug related to this build.

lsb_release -rd
Description: Ubuntu 16.04.2 LTS
Release: 16.04

apt-cache policy xmlcopyeditor
xmlcopyeditor:
  Instalado: 1.2.1.3-1build1
  Candidato: 1.2.1.3-1build1
  Táboa de versións:
 *** 1.2.1.3-1build1 500
        500 http://es.archive.ubuntu.com/ubuntu xenial/universe amd64 Packages
        100 /var/lib/dpkg/status
Backtrace output of the screenshot attached:

ASSERT INFO:
../src/common/unichar.cpp(65): assert "Assert failure" failed in ToHi8bit(): character cannot be converted to single byte

BACKTRACE:
[1] wxUniChar::ToHi8bit(unsigned int)
[2] wxURI::Unescape(wxString const&)
[3] wxFileSystem::URLToFileName(wxString const&)
[4] std::ctype<char>::do_widen(char) const
[5] std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[6] std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[7] std::_Rb_tree<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::_Select1st<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >::_M_get_insert_hint_unique_pos(std::_Rb_tree_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
[8] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[9] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[10] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[11] wxEvtHandler::TryHereOnly(wxEvent&)
[12] wxEvtHandler::DoTryChain(wxEvent&)
[13] wxEvtHandler::ProcessEvent(wxEvent&)
[14] wxWindowBase::TryAfter(wxEvent&)
[15] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[16] wxMenuBase::SendEvent(int, int)
[17] g_closure_invoke
[18] g_signal_emit_valist
[19] g_signal_emit
[20] g_main_context_dispatch
[21] g_main_loop_run
[22] gtk_main
[23] wxGUIEventLoop::DoRun()
[24] wxEventLoopBase::Run()
[25] wxAppConsoleBase::MainLoop()
[26] wxEntry(int&, wchar_t**)
[27] __libc_start_main

Terminal output when I start xmlcopyeditor and try to reproduce the bug from there:

xmlcopyeditor
18:04:06: Error: Cann't open ''
../src/aui/auibook.cpp(3309): assert "Assert failure" failed in HitTest(): Not implemented for wxAuiNotebook
../src/aui/auibook.cpp(3309): assert "Assert failure" failed in HitTest(): Not implemented for wxAuiNotebook
../src/aui/auibook.cpp(3309): assert "Assert failure" failed in HitTest(): Not implemented for wxAuiNotebook
../src/aui/auibook.cpp(3309): assert "Assert failure" failed in HitTest(): Not implemented for wxAuiNotebook
../src/aui/auibook.cpp(3309): assert "Assert failure" failed in HitTest(): Not implemented for wxAuiNotebook
../src/common/unichar.cpp(65): assert "Assert failure" failed in ToHi8bit(): character cannot be converted to single byte
../src/common/unichar.cpp(65): assert "Assert failure" failed in ToHi8bit(): character cannot be converted to single byte
../src/common/unichar.cpp(65): assert "Assert failure" failed in ToHi8bit(): character cannot be converted to single byte
../src/common/unichar.cpp(65): assert "Assert failure" failed in ToHi8bit(): character cannot be converted to single byte
../src/common/unichar.cpp(65): assert "Assert failure" failed in ToHi8bit(): character cannot be converted to single byte
../src/aui/auibook.cpp(3309): assert "Assert failure" failed in HitTest(): Not implemented for wxAuiNotebook
18:05:21: Error: Cann't open

Revision history for this message
José Marinho (jmarinho) wrote :
description: updated
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xmlcopyeditor (Ubuntu):
status: New → Confirmed
Revision history for this message
Dominique Meeùs (dominiquem) wrote :

Ubuntu 20.04, xmlcopyeditor 1.2.1.3
Most of my folders are synchronized with Nextcloud and I cannot open a HTML file.
A copy of the same file in ~/temp (not synchronized) opens perfectly.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.