project-navigation
Personal tools

Author Topic: R28180 Crash on pressing to mission's button. (Segfault in MAP_GetMissionText)  (Read 1945 times)

Offline O01eg

  • Rookie
  • ***
  • Posts: 73
    • View Profile
When I press on mission's button:
Code: [Select]
Program received signal SIGSEGV, Segmentation fault.
0x000000000049ca78 in MAP_GetMissionText (
    buffer=0x1957fa0 "Location: The Greater European Union\nType: Crashed UFO\nObjective: UFO Crashsite.", size=2048, mission=0x1deb6ce8)
    at src/client/campaign/cp_map.c:1553
1553 Com_sprintf(buffer, size, _("Location: %s\nType: %s\nObjective: %s"), mission->location,
(gdb) bt full
#0  0x000000000049ca78 in MAP_GetMissionText (
    buffer=0x1957fa0 "Location: The Greater European Union\nType: Crashed UFO\nObjective: UFO Crashsite.", size=2048, mission=0x1deb6ce8)
    at src/client/campaign/cp_map.c:1553
No locals.
#1  0x000000000049deb8 in MAP_DrawMap (node=0x3577bb8)
    at src/client/campaign/cp_map.c:1900
        pos = {0, 0}
        t = '\000' <repeats 63 times>
#2  0x00000000004e4e4e in MN_MapNodeDraw (node=0x3577bb8)
    at src/client/menu/node/m_node_map.c:47
        pos = {0, 0}
#3  0x00000000004cd6e1 in MN_DrawNode (node=0x3577bb8)
    at src/client/menu/m_draw.c:238
        child = 0x5a63e5
        pos = {0, 0}
        globalTransX = 0
        globalTransY = 0
#4  0x00000000004cd811 in MN_DrawNode (node=0x3577988)
    at src/client/menu/m_draw.c:264
        hasClient = qfalse
        clientPosition = {0.5, 0}
        child = 0x3577bb8
        pos = {0, 0}
        globalTransX = 0
        globalTransY = 0
#5  0x00000000004cdbfc in MN_Draw () at src/client/menu/m_draw.c:362
        hoveredNode = 0x2090c0d8
        menu = 0x3577988
        pos = 0
        mouseMoved = qfalse
        __PRETTY_FUNCTION__ = "MN_Draw"
#6  0x000000000043ae7a in SCR_UpdateScreen () at src/client/cl_screen.c:445
No locals.
#7  0x0000000000439b61 in CL_Frame (now=1077434, data=0x0)
    at src/client/cl_main.c:1139
        delta = 20
        lastFrame = 1077434
#8  0x000000000050aea6 in tick_timer (now=1077434, data=0x1517c3c8)
    at src/common/common.c:1005
        timer = 0x1517c3c8
        old_interval = 20
        lateness = 1
#9  0x000000000050b36e in Qcommon_Frame () at src/common/common.c:1156
        time_to_next = 0
        event = 0x1f393d58
#10 0x0000000000569c49 in main (argc=1, argv=0x7fffffffda78)
    at src/ports/linux/linux_main.c:53
No locals.