On 11.11.2012 12:00, Florian Paul Schmidt wrote:
> On 11/11/2012 11:43 AM, Kjetil Matheussen wrote:
>> On 11.11.2012 11:38, Florian Paul Schmidt wrote:
>>> Illegal instruction (core dumped)
>>
>> Does your cpu have sse instructions?
>> (Hmm, I guess all 64 bit cpus have that)
>>
>> I'll download ubuntu lts and install it in virtualbox. I tried the
>> non-lts
>> version of ubuntu 12, and that worked, but lts seems to use an
>> older version of Qt, and perhaps have other differences as well.
>>
> Ah, here we go. I was just being stupid:
>
Thank you!
It seems like floorf crashes on your machine. (although I'm not
entirely sure the line number is correct since it was compiled with
-O3)
Which CPU do you have?
And why does this happen?
Radium is compiled with "-O3 -mtune=generic -msse"
Shouldn't that make it run on all CPUs that have sse instructions?
> fps@email-addr-hidden:~/local/opt/radium64_dist$ gdb bin/radium bin/core
> GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2) 7.4-2012.04
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show
> copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> For bug reporting instructions, please see:
> <http://bugs.launchpad.net/gdb-linaro/>...
> Reading symbols from
> /home/fps/local/opt/radium64_dist/bin/radium...done.
> [New LWP 13663]
> [New LWP 13666]
> [New LWP 13665]
> [New LWP 13667]
>
> warning: Can't read pathname for load map: Input/output error.
>
> warning: Could not load shared library symbols for 43 libraries, e.g.
> ./libgio-2.0.so.
> Use the "info sharedlibrary" command to see the complete listing.
> Do you need "set solib-search-path" or "set sysroot"?
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library
> "/lib/x86_64-linux-gnu/libthread_db.so.1".
> Core was generated by `./radium'.
> Program terminated with signal 4, Illegal instruction.
> #0 floorf (__x=<optimized out>) at
> /usr/include/bits/mathinline.h:228
> 228 /usr/include/bits/mathinline.h: No such file or directory.
> (gdb) bt
> #0 floorf (__x=<optimized out>) at
> /usr/include/bits/mathinline.h:228
> #1 Zita_dsp::instanceInit (this=0x7f8012d6c010, samplingFreq=48000,
> samplingFreq@email-addr-hidden=<error reading variable: Could not find type
> for DW_OP_GNU_const_type>) at audio/zita_rev.cpp:292
> #2 0x00000000004b007e in init (samplingFreq=<error reading variable:
> Could not find type for DW_OP_GNU_const_type>,
> this=<optimized out>) at audio/zita_rev.cpp:393
> #3 create_effect_plugin_data
> (plugin_type=plugin_type@email-addr-hidden=0x863ea0, plugin=plugin@email-addr-hidden=0x0,
> samplerate=48000,
> blocksize=blocksize@email-addr-hidden=1024) at audio/zita_rev.cpp:1073
> #4 0x00000000004b2ac0 in create_zita_rev_plugin () at
> audio/zita_rev.cpp:1239
> #5 0x0000000000563263 in PR_init_plugin_types () at
> audio/SoundPluginRegistry.cpp:267
> #6 0x0000000000568649 in MIXER_start () at audio/Mixer.cpp:472
> #7 0x000000000042de7d in InitProgram () at common/control.c:97
> #8 0x000000000045cd18 in radium_main (arg=arg@email-addr-hidden=0x7f803e60c52c
> "") at Qt/Qt_Main.cpp:389
> #9 0x000000000049e86f in init_radium (arg=0x7f803e60c52c "",
> gkf=0x7f803e546aa0) at api/api_common.c:61
> #10 0x000000000049e3cf in _wrap_init_radium (self=<optimized out>,
> args=<optimized out>) at api/radium_wrap.c:572
> #11 0x00000035a5edd0e1 in ?? ()
> #12 0x00007f8000000000 in ?? ()
> #13 0x0000000000000000 in ?? ()
> (gdb) thread apply all bt
>
> Thread 4 (Thread 0x7f8032509700 (LWP 13667)):
> #0 sem_timedwait () at
> ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S:102
> #1 0x00007f803dd4ebd2 in ?? () from
> /usr/lib/x86_64-linux-gnu/libjack.so.0
> #2 0x00007f803dd3d6c9 in ?? () from
> /usr/lib/x86_64-linux-gnu/libjack.so.0
> #3 0x00007f803dd3c217 in ?? () from
> /usr/lib/x86_64-linux-gnu/libjack.so.0
> #4 0x0000000000568ce6 in Mixer::RT_thread (this=0x12a68d0) at
> audio/Mixer.cpp:385
> #5 0x0000000000568dd9 in Mixer::RT_rjack_thread (arg=<optimized
> out>) at audio/Mixer.cpp:424
> #6 0x00007f803dd3ac47 in ?? () from
> /usr/lib/x86_64-linux-gnu/libjack.so.0
> #7 0x00007f803dd4e1b0 in ?? () from
> /usr/lib/x86_64-linux-gnu/libjack.so.0
> #8 0x00007f803e261e9a in start_thread (arg=0x7f8032509700) at
> pthread_create.c:308
> #9 0x00007f803cf25cbd in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #10 0x0000000000000000 in ?? ()
>
> Thread 3 (Thread 0x7f8032621700 (LWP 13665)):
> #0 pthread_cond_wait@@GLIBC_2.3.2 () at
> ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
> #1 0x00007f803dd4f804 in ?? () from
> /usr/lib/x86_64-linux-gnu/libjack.so.0
> #2 0x00007f803dd4adb1 in ?? () from
> /usr/lib/x86_64-linux-gnu/libjack.so.0
> #3 0x00007f803dd4e1b0 in ?? () from
> /usr/lib/x86_64-linux-gnu/libjack.so.0
> #4 0x00007f803e261e9a in start_thread (arg=0x7f8032621700) at
> pthread_create.c:308
> #5 0x00007f803cf25cbd in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #6 0x0000000000000000 in ?? ()
>
> Thread 2 (Thread 0x7f80325a0700 (LWP 13666)):
> #0 0x00007f803e268d2d in read () at
> ../sysdeps/unix/syscall-template.S:82
> #1 0x00007f803dd4ffba in ?? () from
> /usr/lib/x86_64-linux-gnu/libjack.so.0
> #2 0x00007f803dd52966 in ?? () from
> /usr/lib/x86_64-linux-gnu/libjack.so.0
> #3 0x00007f803dd4e1b0 in ?? () from
> /usr/lib/x86_64-linux-gnu/libjack.so.0
> #4 0x00007f803e261e9a in start_thread (arg=0x7f80325a0700) at
> pthread_create.c:308
> #5 0x00007f803cf25cbd in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
> #6 0x0000000000000000 in ?? ()
>
> Thread 1 (Thread 0x7f803e648840 (LWP 13663)):
> #0 floorf (__x=<optimized out>) at
> /usr/include/bits/mathinline.h:228
> #1 Zita_dsp::instanceInit (this=0x7f8012d6c010, samplingFreq=48000,
> samplingFreq@email-addr-hidden=<error reading variable: Could not find type
> for DW_OP_GNU_const_type>) at audio/zita_rev.cpp:292
> #2 0x00000000004b007e in init (samplingFreq=<error reading variable:
> Could not find type for DW_OP_GNU_const_type>,
> this=<optimized out>) at audio/zita_rev.cpp:393
> #3 create_effect_plugin_data
> (plugin_type=plugin_type@email-addr-hidden=0x863ea0, plugin=plugin@email-addr-hidden=0x0,
> samplerate=48000,
> blocksize=blocksize@email-addr-hidden=1024) at audio/zita_rev.cpp:1073
> #4 0x00000000004b2ac0 in create_zita_rev_plugin () at
> audio/zita_rev.cpp:1239
> #5 0x0000000000563263 in PR_init_plugin_types () at
> audio/SoundPluginRegistry.cpp:267
> #6 0x0000000000568649 in MIXER_start () at audio/Mixer.cpp:472
> #7 0x000000000042de7d in InitProgram () at common/control.c:97
> #8 0x000000000045cd18 in radium_main (arg=arg@email-addr-hidden=0x7f803e60c52c
> "") at Qt/Qt_Main.cpp:389
> #9 0x000000000049e86f in init_radium (arg=0x7f803e60c52c "",
> gkf=0x7f803e546aa0) at api/api_common.c:61
> #10 0x000000000049e3cf in _wrap_init_radium (self=<optimized out>,
> args=<optimized out>) at api/radium_wrap.c:572
> #11 0x00000035a5edd0e1 in ?? ()
> #12 0x00007f8000000000 in ?? ()
> #13 0x0000000000000000 in ?? ()
> (gdb)
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-user
Received on Sun Nov 11 16:15:03 2012
This archive was generated by hypermail 2.1.8 : Sun Nov 11 2012 - 16:15:03 EET