Re: crash when sending attached TEXT/PLAIN file
Nerijus Baliunas <[email protected]> Fri, 8 Aug 2008 03:36:25 +0300
| Newsgroups | gmane.mail.mahogany.devel |
|---|---|
| Message-ID | <[email protected]> |
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, msg=@0xbf8f2b7c) at ../wxWidgets/src/gtk/utilsgtk.cpp:409 #4 0xb78075ce in ShowAssertDialog (szFile=@0xbf8f2c74, nLine=1140, szFunc=@0xbf8f2c6c, szCond=@0xbf8f2c64, szMsg=@0xbf8f2c5c, 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 (szFile=@0xbf8f2d94, nLine=1140, szFunc=@0xbf8f2d8c, szCond=@0xbf8f2d84, szMsg=@0xbf8f2d7c) 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, conv=@0xbf8f2ed4) 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, title=@0xbf8f3030, pos=@0x846fac0, sizeOrig=@0x846fa50, style=537401408, name=@0xbf8f3028) at ../wxWidgets/src/gtk/toplevel.cpp:544 #15 0xb7b68db0 in wxDialog::Create (this=0x9f9b500, parent=0x9b8a198, id=-1, title=@0xbf8f3030, pos=@0x846fac0, size=@0x846fa50, style=537401408, name=@0xbf8f3028) at ../wxWidgets/src/gtk/dialog.cpp:59 #16 0xb7b68ece in wxDialog (this=0x9f9b500, parent=0x9b8a198, id=-1, title=@0xbf8f3030, pos=@0x846fac0, size=@0x846fa50, style=536877120, name=@0xbf8f3028) at ../wxWidgets/src/gtk/dialog.cpp:46 #17 0x081c70ee in MTextDialog (this=0x9f9b500, parent=0x9b8a198, title=@0xbf8f30ec, text=@0xbf8f30f4, 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, event=@0xbf8f3300) 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=/