#4254: Bug found with tsan
-------------------------------------+-------------------------
        Reporter:  nsajko            |      Owner:
            Type:  bug               |     Status:  new
        Priority:  normal            |  Milestone:  unspecified
       Component:  other             |    Version:  3.1.1
Operating System:  All/Non-Specific  |
-------------------------------------+-------------------------
 I used [[https://code.google.com/p/thread-sanitizer/|this tool]]
 on Warzone and it reported the following:
 ==================
 WARNING: ThreadSanitizer: signal-unsafe call inside of a signal (pid=6629)
     !#0 malloc <null>:0 (libtsan.so.0+0x00000004d052)
     !#1 posixExceptionHandler
 
/home/nsajko/build/warzone2100/src/warzone2100-3.1.1/lib/exceptionhandler/exceptionhandler.cpp:625
 (warzone2100+0x0000003725a0)
     !#2 rtl_sigaction(int, my_siginfo_t*, void*) <null>:0
 (libtsan.so.0+0x000000033f94)
     !#3 realmain(int, char**)
 /home/nsajko/build/warzone2100/src/warzone2100-3.1.1/src/main.cpp:1252
 (warzone2100+0x000000184da4)
     !#4 main
 /home/nsajko/build/warzone2100/src/warzone2100-3.1.1/lib/sdl/main_sdl.cpp:48
 (warzone2100+0x0000000794fe)

 SUMMARY: ThreadSanitizer: signal-unsafe call inside of a signal ??:0
 malloc
 ==================

 I additionally included Warzone debugging files.

--
Ticket URL: <http://developer.wz2100.net/ticket/4254>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Warzone2100-project mailing list
Warzone2100-project@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/warzone2100-project

Reply via email to