#113: Bad pointers (mostly 0x1028) in psStructure->psCurAnim when playing
FastPlay
--------------------+-------------------------------------------------------
 Reporter:  Giel    |              Owner:           
     Type:  defect  |             Status:  new      
 Priority:  major   |          Milestone:           
Component:  other   |            Version:  svn/trunk
 Keywords:          |   Operating_system:  GNU/Linux
--------------------+-------------------------------------------------------
 Today I managed to ''consistently'' crash warzone at
 [browser:trunk/src/[EMAIL PROTECTED] display3d.c line 1369] when
 starting FastPlay. I.e. start executable, select tutorial -> fastplay ->
 watch or cancel video -> segfault.

 Every time this occurred psStructure->psCurAnim contained 0x1028. After
 tracking down all code that assigned to this variable I found out that,
 aside from NULL, only one function's return value is ever assigned to this
 variable: animObj_Add(). Thus I suspect that either something's going
 wrong in animObj's integer<->pointer casting (for the hash table it uses)
 or that we're using uninitialised memory (in which case
 [doxygen:_structure STRUCTURE] would contain the uninitialised memory).

-- 
Ticket URL: <http://developer.wz2100.net/ticket/113>
Warzone 2100 Trac <http://wz2100.net/>
The Warzone 2100 Resurrection Project
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev

Reply via email to