Drag and Drop with Elevated Trust = Crash on SL5 in Mac

7 posts, 0 answers
  1. Ziev
    Ziev avatar
    10 posts
    Member since:
    Oct 2011

    Posted 24 May 2012 Link to this post

    Hi,

    I've created a simple Silverlight application, which runs OOB with elevated trust.
    It contains the simplest RadGridView (also happens with RadTreeView) populated with some plain data.

    When I run it on a Mac in OOB mode and I start to drag an item, the program stops responding immediately and crashes after ~5 seconds.

    * Mac configuration:

    Model: iMac4,1, BootROM IM41.0055.B08, 2 processors, Intel Core Duo, 1.83 GHz, 1 GB

    Graphics: kHW_ATIr520Item, ATY,RadeonX1600, spdisplays_pcie_device, 128 MB

    Memory Module: global_name

    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x89), Broadcom BCM43xx 1.0 (5.10.91.21)

    Bluetooth: Version 2.1.9f10, 2 service, 1 devices, 1 incoming serial ports

    Network Service: Built-in Ethernet, Ethernet, en0

    Serial ATA Device: Maxtor 6L160M0, 152.67 GB

    Parallel ATA Device: MATSHITADVD-R   UJ-846

    USB Device: Built-in iSight, (null) mA

    USB Device: Optical USB Mouse, (null) mA

    USB Device: Hub in Apple Extended USB Keyboard, (null) mA

    USB Device: Apple Extended USB Keyboard, (null) mA

    USB Device: Bluetooth USB Host Controller, (null) mA

    USB Device: IR Receiver, (null) mA


    * Mac's log outpu ("problem details")t:

    Process:         Silverlight [36585]

    Path:            /Users/araxilab/Downloads/ListBoxDragReorder Application.app/Contents/MacOS/Silverlight

    Identifier:      3989706493.pgyk2

    Version:         ??? (1.0)

    Code Type:       X86 (Native)

    Parent Process:  launchd [80]

     

    Interval Since Last Report:          29885 sec

    Crashes Since Last Report:           28

    Per-App Interval Since Last Report:  -395 sec

    Per-App Crashes Since Last Report:   28

     

    Date/Time:       2012-05-24 19:28:02.143 -0700

    OS Version:      Mac OS X 10.5.8 (9L31a)

    Report Version:  6

    Anonymous UUID:  A43923ED-58A2-4FE6-A057-EC0FD6241032

     

    Exception Type:  EXC_BAD_ACCESS (SIGBUS)

    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000

    Crashed Thread:  0



    * Note that the only configuration where it happens is: Mac + OOB + Elevated Trust (change any parameter => no problem).

    * Also note that on the toolkit controls we don't encounter any drag&drop similar issue.

    This is VERY CRUCIAL to our development.
    I couldn't upload a zip file (not allowed extension), otherwise I could upload the zipped solution.

    Thanks in advance,
    Ziev W.
  2. Nick
    Admin
    Nick avatar
    593 posts

    Posted 28 May 2012 Link to this post

    Hi Ziev,

    Unfortunately you have hit a limitation of our controls. It seems, however, that this is more a framework related problem. Even though general drag & drop scenarios are supported in SL under MacOS, the scenario with Out of Browser Elevated trust applications is not supported at all. It seems that the source of the issue is the COM communication under the Apple OS. You can read more about it here.

    Hope this clarifies the issue! 

    Greetings,
    Nik
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. DevCraft banner
  4. Oded
    Oded avatar
    4 posts
    Member since:
    Feb 2012

    Posted 28 May 2012 Link to this post

    Hello Nik,
    and thanks for your reply and info.

    I don't think that the source you referred to is relevant here, as everything works fine for us in any browser, and only in OOB mode with elevated trust the problem occurs.
    Besides, I don't believe any COM communication is involved as the drag-drop operation is all between components inside our application.

    And most of all, the same app works just fine in the SL4 environment and only started to act badly when we upgraded to SL5.

    Should I open a support ticket on this issue and submit my sample solution?
    I hope it will help you guys to simulate it and have a decent research for the difference between SL4 and SL5 versions.

    Thanks again,
    Ziev
  5. Ziev
    Ziev avatar
    10 posts
    Member since:
    Oct 2011

    Posted 28 May 2012 Link to this post

    Hi again,

    I've just opened a support ticket. Will update the thread if any progress is made.

    Thanks again,
    Ziev
  6. Nick
    Admin
    Nick avatar
    593 posts

    Posted 29 May 2012 Link to this post

    Hello Ziev,

    I replied to your ticket. We are currently investigating the issue and will keep you posted. 

    All the best,
    Nik
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  7. Ziev
    Ziev avatar
    10 posts
    Member since:
    Oct 2011

    Posted 29 May 2012 Link to this post

    Hi Nik,

    Thank you for the update.
    I'm aware of your reply and am keeping track of the ticket status.

    Thanks for your efforts,
    Ziev
  8. Oded
    Oded avatar
    4 posts
    Member since:
    Feb 2012

    Posted 21 Jun 2012 Link to this post

    Just to keep the thread updated for anyone's sake:

    Telerik's response to my support application was that it is a Microsoft bug, and they've opened them an issue.

    They implemented a workaround to this but it will not get into a "formal" version until Q3.
    So meanwhile if you have a proper license you can get it from their LIB (Latest Interlnal Build) releases. It is included in Q2 Hotfix build 620.

    I tested it and it works.

    Cheers,
    Ziev
Back to Top
DevCraft banner