Discussion Board

Results 1 to 3 of 3

Threaded View

  1. #1
    Registered User
    Join Date
    Nov 2008

    Belle and sending message attachment

    Not sure if anyone can help but I have run out of ideas.

    Just updated to Carbide 3.2 (then auto update to 3.3) and Bell SDK 1.0 in order to develop on Symbian Belle. Was previously using Carbide 2.7 and Symbian3 SDK 1.0 and all was OK.

    My application uses SendAs to send an SMTP email with file attachment. When I compile using SBSv2 and GCCE (was previously SBSv1) and run on an N8 device (updated to the latest Belle) I get an "Application Closed: Main KERN-EXEC3" error and the SendAs RunL returns an error -15 (Server Terminated).

    Now, Main is the not the name of my application and my application continues to run so I am not sure what routine exactly has terminated. Presumably it is the SendAs server(?) Note I have used a zero ErrRd file to ensure the panic is displayed.

    Here is where it gets strange: If I run using on device debugging (via CODA) it runs fine! No crashes, attachment is attached and email is sent and received.

    Needless to say this makes debugging that much harder. Can anyone point me in a positive direction? Help appreciated

    For reference the Belle SDK gives numerous warnings...and it would be nice to clear these...

    HTML Code:
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/mw/extendedconnpref.h:334: warning: extra tokens at end of #endif directive
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/e32des8.h:230: note: the mangling of 'va_list' has changed in GCC 4.4
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/platform/d32locd.h:219: warning: invalid access to non-static data member 'TLocalDriveCaps::iSize'  of NULL object
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/platform/d32locd.h:219: warning: (perhaps the 'offsetof' macro was used incorrectly)
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/platform/d32locd.h:220: warning: invalid access to non-static data member 'TLocalDriveCapsV3::iFormatInfo'  of NULL object
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/platform/d32locd.h:220: warning: (perhaps the 'offsetof' macro was used incorrectly)
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/e32event.h:271: warning: dereferencing type-punned pointer will break strict-aliasing rules
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/e32event.h:437: warning: dereferencing type-punned pointer will break strict-aliasing rules
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/f32file.h:2284: warning: invalid access to non-static data member 'TVolFormatParam::iUId'  of NULL object
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/f32file.h:2284: warning: (perhaps the 'offsetof' macro was used incorrectly)
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/mw/msvstd.inl:424: warning: suggest parentheses around arithmetic in operand of '|'
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/openfont.h:2463: warning: invalid access to non-static data member 'CShaperFactory::iDtor_ID_Key'  of NULL object
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/openfont.h:2463: warning: (perhaps the 'offsetof' macro was used incorrectly)
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/biditext.h:25: warning: declaration 'enum CGraphicsContext::TTextAlign' does not declare anything
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/s32stor.inl:81:   instantiated from here
    C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/include/e32cmn.inl:2645: warning: dereferencing type-punned pointer will break strict-aliasing rules
    c:/progra~1/codeso~1/source~1/bin/../lib/gcc/arm-none-symbianelf/4.4.1/../../../../arm-none-symbianelf/bin/ld.exe: warning: C:/Nokia/devices/Nokia_Symbian_Belle_SDK_v1.0/epoc32/release/armv5/urel/usrt3_1.lib(ucppinit.o) uses variable-size enums yet the output is to use 32-bit enums; use of enum values across objects may fail
    I can also add, if I disable the line that adds the attachment the email, it sends fine without crashing. The attachment is a linked file and I know this exists prior to sending as it is deleted after a successful send.
    Last edited by david4x; 2012-12-31 at 08:55. Reason: more info

Similar Threads

  1. Replies: 4
    Last Post: 2010-03-18, 23:42
  2. Replies: 8
    Last Post: 2009-06-25, 09:56
  3. 3rd: examples about sending emails with attachment
    By andzab in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2009-01-20, 09:26
  4. Get outgoing message attachment
    By zhengyu97 in forum Symbian
    Replies: 0
    Last Post: 2005-04-21, 14:09
  5. Save an attachment of a message
    By elena_santander in forum Bluetooth Technology
    Replies: 0
    Last Post: 2003-11-20, 09:39

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts