Skip to content

Instantly share code, notes, and snippets.

@valenting
Created January 25, 2017 11:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save valenting/ae529b3ddb5ea5d207b5af593618e4d5 to your computer and use it in GitHub Desktop.
Save valenting/ae529b3ddb5ea5d207b5af593618e4d5 to your computer and use it in GitHub Desktop.
# Crash reproducer for clang version 3.8.1-12ubuntu1 (tags/RELEASE_381/final)
# Driver args: "--driver-mode=g++" "-std=gnu++11" "-fPIC" "-Qunused-arguments" "-Qunused-arguments" "-Wall" "-Wc++11-compat" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wloop-analysis" "-Wc++11-compat-pedantic" "-Wc++14-compat" "-Wc++14-compat-pedantic" "-Wc++1z-compat" "-Wimplicit-fallthrough" "-Werror=non-literal-null-conversion" "-Wstring-conversion" "-Wthread-safety" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-unknown-warning-option" "-Wno-return-type-c-linkage" "-fcolor-diagnostics" "-fno-exceptions" "-fno-strict-aliasing" "-fno-rtti" "-fno-exceptions" "-fno-math-errno" "-pthread" "-pipe" "-g" "-fno-omit-frame-pointer" "-Werror" "-pthread" "-Wno-error=shadow" "-fcolor-diagnostics" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dist/stl_wrappers" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dist/system_wrappers" "-include" "/home/icecold/mozilla-central/config/gcc_hidden.h" "-D" "DEBUG=1" "-D" "TRACING=1" "-D" "OS_POSIX=1" "-D" "OS_LINUX=1" "-D" "BIN_SUFFIX=\"\"" "-D" "MOZ_TOOLKIT_SEARCH" "-D" "STATIC_EXPORTABLE_JS_API" "-D" "MOZ_HAS_MOZGLUE" "-D" "MOZILLA_INTERNAL_API" "-D" "IMPL_LIBXUL" "-I" "/home/icecold/mozilla-central/dom/ipc" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dom/ipc" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/ipc/ipdl/_ipdlheaders" "-I" "/home/icecold/mozilla-central/ipc/chromium/src" "-I" "/home/icecold/mozilla-central/ipc/glue" "-I" "/home/icecold/mozilla-central/caps" "-I" "/home/icecold/mozilla-central/chrome" "-I" "/home/icecold/mozilla-central/docshell/base" "-I" "/home/icecold/mozilla-central/dom/base" "-I" "/home/icecold/mozilla-central/dom/devicestorage" "-I" "/home/icecold/mozilla-central/dom/events" "-I" "/home/icecold/mozilla-central/dom/filesystem" "-I" "/home/icecold/mozilla-central/dom/geolocation" "-I" "/home/icecold/mozilla-central/dom/media/webspeech/synth/ipc" "-I" "/home/icecold/mozilla-central/dom/security" "-I" "/home/icecold/mozilla-central/dom/storage" "-I" "/home/icecold/mozilla-central/dom/workers" "-I" "/home/icecold/mozilla-central/embedding/components/printingui/ipc" "-I" "/home/icecold/mozilla-central/extensions/cookie" "-I" "/home/icecold/mozilla-central/extensions/spellcheck/src" "-I" "/home/icecold/mozilla-central/gfx/2d" "-I" "/home/icecold/mozilla-central/hal/sandbox" "-I" "/home/icecold/mozilla-central/layout/base" "-I" "/home/icecold/mozilla-central/media/webrtc" "-I" "/home/icecold/mozilla-central/netwerk/base" "-I" "/home/icecold/mozilla-central/toolkit/crashreporter" "-I" "/home/icecold/mozilla-central/toolkit/xre" "-I" "/home/icecold/mozilla-central/uriloader/exthandler" "-I" "/home/icecold/mozilla-central/widget" "-I" "/home/icecold/mozilla-central/xpcom/base" "-I" "/home/icecold/mozilla-central/xpcom/threads" "-I" "/home/icecold/mozilla-central/modules/libjar" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dist/include" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dist/include/nspr" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dist/include/nss" "-D" "MOZILLA_CLIENT" "-include" "/home/icecold/mozilla-central/obj-ff-dbg/mozilla-config.h" "-I" "/home/icecold/mozilla-central/widget/gtk/compat-gtk3" "-I" "/usr/include/gtk-3.0/unix-print" "-I" "/usr/include/gtk-3.0" "-I" "/usr/include/at-spi2-atk/2.0" "-I" "/usr/include/at-spi-2.0" "-I" "/usr/include/dbus-1.0" "-I" "/usr/lib/x86_64-linux-gnu/dbus-1.0/include" "-I" "/usr/include/gtk-3.0" "-I" "/usr/include/gio-unix-2.0/" "-I" "/usr/include/mirclient" "-I" "/usr/include/mircommon" "-I" "/usr/include/mircookie" "-I" "/usr/include/cairo" "-I" "/usr/include/pango-1.0" "-I" "/usr/include/harfbuzz" "-I" "/usr/include/pango-1.0" "-I" "/usr/include/atk-1.0" "-I" "/usr/include/cairo" "-I" "/usr/include/pixman-1" "-I" "/usr/include/freetype2" "-I" "/usr/include/libpng16" "-I" "/usr/include/gdk-pixbuf-2.0" "-I" "/usr/include/libpng16" "-I" "/usr/include/glib-2.0" "-I" "/usr/lib/x86_64-linux-gnu/glib-2.0/include" "-c" "-o" "ContentChild.o" "/home/icecold/mozilla-central/dom/ipc/ContentChild.cpp"
# Original command: "/usr/lib/llvm-3.8/bin/clang" "-cc1" "-triple" "x86_64-pc-linux-gnu" "-emit-obj" "-mrelax-all" "-disable-free" "-disable-llvm-verifier" "-main-file-name" "ContentChild.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mdisable-fp-elim" "-relaxed-aliasing" "-masm-verbose" "-mconstructor-aliases" "-munwind-tables" "-fuse-init-array" "-target-cpu" "x86-64" "-dwarf-column-info" "-debug-info-kind=limited" "-dwarf-version=4" "-debugger-tuning=gdb" "-coverage-file" "/home/icecold/mozilla-central/obj-ff-dbg/dom/ipc/ContentChild.o" "-resource-dir" "/usr/lib/llvm-3.8/bin/../lib/clang/3.8.1" "-include" "/home/icecold/mozilla-central/config/gcc_hidden.h" "-include" "/home/icecold/mozilla-central/obj-ff-dbg/mozilla-config.h" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dist/stl_wrappers" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dist/system_wrappers" "-D" "DEBUG=1" "-D" "TRACING=1" "-D" "OS_POSIX=1" "-D" "OS_LINUX=1" "-D" "BIN_SUFFIX=\"\"" "-D" "MOZ_TOOLKIT_SEARCH" "-D" "STATIC_EXPORTABLE_JS_API" "-D" "MOZ_HAS_MOZGLUE" "-D" "MOZILLA_INTERNAL_API" "-D" "IMPL_LIBXUL" "-I" "/home/icecold/mozilla-central/dom/ipc" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dom/ipc" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/ipc/ipdl/_ipdlheaders" "-I" "/home/icecold/mozilla-central/ipc/chromium/src" "-I" "/home/icecold/mozilla-central/ipc/glue" "-I" "/home/icecold/mozilla-central/caps" "-I" "/home/icecold/mozilla-central/chrome" "-I" "/home/icecold/mozilla-central/docshell/base" "-I" "/home/icecold/mozilla-central/dom/base" "-I" "/home/icecold/mozilla-central/dom/devicestorage" "-I" "/home/icecold/mozilla-central/dom/events" "-I" "/home/icecold/mozilla-central/dom/filesystem" "-I" "/home/icecold/mozilla-central/dom/geolocation" "-I" "/home/icecold/mozilla-central/dom/media/webspeech/synth/ipc" "-I" "/home/icecold/mozilla-central/dom/security" "-I" "/home/icecold/mozilla-central/dom/storage" "-I" "/home/icecold/mozilla-central/dom/workers" "-I" "/home/icecold/mozilla-central/embedding/components/printingui/ipc" "-I" "/home/icecold/mozilla-central/extensions/cookie" "-I" "/home/icecold/mozilla-central/extensions/spellcheck/src" "-I" "/home/icecold/mozilla-central/gfx/2d" "-I" "/home/icecold/mozilla-central/hal/sandbox" "-I" "/home/icecold/mozilla-central/layout/base" "-I" "/home/icecold/mozilla-central/media/webrtc" "-I" "/home/icecold/mozilla-central/netwerk/base" "-I" "/home/icecold/mozilla-central/toolkit/crashreporter" "-I" "/home/icecold/mozilla-central/toolkit/xre" "-I" "/home/icecold/mozilla-central/uriloader/exthandler" "-I" "/home/icecold/mozilla-central/widget" "-I" "/home/icecold/mozilla-central/xpcom/base" "-I" "/home/icecold/mozilla-central/xpcom/threads" "-I" "/home/icecold/mozilla-central/modules/libjar" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dist/include" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dist/include/nspr" "-I" "/home/icecold/mozilla-central/obj-ff-dbg/dist/include/nss" "-D" "MOZILLA_CLIENT" "-I" "/home/icecold/mozilla-central/widget/gtk/compat-gtk3" "-I" "/usr/include/gtk-3.0/unix-print" "-I" "/usr/include/gtk-3.0" "-I" "/usr/include/at-spi2-atk/2.0" "-I" "/usr/include/at-spi-2.0" "-I" "/usr/include/dbus-1.0" "-I" "/usr/lib/x86_64-linux-gnu/dbus-1.0/include" "-I" "/usr/include/gtk-3.0" "-I" "/usr/include/gio-unix-2.0/" "-I" "/usr/include/mirclient" "-I" "/usr/include/mircommon" "-I" "/usr/include/mircookie" "-I" "/usr/include/cairo" "-I" "/usr/include/pango-1.0" "-I" "/usr/include/harfbuzz" "-I" "/usr/include/pango-1.0" "-I" "/usr/include/atk-1.0" "-I" "/usr/include/cairo" "-I" "/usr/include/pixman-1" "-I" "/usr/include/freetype2" "-I" "/usr/include/libpng16" "-I" "/usr/include/gdk-pixbuf-2.0" "-I" "/usr/include/libpng16" "-I" "/usr/include/glib-2.0" "-I" "/usr/lib/x86_64-linux-gnu/glib-2.0/include" "-internal-isystem" "/usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.0/../../../../include/c++/6.2.0" "-internal-isystem" "/usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.0/../../../../include/x86_64-linux-gnu/c++/6.2.0" "-internal-isystem" "/usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.0/../../../../include/x86_64-linux-gnu/c++/6.2.0" "-internal-isystem" "/usr/bin/../lib/gcc/x86_64-linux-gnu/6.2.0/../../../../include/c++/6.2.0/backward" "-internal-isystem" "/usr/local/include" "-internal-isystem" "/usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include" "-internal-externc-isystem" "/usr/include/x86_64-linux-gnu" "-internal-externc-isystem" "/include" "-internal-externc-isystem" "/usr/include" "-Wall" "-Wc++11-compat" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wloop-analysis" "-Wc++11-compat-pedantic" "-Wc++14-compat" "-Wc++14-compat-pedantic" "-Wc++1z-compat" "-Wimplicit-fallthrough" "-Werror=non-literal-null-conversion" "-Wstring-conversion" "-Wthread-safety" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-unknown-warning-option" "-Wno-return-type-c-linkage" "-Werror" "-Wno-error=shadow" "-std=gnu++11" "-fdeprecated-macro" "-fdebug-compilation-dir" "/home/icecold/mozilla-central/obj-ff-dbg/dom/ipc" "-ferror-limit" "19" "-fmessage-length" "0" "-pthread" "-fno-rtti" "-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-o" "ContentChild.o" "-x" "c++" "/home/icecold/mozilla-central/dom/ipc/ContentChild.cpp"
"/usr/lib/llvm-3.8/bin/clang" "-cc1" "-triple" "x86_64-pc-linux-gnu" "-emit-obj" "-mrelax-all" "-disable-free" "-disable-llvm-verifier" "-main-file-name" "ContentChild.cpp" "-mrelocation-model" "pic" "-pic-level" "2" "-mthread-model" "posix" "-mdisable-fp-elim" "-relaxed-aliasing" "-masm-verbose" "-mconstructor-aliases" "-munwind-tables" "-fuse-init-array" "-target-cpu" "x86-64" "-dwarf-column-info" "-debug-info-kind=limited" "-dwarf-version=4" "-debugger-tuning=gdb" "-D" "DEBUG=1" "-D" "TRACING=1" "-D" "OS_POSIX=1" "-D" "OS_LINUX=1" "-D" "BIN_SUFFIX=\"\"" "-D" "MOZ_TOOLKIT_SEARCH" "-D" "STATIC_EXPORTABLE_JS_API" "-D" "MOZ_HAS_MOZGLUE" "-D" "MOZILLA_INTERNAL_API" "-D" "IMPL_LIBXUL" "-D" "MOZILLA_CLIENT" "-Wall" "-Wc++11-compat" "-Wempty-body" "-Wignored-qualifiers" "-Woverloaded-virtual" "-Wpointer-arith" "-Wsign-compare" "-Wtype-limits" "-Wunreachable-code" "-Wwrite-strings" "-Wno-invalid-offsetof" "-Wclass-varargs" "-Wloop-analysis" "-Wc++11-compat-pedantic" "-Wc++14-compat" "-Wc++14-compat-pedantic" "-Wc++1z-compat" "-Wimplicit-fallthrough" "-Werror=non-literal-null-conversion" "-Wstring-conversion" "-Wthread-safety" "-Wno-inline-new-delete" "-Wno-error=deprecated-declarations" "-Wno-error=array-bounds" "-Wno-unknown-warning-option" "-Wno-return-type-c-linkage" "-Werror" "-Wno-error=shadow" "-std=gnu++11" "-fdeprecated-macro" "-ferror-limit" "19" "-fmessage-length" "0" "-pthread" "-fno-rtti" "-fobjc-runtime=gcc" "-fdiagnostics-show-option" "-fcolor-diagnostics" "-x" "c++" "ContentChild-1df279.cpp"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment