Wireshark-dev: [Wireshark-dev] Wireshark crashes on OS X Sierra after using color dialog (was:
From: Peter Wu <peter@xxxxxxxxxxxxx>
Date: Tue, 18 Oct 2016 01:32:34 +0200
(+cc list in case people search for this issue)

Hi Roland,

The crash looks like a Qt bug, a possible workaround is posted in
https://bugreports.qt.io/browse/QTBUG-56448
-- 
Kind regards,
Peter Wu
https://lekensteyn.nl

On Mon, Oct 17, 2016 at 09:45:39PM +0200, Roland Knall wrote:
> Hi
> 
> The output and the backtrace are in the attached text file
> 
> 
> regards
> Roland

[..]
> Application Specific Information:
> Wireshark 2.3.0 (v2.3.0rc0-1065-g0ca501e from unknown)
>  
> Compiled (64-bit) with Qt 5.6.2, with libpcap, without POSIX capabilities, with
> GLib 2.50.0, with zlib 1.2.8, with SMI 0.5.0, with c-ares 1.10.0, with Lua
> 5.2.3, with GnuTLS 3.4.15, with Gcrypt 1.7.3, with MIT Kerberos, with GeoIP,
> without nghttp2, with QtMultimedia, without AirPcap.
>  
> Running on Mac OS X 10.12, build 16A320 (Darwin 16.0.0), with       Intel(R)
> Core(TM) i7-3720QM CPU @ 2.60GHz (with SSE4.2), with 16384 MB of physical
> memory, with locale de_AT.UTF-8, with libpcap version 1.7.4 - Apple version 67,
> with GnuTLS 3.4.15, with Gcrypt 1.7.3, with zlib 1.2.8.
>  
> Built using clang 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38).
>  
> =================================================================
> ==8433==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7fffbc2ac9b0 bp 0x7fff57ee4f20 sp 0x7fff57ee4f10 T0)
> ==8433==atos returned an error: An admin user name and password is required to enter Developer Mode.
>     #0 0x7fffbc2ac9af in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) (/usr/lib/libc++.1.dylib+0x3d9af)
>     #1 0x7fffbbe9efb4  (/usr/lib/libFosl_dynamic.dylib+0x3fb4)
>     #2 0x7fffbbe9f9eb  (/usr/lib/libFosl_dynamic.dylib+0x49eb)
>     #3 0x7fffbbe9fc0b  (/usr/lib/libFosl_dynamic.dylib+0x4c0b)
>     #4 0x7fffbbf69f22 in fosl_astPrintReachable (/usr/lib/libFosl_dynamic.dylib+0xcef22)
>     #5 0x7fffbbf6f56d in fosl_filter_createGraph (/usr/lib/libFosl_dynamic.dylib+0xd456d)
>     #6 0x7fffa91b0fda in CI::FoslAdapter::FoslAdapter(CI::Context const*, CI::ProgramNode const*, CI::SerialIntArray*, CI::SerialStringArray*, CI::SerialObjectPtrArray*) (/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage+0x102fda)
>     #7 0x7fffa91b049e in CI::ShaderBuilder::ShaderBuilder(CI::Context const*, CI::Node const*, CI::ProgramNode const*, CI::SerialIntArray*, CI::SerialStringArray*, CI::SerialObjectPtrArray*) (/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage+0x10249e)
>     #8 0x7fffa9186e5a in CI::ProgramNode::create_program_and_arguments(CI::Context*, char const*) (/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage+0xd8e5a)
>     #9 0x7fffa9186056 in CI::ProgramNode::build_program_graph(CI::Node*, CI::Context*, CI::NodeToNodeMap&, bool) (/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage+0xd8056)
>     #10 0x7fffa90decc6 in CI::Node::program_graph(CI::Context*, CI::NodeToNodeMap&, bool) (/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage+0x30cc6)
>     #11 0x7fffa90edd54 in CI::make_program_graph_if_renderable(CI::Context*, char const*, CI::Node*, CGRect const&, CI::swizzle_info const&, char*, unsigned long) (/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage+0x3fd54)
>     #12 0x7fffa90ed2bc in CI::create_cgimage(CI::Context*, CI::Image*, CGRect, CGColorSpace*, CI::PixelFormat, bool, unsigned long) (/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage+0x3f2bc)
>     #13 0x7fffa90d0799 in -[CIContext(Internal) _createCGImage:fromRect:format:colorSpace:deferred:textureLimit:] (/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage+0x22799)
>     #14 0x7fffa90cf59e in -[CIContext createCGImage:fromRect:format:colorSpace:] (/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage+0x2159e)
>     #15 0x7fffa90cf43d in -[CIContext createCGImage:fromRect:] (/System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage+0x2143d)
>     #16 0x7fffa66d9040 in -[NSBitmapImageRep initWithCIImage:] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+0x48c040)
>     #17 0x7fffa676149b in -[NSColorPickerWheelView _compositeImage] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+0x51449b)
>     #18 0x7fffa6761a41 in -[NSColorPickerWheelView viewDidChangeBackingProperties] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+0x514a41)
>     #19 0x7fffa62b0e06 in _NSViewHierarchyDidChangeBackingProperties (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+0x63e06)
>     #20 0x7fffa6273065 in -[NSView addSubview:] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+0x26065)
>     #21 0x7fffa62ae742 in -[NSFrameView addSubview:] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+0x61742)
>     #22 0x7fffa62ae706 in -[NSThemeFrame addSubview:] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+0x61706)
>     #23 0x7fffa62ae33f in -[NSView addSubview:positioned:relativeTo:] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+0x6133f)
>     #24 0x7fffa6a509c4 in -[NSThemeFrame addSubview:positioned:relativeTo:] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+0x8039c4)
>     #25 0x7fffa62ae259 in -[NSThemeFrame _addKnownSubview:positioned:relativeTo:] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+0x61259)
>     #26 0x7fffa62d6132 in -[NSWindow setContentView:] (/System/Library/Frameworks/AppKit.framework/Versions/C/AppKit+0x89132)
>     #27 0x1208eda32 in qt_plugin_instance (/Users/rknall/Development/Qt/5.6/clang_64/plugins/platforms/libqcocoa.dylib+0x37a32)
>     #28 0x1208ed3ee in qt_plugin_instance (/Users/rknall/Development/Qt/5.6/clang_64/plugins/platforms/libqcocoa.dylib+0x373ee)
>     #29 0x1208ee881 in qt_plugin_instance (/Users/rknall/Development/Qt/5.6/clang_64/plugins/platforms/libqcocoa.dylib+0x38881)
>     #30 0x7fffbd764197 in __cxa_finalize_ranges (/usr/lib/system/libsystem_c.dylib+0x60197)
>     #31 0x7fffbd7644d1 in exit (/usr/lib/system/libsystem_c.dylib+0x604d1)
>     #32 0x7fffbd6cf25b in start (/usr/lib/system/libdyld.dylib+0x525b)
>  
> AddressSanitizer can not provide additional info.
> SUMMARY: AddressSanitizer: SEGV (/usr/lib/libc++.1.dylib+0x3d9af) in std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::operator=(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
> ==8433==ABORTING