[MacPorts] #56013: source-highlight @3.1.8_3: crashes (and fails to build) on 10.6

MacPorts noreply at macports.org
Sun Mar 11 23:04:36 UTC 2018


#56013: source-highlight @3.1.8_3: crashes (and fails to build) on 10.6
--------------------+------------------------------
 Reporter:  Ionic   |      Owner:
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  source-highlight
--------------------+------------------------------
 {{{
 :info:build ../src/source-highlight --data-dir ../src/ -s java -f html
 --style-file ../src/default.style  -i ./Hello.java -o Hello1.html
 :info:build ../src/source-highlight --data-dir ../src/ -s java -f html
 --style-file ../src/default.style  --input ./Hello.java --output
 Hello2.html --doc
 :info:build terminate called after throwing an instance of 'std::bad_cast'
 :info:build   what():  terminate called after throwing an instance of
 'std::bad_cast'
 :info:build   what():  std::bad_cast
 :info:build std::bad_cast
 }}}

 Debugging this proves to be difficult...

 {{{
 # gdb
 (gdb) file /bin/sh
 Reading symbols for shared libraries .... done
 Reading symbols from /bin/sh...done.
 (gdb)  run ../src/source-highlight --data-dir ../src/ -s java -f html
 --style-file ../src/default.style  -i ./Hello.java -o Hello1.html
 Starting program: /bin/sh ../src/source-highlight --data-dir ../src/ -s
 java -f html  --style-file ../src/default.style  -i ./Hello.java -o
 Hello1.html
 Reading symbols for shared libraries +++. done

 Program received signal SIGTRAP, Trace/breakpoint trap.
 0x00007fff5fc01028 in __dyld__dyld_start ()
 (gdb) bt
 #0  0x00007fff5fc01028 in __dyld__dyld_start ()
 #1  0x0000000100000000 in ?? ()
 (gdb) c
 Continuing.
 Reading symbols for shared libraries ..warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-
 multi/c_regex_traits.o" - no debug information available for
 "libs/regex/build/../src/c_regex_traits.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-
 multi/cpp_regex_traits.o" - no debug information available for
 "libs/regex/build/../src/cpp_regex_traits.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-multi/cregex.o" -
 no debug information available for "libs/regex/build/../src/cregex.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-multi/fileiter.o"
 - no debug information available for
 "libs/regex/build/../src/fileiter.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-multi/icu.o" - no
 debug information available for "libs/regex/build/../src/icu.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-
 multi/instances.o" - no debug information available for
 "libs/regex/build/../src/instances.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-
 multi/posix_api.o" - no debug information available for
 "libs/regex/build/../src/posix_api.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-multi/regex.o" -
 no debug information available for "libs/regex/build/../src/regex.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-
 multi/regex_raw_buffer.o" - no debug information available for
 "libs/regex/build/../src/regex_raw_buffer.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-
 multi/regex_traits_defaults.o" - no debug information available for
 "libs/regex/build/../src/regex_traits_defaults.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-
 multi/static_mutex.o" - no debug information available for
 "libs/regex/build/../src/static_mutex.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-
 multi/wc_regex_traits.o" - no debug information available for
 "libs/regex/build/../src/wc_regex_traits.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-
 multi/wide_posix_api.o" - no debug information available for
 "libs/regex/build/../src/wide_posix_api.cpp".

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_boost/boost/work/boost_1_66_0/bin.v2/libs/regex/build
 /darwin-darwin-4.2.1/release/threadapi-pthread/threading-
 multi/winstances.o" - no debug information available for
 "libs/regex/build/../src/winstances.cpp".

 ...... done
 terminate called after throwing an instance of 'std::bad_cast'
   what():  std::bad_cast

 Program received signal SIGABRT, Aborted.
 0x00007fff8373b0b6 in __kill ()
 (gdb) bt
 #0  0x00007fff8373b0b6 in __kill ()
 #1  0x00007fff837db9f6 in abort ()
 #2  0x0000000101ff5ec5 in __gnu_cxx::__verbose_terminate_handler ()
 Previous frame inner to this frame (gdb could not unwind past this frame)
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/56013>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list