×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Dec 2009
    Posts
    4

    [moved] falling to a random code when loading my dll (resulting kern-exec 3)

    Hi all!

    I'm trying to port CLAPACK to symbian using Open C/C++.
    This library results a large (3MB relelease / 9MB debug) dll. When I'm trying to load it from a small test application, it fall's into a random code (inside the dll) resulting "kern-exec 3"/"data abort exception".

    on-device debugger:
    - the caller method is unknown (one level stack trace)
    - If I place a breakpoint before the point where the exception is thrown, the program does not stop here, it throws data abort exception again

    The test app runs fine in the emulator. What might be the problem?
    Is it possible to port such a large library?


    Here is the MMP of the dll:

    /*
    ============================================================================
    Name : clapack.mmp
    Author :
    Copyright :
    Description : This is the project specification file for clapack.
    ============================================================================
    */

    TARGET clapack.dll
    TARGETTYPE dll
    UID 0x1000008e 0xE8570609

    EPOCALLOWDLLDATA

    USERINCLUDE ..\inc
    SYSTEMINCLUDE \epoc32\include
    SYSTEMINCLUDE \epoc32\include\stdapis
    SYSTEMINCLUDE \epoc32\include\stdapis\sys
    SYSTEMINCLUDE \epoc32\include\stdapis\stlport
    SYSTEMINCLUDE \epoc32\include\stdapis\stlport\stl


    LIBRARY libstdcpp.lib
    LIBRARY libc.lib
    LIBRARY libpthread.lib
    LIBRARY euser.lib
    LIBRARY estlib.lib


    MACRO INTEGER_STAR_8
    MACRO NO_BLAS_WRAP

    STATICLIBRARY libf2c.lib
    STATICLIBRARY blas.lib

    nostrictdef


    #ifdef ENABLE_ABIV2_MODE
    DEBUGGABLE_UDEBONLY
    #endif
    SOURCEPATH ..\src
    SOURCE __merged.c

    CAPABILITY ReadUserData

    EPOCSTACKSIZE 0x8000
    Last edited by klapancius; 2010-01-10 at 13:25.

Similar Threads

  1. Problem in loading a Static DLL
    By urskvkrishna in forum Symbian
    Replies: 4
    Last Post: 2008-02-29, 11:02
  2. DLL Capability issues
    By sid.baral84 in forum Symbian
    Replies: 8
    Last Post: 2006-12-13, 05:19
  3. problems displaying video
    By gorsken in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2006-06-21, 17:18

Posting Permissions

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