On Fri, 8 Aug 2008 01:58:17 +0200 Vadim Zeitlin <[EMAIL PROTECTED]> wrote:

VZ> NB> I used to get it earlier but never reported it AFAIR. On Unix text files
VZ> NB> should be inserted not as is, but with every LF converted to CR LF.
VZ> 
VZ>  Should be fixed now, thanks,

When I attach a 7 bit text file, send it to myself and then try to right click->
"View as text" the received attachment, I get an assert:
../wxWidgets/src/common/strconv.cpp(1140): assert "wxAssertFailure" failed in 
FromWChar(): trying to encode undefined Unicode character
(gdb) bt
#0  0xb7ff5416 in __kernel_vsyscall ()
#1  0x0069aff0 in raise () from /lib/libpthread.so.0
#2  0xb7807194 in wxTrap () at ../wxWidgets/src/common/appbase.cpp:813
#3  0xb7b1ac75 in wxGUIAppTraits::ShowAssertDialog (this=0x9b04070, [EMAIL 
PROTECTED])
    at ../wxWidgets/src/gtk/utilsgtk.cpp:409
#4  0xb78075ce in ShowAssertDialog ([EMAIL PROTECTED], nLine=1140, [EMAIL 
PROTECTED], 
    [EMAIL PROTECTED], [EMAIL PROTECTED], traits=0x9b04070)
    at ../wxWidgets/src/common/appbase.cpp:1047
#5  0xb78086d6 in wxAppConsoleBase::OnAssertFailure (this=0x9b149e8, 
file=0x9f5bcfc, line=1140, 
    func=0x9f07adc, cond=0x9f15db4, msg=0x9f5ad3c) at 
../wxWidgets/src/common/appbase.cpp:569
#6  0xb7ae55cc in wxApp::OnAssertFailure (this=0x9b149e8, file=0x9f5bcfc, 
line=1140, 
    func=0x9f07adc, cond=0x9f15db4, msg=0x9f5ad3c) at 
../wxWidgets/src/gtk/app.cpp:575
#7  0xb7807796 in wxDoOnAssert ([EMAIL PROTECTED], nLine=1140, [EMAIL 
PROTECTED], 
    [EMAIL PROTECTED], [EMAIL PROTECTED]) at 
../wxWidgets/src/common/appbase.cpp:849
#8  0xb7807911 in wxOnAssert (szFile=0xb792e430 
"../wxWidgets/src/common/strconv.cpp", nLine=1140, 
    szFunc=0xb792e9f4 "FromWChar", szCond=0xb792e420 "wxAssertFailure", 
szMsg=0xb792e454)
    at ../wxWidgets/src/common/appbase.cpp:921
#9  0xb78947c2 in wxMBConvStrictUTF8::FromWChar (this=0xbf8f2ed4, dst=0x0, 
dstLen=0, 
    src=0x9f450dc, srcLen=1) at ../wxWidgets/src/common/strconv.cpp:1140
#10 0xb789483a in wxMBConvUTF8::FromWChar (this=0xbf8f2ed4, buf=0x0, n=0, 
psz=0x9f450dc, srcLen=12)
    at ../wxWidgets/src/common/strconv.cpp:1314
#11 0xb7899a12 in wxMBConv::cWC2MB (this=0xbf8f2ed4, inBuff=0x9f450dc, 
inLen=12, outLen=0x0)
    at ../wxWidgets/src/common/strconv.cpp:460
#12 0xb78a39e3 in wxString::mb_str (this=0xbf8f3030, [EMAIL PROTECTED])
    at ../wxWidgets/src/common/string.cpp:425
#13 0xb7ae0ea0 in wxString::utf8_str (this=0xbf8f3030) at 
../wxWidgets/include/wx/string.h:1324
#14 0xb7b18ced in wxTopLevelWindowGTK::Create (this=0x9f9b500, 
parent=0x9b8a198, id=-1, 
    [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED], style=537401408, 
[EMAIL PROTECTED])
    at ../wxWidgets/src/gtk/toplevel.cpp:544
#15 0xb7b68db0 in wxDialog::Create (this=0x9f9b500, parent=0x9b8a198, id=-1, 
[EMAIL PROTECTED], 
    [EMAIL PROTECTED], [EMAIL PROTECTED], style=537401408, [EMAIL PROTECTED])
    at ../wxWidgets/src/gtk/dialog.cpp:59
#16 0xb7b68ece in wxDialog (this=0x9f9b500, parent=0x9b8a198, id=-1, [EMAIL 
PROTECTED], 
    [EMAIL PROTECTED], [EMAIL PROTECTED], style=536877120, [EMAIL PROTECTED])
    at ../wxWidgets/src/gtk/dialog.cpp:46
#17 0x081c70ee in MTextDialog (this=0x9f9b500, parent=0x9b8a198, [EMAIL 
PROTECTED], 
    [EMAIL PROTECTED], configPath=0x8348139 "MimeView") at 
.src/gui/wxTextDialog.cpp:134
#18 0x081c7832 in MDialog_ShowText (parent=0x9b8a198, title=0xbf8f3130, 
text=0xbf8f3138, 
    configPath=0x8348139 "MimeView") at .src/gui/wxTextDialog.cpp:364
#19 0x080c8a38 in MessageView::MimeViewText (this=0x9d7fac8, mimepart=0x9d7a800)
    at .src/classes/MessageView.cpp:3632
#20 0x080eea49 in MimePopup::OnCommandEvent (this=0xbf8f40ec, [EMAIL PROTECTED])
    at .src/gui/ClickAtt.cpp:97

then a crash after continuing.

Regards,
Nerijus

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mahogany-Developers mailing list
Mahogany-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mahogany-developers

Reply via email to