Skip to content

Invalid pointer #8

@volkv

Description

@volkv

Hey guys! Just faced this error when decided to add more that 1 MYSQL query. Crash usually happen after map_restart, looks like with first mysql_connect (first map works fine).
This happen when I got 3 different handles (I got close for every of them ofc). Everything worked fine when it was just 1 handler...

*** Error in `./cod4x18_dedrun': free(): invalid pointer: 0xf683f968 ***                                           This program has crashed with signal: Aborted
The current Gameversion is: CoD4 X 1.8 linux-i386-custom_debug type 'e' build 2055 May  2 2017
File is ./cod4x18_dedrun Hash is: fc4c01733649cd5dc6339af032da054cf7dcd3a3d83a38319e4f073f99672df9
---------- Crash Backtrace ----------
   11: ./cod4x18_dedrun(Sys_DumpCrash+0xe5) [0x20aacaf]
   10: ./cod4x18_dedrun(Sys_SigHandler+0x3c) [0x20aadf6]
    9: [0xf7f3ddd0]
    8: [0xf7f3ddb9]
    7: /lib/i386-linux-gnu/libc.so.6(gsignal+0xc2) [0xf7b5a7e2]
    6: /lib/i386-linux-gnu/libc.so.6(abort+0x161) [0xf7b5bf51]
    5: /lib/i386-linux-gnu/libc.so.6(+0x700cc) [0xf7b9d0cc]
    4: /lib/i386-linux-gnu/libc.so.6(+0x76f5d) [0xf7ba3f5d]
    3: /lib/i386-linux-gnu/libc.so.6(+0x77b3b) [0xf7ba4b3b]
    2: ./plugin.cod4x_mysql.tmp(my_free+0x1d) [0xe824f09d]
    1: ./plugin.cod4x_mysql.tmp(mysql_free_result+0x6c) [0xe822f79c]
    0: ./plugin.cod4x_mysql.tmp(+0x1a96a) [0xe822296a]

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions