Nerijus Baliunas | 8 Jun 12:17 2016
Picon
Picon

GetIconFromMimeType segfault

Hello,

With yesterday's wx trunk (I was using a month earlier version before)
M segfaults when viewing message with embedded picture:

(gdb) bt
#0  0x00007ffff31ee09c in g_type_check_instance_is_fundamentally_a ()
    at /lib64/libgobject-2.0.so.0
#1  0x00007ffff31ce447 in g_object_unref () at /lib64/libgobject-2.0.so.0
#2  0x00007ffff6ed821d in wxGtkObject<_GtkIconInfo>::~wxGtkObject() (this=0x7fffffff9c00,
__in_chrg=<optimized out>) at ../wxWidgets/include/wx/gtk/private/object.h:22
#3  0x00007ffff6ed7faa in wxGTKMimeTypesManagerImpl::GetIconFromMimeType(wxString const&)
(this=0x120f8c0, mime=...) at ../wxWidgets/src/gtk/mimetype.cpp:40
#4  0x00007ffff64ffbfa in wxMimeTypesManagerImpl::LoadXDGGlobs(wxString const&) (this=0x120f8c0,
filename=...) at ../wxWidgets/src/unix/mimetype.cpp:265
#5  0x00007ffff6500e71 in wxMimeTypesManagerImpl::Initialize(int, wxString const&)
(this=0x120f8c0, mailcapStyles=15, sExtraDir=...) at ../wxWidgets/src/unix/mimetype.cpp:534
#6  0x00007ffff6500dd4 in wxMimeTypesManagerImpl::InitIfNeeded() (this=0x120f8c0)
    at ../wxWidgets/src/unix/mimetype.cpp:518
#7  0x00007ffff6502c8b in wxMimeTypesManagerImpl::GetFileTypeFromMimeType(wxString const&)
(this=0x120f8c0, mimeType=...) at ../wxWidgets/src/unix/mimetype.cpp:885
#8  0x00007ffff647883c in wxMimeTypesManager::GetFileTypeFromMimeType(wxString const&)
(this=0x120fcc0, mimeType=...) at ../wxWidgets/src/common/mimecmn.cpp:662
#9  0x00000000004eec1c in wxIconManager::GetIconFromMimeType(wxString const&, wxString const&)
(this=0xcf2950, type=..., ext=...) at .src/gui/wxIconManager.cpp:604
#10 0x00000000004885f7 in MessageView::ShowAttachment(MimePart const*) (this=0xeeb400,
mimepart=0x1208880) at .src/classes/MessageView.cpp:2117
#11 0x0000000000488c54 in MessageView::ShowImage(MimePart const*) (this=0xeeb400,
mimepart=0x1208880) at .src/classes/MessageView.cpp:2227
#12 0x00000000004892f8 in MessageView::ShowPart(MimePart const*) (this=0xeeb400,
(Continue reading)

Nerijus Baliunas | 5 Apr 14:16 2016
Picon
Picon

segfault when creating IMAP folder

Hello,

I press right mouse button on IMAP folder, choose "Create new folder...",
skip wizard, enter "Folder Name", press OK and get a crash:

Program received signal SIGSEGV, Segmentation fault.
0x00000000004f28d8 in ConfigSourceChoice::GetSelectedSource (this=0x0) at .src/gui/ConfigSourceChoice.cpp:84
84	   const int sel = GetSelection();
(gdb) bt
#0  0x00000000004f28d8 in ConfigSourceChoice::GetSelectedSource() const (this=0x0)
    at .src/gui/ConfigSourceChoice.cpp:84
#1  0x000000000050a501 in
wxProfileSettingsEditDialog::ApplyConfigSourceSelectedByUser(Profile&) (this=
    0x7fffffffbc00, profile=...) at .src/gui/wxDialogLayout.cpp:1285
#2  0x000000000054e5ff in wxFolderCreateDialog::DoCreateFolder(MFolderType)
(this=0x7fffffffbc00, folderType=MF_IMAP) at .src/gui/wxMFolderDialogs.cpp:790
#3  0x00000000005541aa in wxFolderPropertiesPage::TransferDataFromWindow() (this=0x11196b0)
    at .src/gui/wxMFolderDialogs.cpp:2445
#4  0x000000000050b3a6 in wxOptionsEditDialog::TransferDataFromWindow() (this=0x7fffffffbc00)
    at .src/gui/wxDialogLayout.cpp:1481
#5  0x000000000054ed97 in wxFolderCreateDialog::TransferDataFromWindow() (this=0x7fffffffbc00)
    at .src/gui/wxMFolderDialogs.cpp:917
#6  0x000000000050b68d in wxOptionsEditDialog::DoApply() (this=0x7fffffffbc00) at .src/gui/wxDialogLayout.cpp:1578
#7  0x000000000050b537 in wxOptionsEditDialog::OnOK(wxCommandEvent&) (this=0x7fffffffbc00)
    at .src/gui/wxDialogLayout.cpp:1547
#8  0x00007ffff63f9389 in wxAppConsoleBase::HandleEvent(wxEvtHandler*, void
(wxEvtHandler::*)(wxEvent&), wxEvent&) const (this=0xc47820, handler=0x7fffffffbc00, func=
    (void (wxEvtHandler::*)(wxEvtHandler * const, wxEvent &)) 0x50b4fe
<wxOptionsEditDialog::OnOK(wxCommandEvent&)>, event=...) at ../wxWidgets/src/common/appbase.cpp:657
#9  0x00007ffff63f93fc in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&,
(Continue reading)

Nerijus Baliunas | 25 Mar 12:32 2016
Picon
Picon

crash when IMAP server crashes

Hello,

I have some old messages, and when I try to open them, dovecot dies:
Mar 25 13:22:51 nerijus dovecot: imap(nerijus): Error: Maildir filename has wrong S value, renamed the
file from /ho
me/nerijus/Maildir/.Linux_old.fetchmail/cur/1023547815.11888_0.nerijus,S=4761:2,S to /home/nerijus/Maildir/.Linux_ol
d.fetchmail/cur/1023547815.11888_0.nerijus,S=4714:2,S
Mar 25 13:22:51 nerijus dovecot: imap(nerijus): Error: Corrupted index cache file /home/nerijus/Maildir/.Linux_old.f
etchmail/dovecot.index.cache: Broken physical size for mail UID 17 in mailbox Linux_old.fetchmail: read(/home/neriju
s/Maildir/.Linux_old.fetchmail/cur/1023547815.11888_0.nerijus,S=4761:2,S) failed: Cached
message size larger than ex
pected (4761 > 4714, box=Linux_old.fetchmail, UID=17, cached Message-Id=<20020608103849.A26474 <at> thyrsus.com>)
Mar 25 13:22:51 nerijus dovecot: imap(nerijus): Error: read(/home/nerijus/Maildir/.Linux_old.fetchmail/cur/102354781
5.11888_0.nerijus,S=4761:2,S) failed: Cached message size larger than expected (4761 > 4714, box=Linux_old.fetchmail
, UID=17, cached Message-Id=<20020608103849.A26474 <at> thyrsus.com>) (uid=17, box=Linux_old.fetchmail)
Mar 25 13:22:51 nerijus dovecot: imap(nerijus): Internal error occurred. Refer to server log for more
information. [
2016-03-25 13:22:51] in=2063 out=63058

I get an assert in M:

Program received signal SIGTRAP, Trace/breakpoint trap.
0x00000000005f4b01 in MessageCC::GetBody (this=0xfc0a10) at .src/mail/MessageCC.cpp:738
738	   ASSERT_MSG( m_Body && m_Envelope, _T("failed to get body and envelope!") );
(gdb) bt
#0  0x00000000005f4b01 in MessageCC::GetBody() (this=0xfc0a10) at .src/mail/MessageCC.cpp:738
#1  0x00000000005f5467 in MessageCC::CheckBody() const (this=0xfc0a10) at /a/M/M/include/MessageCC.h:176
#2  0x00000000005f3669 in MessageCC::CheckMIME() const (this=0xfc0a10) at .src/mail/MessageCC.cpp:507
#3  0x00000000005f374c in MessageCC::GetTopMimePart() const (this=0xfc0a10) at .src/mail/MessageCC.cpp:532
#4  0x000000000048c2ac in MessageView::Update() (this=0xee6400) at .src/classes/MessageView.cpp:3060
(Continue reading)

Nerijus Baliunas | 1 Mar 23:17 2016
Picon
Picon

GTKSetIconName

Hello,

Newest wx 3.1 has no more GTKSetIconName(), is it OK if I remove it from
src/classes/NewMailNotifier.cpp?

Regards,
Nerijus

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
Nerijus Baliunas | 2 Feb 10:57 2016
Picon
Picon

From header displayed incorrectly

Hello,

Such From header:

From: =?UTF-8?Q?Example_dri=c5=abnas_[AAA_BBB]?=
 <example <at> example.lt>

is displayed as:

From: =?UTF-8?Q?Example_dri=c5=abnas_ <at> MISSING_DOMAIN

but if "Show headers" is enabled, it is displayed correctly:
From: Example driūnas [AAA BBB]
 <example <at> example.lt>

Regards,
Nerijus

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mahogany-developers
Nerijus Baliunas | 28 Aug 14:30 2015
Picon
Picon

Open in another browser

Hello,

I think "Open in new window" is not used anymore, as URLs open always in new tabs,
am I correct? I removed "Browser is Netscape" and "Open in new window" and added
"Open in another browser" instead. I hope it is OK.

Regards,
Nerijus

------------------------------------------------------------------------------
Nerijus Baliunas | 20 Jan 11:42 2015
Picon
Picon

illegal UTF-8 chars

Hello,

M cannot display the attached message. I suppose because it contains illegal
UTF-8 chars near "пригодитс". The message is displayed by Thunderbird or
Android mail app (with some � symbols). Is it possible for M to display the
readable part, like Thunderbird does?

Regards,
Nerijus
Attachment (message_illegal_utf8): application/octet-stream, 7569 bytes
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mahogany-developers
Nerijus Baliunas | 5 Jan 14:40 2015
Picon
Picon

Re: Unknown image data format

Hello,

times changed, so now I get lots of such messages when opening HTML messages:
iCCP: Not recognizing known sRGB profile that has been edited
HTML image display is turned on. Is it possible to disable these dialog boxes?

BTW, are you planning to use another HTML parser in M, webkit/chromium maybe?

Regards,
Nerijus

On Mon, 16 Apr 2012 13:03:02 +0200 Vadim Zeitlin <vz-nonspam <at> zeitlins.org> wrote:

VZ> On Mon, 16 Apr 2012 13:40:58 +0300 Nerijus Baliunas <nerijus <at> users.sourceforge.net> wrote:
VZ> 
VZ> NB> When I open attached message, I get about 10 warnings "Unknown image data format".
VZ> NB> The problem is, I have to press OK 10 times. Is it possible to display warning in status bar only?
VZ> NB> I quickly grepped for "Unknown image data format" in M sources, but didn't find it.
VZ> 
VZ>  Hi,
VZ> 
VZ>  I don't see any images at all, probably because I didn't turn on the
VZ> option to show all the images in HTML automatically, but I do know where
VZ> this message comes from: wxImage::LoadFile().
VZ> 
VZ>  I do not understand why is it shown immediately instead of being flushed
VZ> out during the next event loop iteration though, as wxLog messages are
VZ> supposed to be. I suspect it has something to do with progress bar being
VZ> shown while the next images are being downloaded or something like that.
VZ> If so, the simplest fix would be to use wxLogNull around LoadFile() calls
(Continue reading)

Nerijus Baliunas | 12 Dec 00:16 2014
Picon
Picon

compile error

Hello,

I've just upgraded to Fedora 11, which has gcc 4.9.2. wx 3.1 trunk compiled OK,
but M fails:

make[1]: Entering directory '/a/M/M.build.gtk3.31/src'
c++ -I/a/M/M.build.gtk3.31/include -I/a/M/M/include -DNO_IDEA -DNO_DSA -DOPENSSL_NO_KRB5  -DDEBUG
-DDEBUG_nerijus -I/a/M/wxWindows.31/build.gtk3/lib/wx/include/gtk3-unicode-3.1
-I/a/M/wxWindows.31/wxWidgets/include -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__
-I/a/M/M.build.gtk3.31/lib/imap/c-client -I/a/M/M/lib/compface -I/a/M/M/src/wx/vcard
-fno-exceptions -fno-operator-names -pthread   -g3 -O0 -MMD -Wall -Wextra -Wno-unused-parameter
-Wno-missing-field-initializers -MMD -MF ../include/Mpch.d -o ../include/Mpch.h.gch .src/../include/Mpch.h
In file included from /a/M/wxWindows.31/wxWidgets/include/wx/platform.h:553:0,
                 from /a/M/wxWindows.31/wxWidgets/include/wx/defs.h:20,
                 from .src/../include/Mconfig.h:29,
                 from .src/../include/Mpch.h:14:
/a/M/wxWindows.31/wxWidgets/include/wx/chkconf.h:314:9: error: #error
"wxUSE_STD_CONTAINERS_COMPATIBLY must be defined, please read comment near the top of this file."
 #       error "wxUSE_STD_CONTAINERS_COMPATIBLY must be defined, please read comment near the top of this file."
         ^
Makefile:77: recipe for target '../include/Mpch.h.gch' failed
make[1]: *** [../include/Mpch.h.gch] Error 1

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
(Continue reading)

Nerijus Baliunas | 4 Sep 16:13 2014
Picon
Picon

git

Hi,

how do I commit with git? IIRC it used to work git commit -m "..."
but now it says:

$ git commit -m "fix wxQt compilation"
On branch master
Your branch is up-to-date with 'origin/master'.

Changes not staged for commit:
	modified:   wxllist.h

no changes added to commit

Regards,
Nerijus

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
Nerijus Baliunas | 13 Mar 16:51 2014
Picon
Picon

compile error without wxTYPE_SA_HANDLER

Hello,

my own compiled wx has '#define wxTYPE_SA_HANDLER int' in setup.h,
but Fedora wxGTK3-devel package has /* #undef wxTYPE_SA_HANDLER */
in setup.h. Because of this M does not compile with Fedora wx:

.src/mail/MailFolderCC.cpp:91:53: error: variable or field ‘sigpipe_handler’ declared void
    extern "C" void sigpipe_handler(wxTYPE_SA_HANDLER)
                                                     ^
.src/mail/MailFolderCC.cpp:91:36: error: ‘wxTYPE_SA_HANDLER’ was not declared in this scope
    extern "C" void sigpipe_handler(wxTYPE_SA_HANDLER)

Regards,
Nerijus

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developers <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Gmane