Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash #2 #1664

Closed
Donkey-Robot opened this issue Jan 5, 2016 · 3 comments
Closed

Crash #2 #1664

Donkey-Robot opened this issue Jan 5, 2016 · 3 comments
Labels

Comments

@Donkey-Robot
Copy link

*** Error in `/home/Viking/tfs': malloc(): memory corruption (fast): 0x000072e000000010 ***

Program received signal SIGABRT, Aborted.
[Switching to Thread 0x72e048a96700 (LWP 9039)]
0x000072e0495eacc9 in __GI_raise (sig=sig@entry=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: Ficheiro ou directoria inexistente.
(gdb)


bt full
#0 0x000072e0495eacc9 in __GI_raise (sig=sig@entry=6)

at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
    resultvar = 0
    pid = 9035
    selftid = 9039

#1 0x000072e0495ee0d8 in __GI_abort () at abort.c:89

    save_stage = 2
    act = {__sigaction_handler = {sa_handler = 0x72e048a95390,
        sa_sigaction = 0x72e048a95390}, sa_mask = {__val = {
          126307638697576, 126307419622752, 126307617297335,
          126307617297296, 8358488, 11, 126307617297335, 126307617297360,
          8518502, 11, 126307419622760, 4607199022163613071,
          126307427106704, 4575657222627480831, 126307419622752,
          126307617297440}}, sa_flags = 8515170,
      sa_restorer = 0x72e048a954fe}
    sigs = {__val = {32, 0 <repeats 15 times>}}

#2 0x000072e049627394 in __libc_message (do_abort=do_abort@entry=1,

fmt=fmt@entry=0x72e049735b28 "*** Error in `%s': %s: 0x%s ***\n")
at ../sysdeps/posix/libc_fatal.c:175
    ap = {{gp_offset = 40, fp_offset = 29408,
        overflow_arg_area = 0x72e048a95670,
        reg_save_area = 0x72e048a95600}}
    fd = 40
    on_2 = <optimized out>
    list = <optimized out>
    nlist = <optimized out>
    cp = <optimized out>
    written = <optimized out>

#3 0x000072e0496320f7 in malloc_printerr (action=,

str=0x72e049735ec8 "malloc(): memory corruption (fast)",
ptr=<optimized out>) at malloc.c:4996
    buf = "000072e000000010"
    cp = <optimized out>

#4 0x000072e049634e04 in _int_malloc (av=0x72e040000020, bytes=88)

at malloc.c:3359
    p = 0x0
    fb = < optimized out >
    pp = < optimized out >
    nb = 96
    idx = < optimized out >
    bin = < optimized out >
    victim = < optimized out >
    size = < optimized out >
    victim_index = < optimized out >
    remainder = < optimized out >
    remainder_size = < optimized out >
    block = < optimized out >
    bit = < optimized out >
    map = < optimized out >
@Donkey-Robot
Copy link
Author

Thread 1: http://pastebin.com/PCuMc6dS

Thread 2: http://pastebin.com/6h5PY8BB

Thread 3: http://pastebin.com/Jru46WnN

thread 4~ not found

Thread 5: http://pastebin.com/xDwTmYxy

is a lot of codes, just you mark have the knowledge for this, you could try help?

@ranisalt
Copy link
Member

ranisalt commented Jan 5, 2016

Lines 9 to 11 on thread 2 seem to be a problem, there was memory corruption on allocation via the operator new inside the STL. What compiler version and operation system are you using?

@marksamman
Copy link
Member

You have made changes to your source code, so I'm going to ask you to stop posting crash reports as not only does it make it more difficult for us to analyze them, but they may just as well be caused by your modifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants