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

Simpletest example crashes on Linux #11

Closed
jamiebullock opened this issue Jan 11, 2013 · 8 comments
Closed

Simpletest example crashes on Linux #11

jamiebullock opened this issue Jan 11, 2013 · 8 comments
Assignees
Labels
Milestone

Comments

@jamiebullock
Copy link
Owner

The simpletest example crashes on Linux:

*** glibc detected *** /home/ryan/Downloads/LibXtract-master/examples/simpletest/.libs/lt-simpletest: free(): invalid next size (normal): 0x085ec250 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x75ee2)[0xb75e8ee2]
/home/ryan/Downloads/LibXtract-master/src/.libs/libxtract.so.0(xtract_init_mfcc+0x494)[0xb773be44]
/home/ryan/Downloads/LibXtract-master/examples/simpletest/.libs/lt-simpletest[0x804877f]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb758c4d3]
/home/ryan/Downloads/LibXtract-master/examples/simpletest/.libs/lt-simpletest[0x804886d]
======= Memory map: ========
08048000-08049000 r-xp 00000000 08:01 3550801 /home/ryan/Downloads/LibXtract-master/examples/simpletest/.libs/lt-simpletest
08049000-0804a000 r--p 00000000 08:01 3550801 /home/ryan/Downloads/LibXtract-master/examples/simpletest/.libs/lt-simpletest
0804a000-0804b000 rw-p 00001000 08:01 3550801 /home/ryan/Downloads/LibXtract-master/examples/simpletest/.libs/lt-simpletest
085d1000-085f2000 rw-p 00000000 00:00 0 [heap]
b7512000-b752e000 r-xp 00000000 08:01 132020 /lib/i386-linux-gnu/libgcc_s.so.1
b752e000-b752f000 r--p 0001b000 08:01 132020 /lib/i386-linux-gnu/libgcc_s.so.1
b752f000-b7530000 rw-p 0001c000 08:01 132020 /lib/i386-linux-gnu/libgcc_s.so.1
b7545000-b7546000 rw-p 00000000 00:00 0
b7546000-b7570000 r-xp 00000000 08:01 131202 /lib/i386-linux-gnu/libm-2.15.so
b7570000-b7571000 r--p 00029000 08:01 131202 /lib/i386-linux-gnu/libm-2.15.so
b7571000-b7572000 rw-p 0002a000 08:01 131202 /lib/i386-linux-gnu/libm-2.15.so
b7572000-b7573000 rw-p 00000000 00:00 0
b7573000-b7716000 r-xp 00000000 08:01 131085 /lib/i386-linux-gnu/libc-2.15.so
b7716000-b7717000 ---p 001a3000 08:01 131085 /lib/i386-linux-gnu/libc-2.15.so
b7717000-b7719000 r--p 001a3000 08:01 131085 /lib/i386-linux-gnu/libc-2.15.so
b7719000-b771a000 rw-p 001a5000 08:01 131085 /lib/i386-linux-gnu/libc-2.15.so
b771a000-b771d000 rw-p 00000000 00:00 0
b7730000-b7732000 rw-p 00000000 00:00 0
b7732000-b7749000 r-xp 00000000 08:01 3550740 /home/ryan/Downloads/LibXtract-master/src/.libs/libxtract.so.0.0.0
b7749000-b774a000 r--p 00016000 08:01 3550740 /home/ryan/Downloads/LibXtract-master/src/.libs/libxtract.so.0.0.0
b774a000-b774b000 rw-p 00017000 08:01 3550740 /home/ryan/Downloads/LibXtract-master/src/.libs/libxtract.so.0.0.0
b774b000-b774d000 rw-p 00000000 00:00 0
b774d000-b774e000 r-xp 00000000 00:00 0 [vdso]
b774e000-b776e000 r-xp 00000000 08:01 131203 /lib/i386-linux-gnu/ld-2.15.so
b776e000-b776f000 r--p 0001f000 08:01 131203 /lib/i386-linux-gnu/ld-2.15.so
b776f000-b7770000 rw-p 00020000 08:01 131203 /lib/i386-linux-gnu/ld-2.15.so
bfb03000-bfb24000 rw-p 00000000 00:00 0 [stack]
Aborted (core dumped)
ryan@ryan-VGN-T2XP-S:/Downloads/LibXtract-master/examples/simpletest$ ^C
ryan@ryan-VGN-T2XP-S:
/Downloads/LibXtract-master/examples/simpletest$

@ghost ghost assigned jamiebullock Jan 11, 2013
@davfigue
Copy link

The same with the python tests.

@bl0ndynek
Copy link

Same on my machine ArchLinux x86_64
When can we expect correction for this issue?

freq: 21920.8 amp: 0.000088
freq: 21963.9 amp: 0.000056
freq: 22006.9 amp: 0.000028
freq: 22050.0 amp: 0.000009

*** Error in `/home/jack/Projects/LibXtract/examples/simpletest/.libs/lt-simpletest': free(): invalid next size (fast): 0x000000000192d310 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x788ae)[0x7fce78a698ae]
/usr/lib/libc.so.6(+0x79587)[0x7fce78a6a587]
/home/jack/Projects/LibXtract/src/.libs/libxtract.so.0(xtract_init_mfcc+0x3b8)[0x7fce790a6e28]
/home/jack/Projects/LibXtract/examples/simpletest/.libs/lt-simpletest[0x4009bd]
/usr/lib/libc.so.6(__libc_start_main+0xf5)[0x7fce78a12a15]
/home/jack/Projects/LibXtract/examples/simpletest/.libs/lt-simpletest[0x400a89]
======= Memory map: ========
00400000-00401000 r-xp 00000000 fe:03 5636766 /home/jack/Projects/LibXtract/examples/simpletest/.libs/lt-simpletest
00601000-00602000 rw-p 00001000 fe:03 5636766 /home/jack/Projects/LibXtract/examples/simpletest/.libs/lt-simpletest
01912000-01933000 rw-p 00000000 00:00 0 [heap]
7fce787db000-7fce787f0000 r-xp 00000000 fe:02 1214931 /usr/lib/libgcc_s.so.1
7fce787f0000-7fce789f0000 ---p 00015000 fe:02 1214931 /usr/lib/libgcc_s.so.1
7fce789f0000-7fce789f1000 rw-p 00015000 fe:02 1214931 /usr/lib/libgcc_s.so.1
7fce789f1000-7fce78b94000 r-xp 00000000 fe:02 1179691 /usr/lib/libc-2.17.so
7fce78b94000-7fce78d94000 ---p 001a3000 fe:02 1179691 /usr/lib/libc-2.17.so
7fce78d94000-7fce78d98000 r--p 001a3000 fe:02 1179691 /usr/lib/libc-2.17.so
7fce78d98000-7fce78d9a000 rw-p 001a7000 fe:02 1179691 /usr/lib/libc-2.17.so
7fce78d9a000-7fce78d9e000 rw-p 00000000 00:00 0
7fce78d9e000-7fce78e9b000 r-xp 00000000 fe:02 1179692 /usr/lib/libm-2.17.so
7fce78e9b000-7fce7909a000 ---p 000fd000 fe:02 1179692 /usr/lib/libm-2.17.so
7fce7909a000-7fce7909b000 r--p 000fc000 fe:02 1179692 /usr/lib/libm-2.17.so
7fce7909b000-7fce7909c000 rw-p 000fd000 fe:02 1179692 /usr/lib/libm-2.17.so
7fce7909c000-7fce790b2000 r-xp 00000000 fe:03 5636735 /home/jack/Projects/LibXtract/src/.libs/libxtract.so.0.0.0
7fce790b2000-7fce792b1000 ---p 00016000 fe:03 5636735 /home/jack/Projects/LibXtract/src/.libs/libxtract.so.0.0.0
7fce792b1000-7fce792b2000 rw-p 00015000 fe:03 5636735 /home/jack/Projects/LibXtract/src/.libs/libxtract.so.0.0.0
7fce792b2000-7fce792d3000 r-xp 00000000 fe:02 1179755 /usr/lib/ld-2.17.so
7fce794a6000-7fce794a9000 rw-p 00000000 00:00 0
7fce794d0000-7fce794d3000 rw-p 00000000 00:00 0
7fce794d3000-7fce794d4000 r--p 00021000 fe:02 1179755 /usr/lib/ld-2.17.so
7fce794d4000-7fce794d5000 rw-p 00022000 fe:02 1179755 /usr/lib/ld-2.17.so
7fce794d5000-7fce794d6000 rw-p 00000000 00:00 0
7fff47428000-7fff47449000 rw-p 00000000 00:00 0 [stack]
7fff47463000-7fff47465000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]

@jamiebullock
Copy link
Owner Author

I'll take a look at this over the next few days. I don't think it will take long to fix.

@bl0ndynek
Copy link

Problem still exist in current version, and under Linux there is simpletest.c compilation error because M_PI is undefined.

@sairashaheen
Copy link

M_PI can be fixed very easily but can you please fix this crashing issue..Because i am using it and i need its free error program urgently....

@sairashaheen
Copy link

can you fix this issue early if it wont take that much time according to you

@jamiebullock
Copy link
Owner Author

@sairashaheen the reason it hasn't been fixed yet is I no longer have a Linux install set up. I am downloading Ubuntu now and assuming I can get up and running quickly, I'll take a look at this today.

@sairashaheen
Copy link

thanks if you could it today because i need it urgently for my code....

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

4 participants