< Back to IRCAM Forum

Bug "Drag and drop"

Hello,

I was drugging a number box and suddenly OM is crashed.

The message I have in the Terminal is:

Error: Segmentation violation(11) [code 0] at 964F3182

eax 77006F00 ; ebx 587C60 ; ecx BFFFDB10 ; edx AC6DA724

esp BFFFDAB0 ; ebp BFFFDAE8 ; esi 964F317E ; edi 77006F00

1 (abort) Quit process.

Type :b for backtrace or :c to proceed.

Type :bug-form “” for a bug report template or :? for other options.

OpenMusic 1 : 1 > read failed 0 35 copy stdoutlogout

 

It’s not the first time it happens. I understand that it is a bug, but it’s quite annoying…

G

Hi Giuliano,

As you said, this looks like a known bug, for which we do not have a real explanation or solution for the moment.

I have had few user reports of this, but all have in common to happen after an system upgrade to OSX Lion or Snow Lion. Is it you case ?

The crash is usually a heavy one, of which you can not escape except using the “force quit” command.

I personally noticed that it tended to happen at the first OM run in an OSX session, and then was less likely to happen again.

  • Maybe this thread in the user group could be a way of getting more feedback from other users, and evaluate more precisely the conditions and causes of this bug.

Best,

 

 

 

Hi Jean,

 

thank you.

Actually it happened not only during the first sessions in OSX. I am using OM on a new computer, and I started straight from Lyon, so any update occurred.

But maybe it’s because the patches I am working with were created with a “before Intel” OM?

G.

 

So you mean you did not experience any crash again since you changed your computer + Lion ?

I don’t think this can be related to the date of creation of the patches: this would happen also with newer ones.

Jean

 

No I mean that I didn’t upgrade my OS to Lion, so OM crashes independently from the change of the operative system.

 

Hello,

I’m getting a crash on random drag and drop operations on Mountain Lion

when dragging any objects.

I’ve tried to replicate this, but it is very unpredicatable. It doesn’t appear to depend on graphics configuration (intel/nvidia), or which space OM is running in.

Thanks!

can provoke a crash on osx 10.8.4

Process: OM 6.6.2 [1575]

Path: /Applications/OM 6.6.2/OM 6.6.2.app/Contents/MacOS/OM 6.6.2

Identifier: ircam.openmusic

Version: 6.6.2 (6.6.2)

Code Type: X86 (Native)

Parent Process: launchd [140]

User ID: 501

Date/Time: 2013-08-05 19:16:18.741 +0100

OS Version: Mac OS X 10.8.4 (12E55)

Report Version: 10

Interval Since Last Report: 682440 sec

Crashes Since Last Report: 5

Per-App Interval Since Last Report: 198845 sec

Per-App Crashes Since Last Report: 3

Anonymous UUID: C19C0638-8EBE-17E6-8B4E-975F2218F218

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BREAKPOINT (SIGTRAP)

Exception Codes: 0x0000000000000002, 0x0000000000000000

Application Specific Information:

*** Unable to insert wake up port into port set. (15) ***

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread

0 com.apple.CoreFoundation 0x9869f3c2 __CFRunLoopFindMode + 770

1 com.apple.CoreFoundation 0x986b69c5 CFRunLoopAddTimer + 293

2 com.apple.HIServices 0x972d50f7 StartIPCPing + 215

3 com.apple.HIToolbox 0x944fbf95 __DragInfoPtrSetValueForKey + 74

4 com.apple.HIToolbox 0x944fbf46 __CoreDragSetValueForKey + 60

5 com.apple.AppKit 0x919ef452 -[NSDragDestination setDraggingFormation:] + 35

6 com.apple.AppKit 0x919efef3 __50-[NSDragDestination _resetUpdateDraggingItemTimer]_block_invoke_0 + 167

7 libdispatch.dylib 0x998e8f8f _dispatch_call_block_and_release + 15

8 libdispatch.dylib 0x998e4c82 _dispatch_client_callout + 46

9 libdispatch.dylib 0x998e9b97 _dispatch_after_timer_callback + 28

10 libdispatch.dylib 0x998e4c82 _dispatch_client_callout + 46

11 libdispatch.dylib 0x998e7007 _dispatch_source_invoke + 699

12 libdispatch.dylib 0x998e600a _dispatch_queue_invoke + 66

13 libdispatch.dylib 0x998ea2af _dispatch_main_queue_callback_4CF + 171

14 com.apple.CoreFoundation 0x9869fc29 __CFRunLoopRun + 1961

15 com.apple.CoreFoundation 0x9869f01a CFRunLoopRunSpecific + 378

16 com.apple.CoreFoundation 0x9869ee8b CFRunLoopRunInMode + 123

17 com.apple.HIToolbox 0x94234f5a RunCurrentEventLoopInMode + 242

18 com.apple.HIToolbox 0x94234cc9 ReceiveNextEventCommon + 374

19 com.apple.HIToolbox 0x94234b44 BlockUntilNextEventMatchingListInMode + 88

20 com.apple.AppKit 0x9168093a _DPSNextEvent + 724

21 com.apple.AppKit 0x9168016c -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119

22 com.apple.AppKit 0x919f4a01 NSCoreDragBlockingProc + 118

23 com.apple.HIServices 0x972d6914 SampleMouseAndKeyboard + 106

24 com.apple.HIServices 0x972d65ec DragInApplication + 38

25 com.apple.HIServices 0x972d5b84 CoreDragStartDragging + 517

26 com.apple.AppKit 0x919f269e -[NSCoreDragManager _dragUntilMouseUp:accepted:] + 1221

27 com.apple.AppKit 0x919f3bdc -[NSCoreDragManager dragImage:fromWindow:at:offset:event:pasteboard:source:slideBack:] + 1384

28 com.apple.AppKit 0x91cfce74 -[NSWindow(NSDrag) dragImage:at:offset:event:pasteboard:source:slideBack:] + 142

29 com.apple.AppKit 0x91cfc339 -[NSView(NSDrag) dragImage:at:offset:event:pasteboard:source:slideBack:] + 152

30 ??? 0x2007334e 0 + 537342798

31 ??? 0x2153a0ef 0 + 559128815

32 ??? 0x2153752d 0 + 559117613

33 ??? 0x21536d94 0 + 559115668

34 ??? 0x212c9bb2 0 + 556571570

35 ??? 0x2086954f 0 + 545690959

36 ??? 0x2107a72b 0 + 554149675

37 ??? 0x20a3fbdd 0 + 547617757

38 ??? 0x2045b9a1 0 + 541440417

39 ??? 0x2045b9a1 0 + 541440417

40 ??? 0x20e1b292 0 + 551662226

41 ??? 0x20569128 0 + 542544168

42 ??? 0x20e1b93e 0 + 551663934

43 ??? 0x210e809c 0 + 554598556

44 ??? 0x210e87a3 0 + 554600355

45 ??? 0x20bc5af4 0 + 549214964

46 ??? 0x200745d3 0 + 537347539

47 ??? 0x212dcb77 0 + 556649335

48 ??? 0x2153a0ef 0 + 559128815

49 ??? 0x2153752d 0 + 559117613

50 ??? 0x212a3036 0 + 556412982

51 ??? 0x2032ae0d 0 + 540192269

52 ??? 0x20341ced 0 + 540286189

53 ??? 0x2033af63 0 + 540258147

54 ??? 0x216143b0 0 + 560022448

55 ??? 0x202b7c68 0 + 539720808

56 ??? 0x20392734 0 + 540616500

Hello,
This looks like a known problem which appeared already with the OSX Lion upgrade. We have not been able to understand its exact origin or provide a solution for the moment.
Best regards

Hi would you mind testing this ?
copy the attached lisp file into the OM6.9/patches/ folder
this should remove the phantom image while dragging objects, which I suspect might be responsible for the crashes.
please keep me posted.
Jean

disable-drag-image-om.lisp (271 Bytes)