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

Segfault on startup #15856

Closed
AntyMew opened this issue Jan 20, 2020 · 2 comments
Closed

Segfault on startup #15856

AntyMew opened this issue Jan 20, 2020 · 2 comments

Comments

@AntyMew
Copy link

AntyMew commented Jan 20, 2020

Work environment

Questions Answers
OS/arch/bits (mandatory) Debian bullseye - Linux 5.4.0-2-amd64
File format of the file you reverse (mandatory) N/A
Architecture/bits of the file (mandatory) N/A
r2 -v full output, not truncated (mandatory) segfault (current master, commit hash f715f01)

Expected behavior

No crash

Actual behavior

Passing any option or argument to r2 (as far as I've tested) results in a segfault. This is a regression from 4.1.1, which is working on my machine.

Additional Logs, screenshots, source-code, configuration dump, ...

Backtrace:

#0  __GI___libc_free (mem=0x100000000) at malloc.c:3111
#1  0x00007ffff6ce489e in cb_strpurge (user=0x7ffff7e05060 <r>, 
    data=0x55555559a290) at cconfig.c:976
#2  0x00007ffff7ac7823 in r_config_set_cb (cfg=0x555555611110, 
    name=0x7ffff6defb1e "bin.str.purge", value=0x7ffff6deb458 "", 
    cb=0x7ffff6ce4841 <cb_strpurge>) at config.c:360
#3  0x00007ffff6cebd59 in r_core_config_init (core=0x7ffff7e05060 <r>)
    at cconfig.c:3145
#4  0x00007ffff6c2b34f in r_core_init (core=0x7ffff7e05060 <r>) at core.c:2714
#5  0x00007ffff7df30c2 in r_main_radare2 (argc=2, argv=0x7fffffffe158)
    at radare2.c:401
#6  0x0000555555555422 in main (argc=2, argv=0x7fffffffe158) at radare2.c:96
@radare
Copy link
Collaborator

radare commented Jan 20, 2020 via email

@AntyMew
Copy link
Author

AntyMew commented Jan 20, 2020

Resolved. I think apt was holding onto an old lib which I hadn't auto-removed yet

@AntyMew AntyMew closed this as completed Jan 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants