Re: segfault when creating IMAP folder

Vadim Zeitlin <[email protected]> Mon, 18 Sep 2017 19:46:12 +0200
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
--===============3871599531846154225==
Content-Type: MULTIPART/SIGNED; protocol="application/pgp-signature"; micalg=pgp-sha1; BOUNDARY="136657-2031-1505756785=:18724"

--136657-2031-1505756785=:18724
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-Disposition: INLINE

On Tue, 5 Apr 2016 15:16:05 +0300 Nerijus Baliunas <[email protected]> wrote:

NB> I press right mouse button on IMAP folder, choose "Create new folder...",
NB> skip wizard, enter "Folder Name", press OK and get a crash:
NB> 
NB> Program received signal SIGSEGV, Segmentation fault.
NB> 0x00000000004f28d8 in ConfigSourceChoice::GetSelectedSource (this=0x0) at .src/gui/ConfigSourceChoice.cpp:84
NB> 84	   const int sel = GetSelection();
NB> (gdb) bt
NB> #0  0x00000000004f28d8 in ConfigSourceChoice::GetSelectedSource() const (this=0x0)
NB>     at .src/gui/ConfigSourceChoice.cpp:84
NB> #1  0x000000000050a501 in wxProfileSettingsEditDialog::ApplyConfigSourceSelectedByUser(Profile&) (this=
NB>     0x7fffffffbc00, profile=...) at .src/gui/wxDialogLayout.cpp:1285
NB> #2  0x000000000054e5ff in wxFolderCreateDialog::DoCreateFolder(MFolderType) (this=0x7fffffffbc00, folderType=MF_IMAP) at .src/gui/wxMFolderDialogs.cpp:790
NB> #3  0x00000000005541aa in wxFolderPropertiesPage::TransferDataFromWindow() (this=0x11196b0)
NB>     at .src/gui/wxMFolderDialogs.cpp:2445
NB> #4  0x000000000050b3a6 in wxOptionsEditDialog::TransferDataFromWindow() (this=0x7fffffffbc00)
NB>     at .src/gui/wxDialogLayout.cpp:1481
NB> #5  0x000000000054ed97 in wxFolderCreateDialog::TransferDataFromWindow() (this=0x7fffffffbc00)
NB>     at .src/gui/wxMFolderDialogs.cpp:917
NB> #6  0x000000000050b68d in wxOptionsEditDialog::DoApply() (this=0x7fffffffbc00) at .src/gui/wxDialogLayout.cpp:1578
NB> #7  0x000000000050b537 in wxOptionsEditDialog::OnOK(wxCommandEvent&) (this=0x7fffffffbc00)
NB>     at .src/gui/wxDialogLayout.cpp:1547
NB> #8  0x00007ffff63f9389 in wxAppConsoleBase::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0xc47820, handler=0x7fffffffbc00, func=
NB>     (void (wxEvtHandler::*)(wxEvtHandler * const, wxEvent &)) 0x50b4fe <wxOptionsEditDialog::OnOK(wxCommandEvent&)>, event=...) at ../wxWidgets/src/common/appbase.cpp:657
NB> #9  0x00007ffff63f93fc in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const (this=0xc47820, handler=0x7fffffffbc00, functor=..., event=...) at ../wxWidgets/src/common/appbase.cpp:669
NB> #10 0x00007ffff6511864 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) (entry=..., handler=0x7fffffffbc00, event=...) at ../wxWidgets/src/common/event.cpp:1381
NB> #11 0x00007ffff651063f in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) (this=0xba7f00 <wxFolderCreateDialog::sm_eventHashTable>, event=..., self=0x7fffffffbc00) at ../wxWidgets/src/common/event.cpp:989
NB> #12 0x00007ffff6511d61 in wxEvtHandler::TryHereOnly(wxEvent&) (this=0x7fffffffbc00, event=...)
NB>     at ../wxWidgets/src/common/event.cpp:1578
NB> #13 0x00007ffff651381d in wxEvtHandler::TryBeforeAndHere(wxEvent&) (this=0x7fffffffbc00, event=...)
NB>     at ../wxWidgets/include/wx/event.h:3656
NB> #14 0x00007ffff6511b85 in wxEvtHandler::ProcessEventLocally(wxEvent&) (this=0x7fffffffbc00, event=...)
NB>     at ../wxWidgets/src/common/event.cpp:1511
NB> #15 0x00007ffff6511b1d in wxEvtHandler::ProcessEvent(wxEvent&) (this=0x7fffffffbc00, event=...)
NB>     at ../wxWidgets/src/common/event.cpp:1484
NB> #16 0x00007ffff706de1f in wxWindowBase::TryAfter(wxEvent&) (this=0xfc2a00, event=...)
NB>     at ../wxWidgets/src/common/wincmn.cpp:3457

 Hi,

 Can you still reproduce this? I don't see any changes that could have
fixed it, but I don't see how can it happen neither from looking at the
code and I definitely don't see it here...

 Thanks,
VZ

--136657-2031-1505756785=:18724
Content-Type: APPLICATION/PGP-SIGNATURE

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iEYEABECAAYFAlnABmQACgkQBupB3k9sHoZ7WwCfXYkG0kY+IetMlfXlfHHr/Sad
afUAniM0NTcPKFjmH/fDayKaRXHVEmf/
=TzYI
-----END PGP SIGNATURE-----

--136657-2031-1505756785=:18724--


--===============3871599531846154225==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
--===============3871599531846154225==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mahogany-Developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

--===============3871599531846154225==--