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

memory issue: corrupted unsorted chunks #10

Closed
remicollet opened this issue Jan 1, 2014 · 3 comments
Closed

memory issue: corrupted unsorted chunks #10

remicollet opened this issue Jan 1, 2014 · 3 comments

Comments

@remicollet
Copy link
Contributor

Running tests/fann_create_from_file_basic.phpt raise this error:

*** Error in `/usr/bin/zts-php': free(): corrupted unsorted chunks: 0x00007f0e0cd9ee50 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x7d0b8)[0x7f0e07d6f0b8]
/lib64/libc.so.6(fclose+0x14d)[0x7f0e07d5da6d]
/lib64/libfann.so.2(fann_create_from_file+0x33)[0x7f0e06bdf3a3]
/dev/shm/BUILD/php-pecl-fann-1.0.6/ZTS/modules/fann.so(zif_fann_create_from_file+0x5f)[0x7f0e06dfa04f]
/usr/bin/zts-php(dtrace_execute_internal+0x32)[0x7f0e0b5c7b12]
/usr/bin/zts-php(+0x30dd9f)[0x7f0e0b697d9f]
/usr/bin/zts-php(execute_ex+0x4b)[0x7f0e0b6075db]
/usr/bin/zts-php(dtrace_execute_ex+0x6f)[0x7f0e0b5c79ef]
/usr/bin/zts-php(zend_execute_scripts+0x1de)[0x7f0e0b5db83e]
/usr/bin/zts-php(php_execute_script+0x218)[0x7f0e0b56b798]
/usr/bin/zts-php(+0x31020d)[0x7f0e0b69a20d]
/usr/bin/zts-php(+0xbba36)[0x7f0e0b445a36]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f0e07d13b45]
/usr/bin/zts-php(+0xbbad5)[0x7f0e0b445ad5]
@remicollet
Copy link
Contributor Author

Sorry, this is not pecl/fann related but a memory corruption in libfann.

See https://bugzilla.redhat.com/1047627 for detail.

@bukka
Copy link
Owner

bukka commented Jan 1, 2014

Yeah I know about that. I have already sent PR to libfann that fixes the bug: libfann/fann#2 . Hopefully will be merged soon. I will close this issue when the new fixed libfann is released. ;)

@bukka
Copy link
Owner

bukka commented Apr 29, 2018

Closing at it has been merged ages ago.

@bukka bukka closed this as completed Apr 29, 2018
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