[tor-bugs] #12418 [Tor bundles/installation]: TBBs with UBSan create lots of errors when running

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Jun 18 08:06:49 UTC 2014


#12418: TBBs with UBSan create lots of errors when running
--------------------------------------+-----------------------
 Reporter:  gk                        |          Owner:  erinn
     Type:  defect                    |         Status:  new
 Priority:  normal                    |      Milestone:
Component:  Tor bundles/installation  |        Version:
 Keywords:  tbb-security              |  Actual Points:
Parent ID:  #10599                    |         Points:
--------------------------------------+-----------------------
 When running TBBs (based on ESR 24) built with UBSan we get loads of
 errors which look like:
 {{{
 /home/ubuntu/build/tor-browser/js/src/jsobj.cpp:1008:17: runtime error:
 load of value 120, which is not a valid value for type 'bool'
 pkix_pl_object.c:580:31: runtime error: left shift of 4276994303 by 32
 places cannot be represented in type 'long int'
 /home/ubuntu/build/tor-browser/db/sqlite3/src/sqlite3.c:62742:22: runtime
 error: left shift of 173 by 24 places cannot be represented in type 'int'
 /home/ubuntu/build/tor-browser/layout/style/nsCSSParser.cpp:4861:53:
 runtime error: load of value 128, which is not a valid value for type
 'bool'
 /home/ubuntu/build/tor-browser/layout/style/../base/nsStyleConsts.h:27:12:
 runtime error: load of value 4, which is not a valid value for type 'Side'
 /home/ubuntu/build/tor-browser/layout/style/nsCSSParser.cpp:6181:3:
 runtime error: load of value 4, which is not a valid value for type 'Side'
 /home/ubuntu/build/tor-browser/layout/style/nsCSSParser.cpp:7962:5:
 runtime error: load of value 4, which is not a valid value for type 'Side'
 /home/ubuntu/build/tor-browser/dom/workers/Workers.h:81:18: runtime error:
 load of value 4294967295, which is not a valid value for type
 'JSGCParamKey'
 /home/ubuntu/build/tor-browser/dom/workers/Workers.h:135:23: runtime
 error: load of value 4294967295, which is not a valid value for type
 'JSGCParamKey'
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/12418>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list