Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

tbb 4.4, osx, OpenSubdiv - crash

Pawel_P_
Beginner
282 Views

 

Hi - my build of Opensubdiv with tbb 4.4 (actually - same for 4,3) most of the time ends up with crash (at start):

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)

Exception Codes: KERN_INVALID_ADDRESS at 0x00007ff6e57ffff8

VM Regions Near 0x7ff6e57ffff8:
    MALLOC_TINY            00007ff6e5000000-00007ff6e5100000 [ 1024K] rw-/rwx SM=PRV  
--> 
    MALLOC_SMALL           00007ff6e5800000-00007ff6e6000000 [ 8192K] rw-/rwx SM=PRV  

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libtbbmalloc.dylib                0x000000010713c108 __TBB_malloc_safer_msize + 40
1   libsystem_malloc.dylib            0x00007fff87c67f24 free + 64
2   libobjc.A.dylib                   0x00007fff8e31937b cache_collect + 180
3   libobjc.A.dylib                   0x00007fff8e319637 cache_fill + 138
4   libobjc.A.dylib                   0x00007fff8e31f399 lookUpImpOrForward + 495
5   libobjc.A.dylib                   0x00007fff8e312169 objc_msgSend + 233
6   com.apple.AppKit                  0x00007fff857e70c5 -[NSView initWithFrame:] + 486
7   com.apple.AppKit                  0x00007fff857f6d63 -[NSControl initWithFrame:] + 188
8   com.apple.AppKit                  0x00007fff857f6c1c -[NSButton initWithFrame:] + 82
9   com.apple.AppKit                  0x00007fff857f69a4 -[_NSThemeWidget initWithButtonID:] + 243
10  com.apple.AppKit                  0x00007fff857ffd55 +[_NSThemeWidget widgetInView:withButtonID:action:] + 63
11  com.apple.AppKit                  0x00007fff857f653e +[NSWindow standardWindowButton:forStyleMask:] + 1257
12  com.apple.AppKit                  0x00007fff857ffe38 -[NSThemeFrame newMiniaturizeButton] + 84
13  com.apple.AppKit                  0x00007fff857f53d1 -[NSThemeFrame _updateButtons] + 704
14  com.apple.AppKit                  0x00007fff857f3e47 -[NSThemeFrame initWithFrame:styleMask:owner:] + 144
15  com.apple.AppKit                  0x00007fff857f2305 -[NSWindow _commonInitFrame:styleMask:backing:defer:] + 631
16  com.apple.AppKit                  0x00007fff857f1882 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1054
17  com.apple.AppKit                  0x00007fff857f1458 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 45
18  libglfw.3.dylib                   0x0000000106f5a4da _glfwPlatformCreateWindow + 347
19  libglfw.3.dylib                   0x0000000106f572ec glfwCreateWindow + 443
20  glViewer                          0x0000000106cce53f main + 6895
21  libdyld.dylib                     0x00007fff8c61a5fd start + 1

 

Any help for this - anyone had this problem?

 

Regards

Pawel

 

0 Kudos
2 Replies
Vladimir_P_1234567890
282 Views

Hello Pawel,

It looks like a problem which is being discussed in this thread https://software.intel.com/en-us/forums/intel-threading-building-blocks/topic/549929

--Vladimir

0 Kudos
Vladimir_P_1234567890
282 Views

hello Pawel, 

we have published the tbb44_20150928oss development release with a few improvements in this regard. Could you check whether the problem has been fixed for your case?

https://www.threadingbuildingblocks.org/download#development-releases

--Vladimir

0 Kudos
Reply