×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    33

    RThread.Resume crash

    Hello,
    anybody has an idea what's wrong with following code:
    ----
    _LIT(KThreadName,"mytesthellothread");
    threadObj.Create(
    KThreadName,
    (TThreadFunction)CHelloWorldBasicAppUi::threadFunc,
    0x5000,1000000,2000000,(TAny*)NULL
    );
    threadObj.Resume();
    ----

    It runs ok on emulator but crashes on device (crashes on Resume() afaik - threadFunc never called)
    Symbian 9.1, Series60 SDKv3, GCC-E target

    [edit] problematic heap min- and maxsize argument values.Solved.

    Ahti.
    Last edited by ahti123; 2006-04-12 at 14:48.

  2. #2
    Registered User
    Join Date
    Apr 2005
    Location
    Barcelona
    Posts
    1,678

    Re: RThread.Resume crash

    Side comment: You should always check the return value of Create()

Similar Threads

  1. N90 - sever crash issue
    By dittostudios in forum Mobile Java General
    Replies: 12
    Last Post: 2006-06-07, 16:24
  2. Crash when using AknCommonDialogs class
    By ramis55 in forum Symbian C++
    Replies: 0
    Last Post: 2005-04-27, 12:35
  3. device crash
    By pranavdesai1 in forum Mobile Java General
    Replies: 0
    Last Post: 2004-02-17, 16:48
  4. HELP - RCall - Dial voice number crash
    By cmryan in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2004-02-13, 14:53
  5. 7250i Wallpaper/GoTo Crash
    By digital_sin in forum General Development Questions
    Replies: 1
    Last Post: 2004-01-22, 15:13

Posting Permissions

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