[tor-bugs] #9084 [Tor bundles/installation]: TBB 3.0a1 crashes on startup on WinXP (missing entry points for _vsnprintf_s in msvcrt.dll) (was: TBB 3.0a1 crashes on startup on WinXP (missing entry points for snprintf in msvcrt.dll))

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Jun 22 08:35:18 UTC 2013


#9084: TBB 3.0a1 crashes on startup on WinXP (missing entry points for
_vsnprintf_s in msvcrt.dll)
-------------------------------------------------+--------------------------
 Reporter:  dope457                              |          Owner:  erinn            
     Type:  defect                               |         Status:  needs_information
 Priority:  major                                |      Milestone:  Tor: unspecified 
Component:  Tor bundles/installation             |        Version:  Tor: unspecified 
 Keywords:  tbb-3.0, tbb-crash, MikePerry201306  |         Parent:                   
   Points:                                       |   Actualpoints:                   
-------------------------------------------------+--------------------------
Changes (by gk):

  * status:  new => needs_information


Comment:

 Okay, this move breaks the build. It turns out, there is a bunch of files
 where _vsnprintf_s is used/needed and there are other secure functions
 deployed as well (like _vsnwprintf_s). That probably amounts to a lot of
 patching. :-/ And disabling the secure API for all Windows users is not
 funny either. Are there any other things we could do here? Asking the
 affected users to get a newer msvcrt? Or bundling a newer crt with the Tor
 Browser? Something along the lines: "If you intend to distribute your
 build to others, you will need to set
 WIN32_REDIST_DIR=$VCINSTALLDIR\redist\x86\Microsoft.VC80.CRT in your
 mozconfig to get the Microsoft CRT DLLs packaged along with the
 application." as mentioned on https://developer.mozilla.org/en-
 US/docs/Developer_Guide/Build_Instructions/Windows_Prerequisites maybe?

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


More information about the tor-bugs mailing list