This is a migrated thread and some comments may be shown as answers.

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

6 Answers 74 Views
DragAndDrop
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Ziev
Top achievements
Rank 1
Ziev asked on 24 May 2012, 05:37 PM
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.

6 Answers, 1 is accepted

Sort by
0
Nick
Telerik team
answered on 28 May 2012, 03:12 PM
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 >>

0
Oded
Top achievements
Rank 1
answered on 28 May 2012, 03:42 PM
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
0
Ziev
Top achievements
Rank 1
answered on 28 May 2012, 04:06 PM
Hi again,

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

Thanks again,
Ziev
0
Nick
Telerik team
answered on 29 May 2012, 02:01 PM
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 >>

0
Ziev
Top achievements
Rank 1
answered on 29 May 2012, 02:05 PM
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
0
Oded
Top achievements
Rank 1
answered on 21 Jun 2012, 07:38 AM
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
Tags
DragAndDrop
Asked by
Ziev
Top achievements
Rank 1
Answers by
Nick
Telerik team
Oded
Top achievements
Rank 1
Ziev
Top achievements
Rank 1
Share this question
or