Hi,
I am familiar with Juce on Windows, but not on Linux. I am compiling and running the HelloWorld app (from extras/example projects) on Ubuntu 12.04 installed on virtualbox. The app crashes with a “Illegal instruction (core dumped)” meassge as soon as the mouse is moved on top of the app area. The same crash (in the same line in the code) happens also with the Introjucer app. I didn’t try other Juce-based apps yet.
Some more info:
Linux ver:
gdb stacktrace:
[code]Reading symbols from /home/itamark/juce/JUCE/extras/example projects/Builds/Linux/build/HelloWorld…done.
(gdb) run
Starting program: /home/itamark/juce/JUCE/extras/example projects/Builds/Linux/build/HelloWorld
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/i386-linux-gnu/libthread_db.so.1”.
JUCE v2.1.1
[New Thread 0xb7fe7b40 (LWP 21413)]
Program received signal SIGILL, Illegal instruction.
juce::LinuxComponentPeer::getEventTime (t=6762279) at …/…/…/…/modules/juce_gui_basics/native/juce_linux_Windowing.cpp:2290
2290 const int64 thisMessageTime = t;
(gdb) bt
#0 juce::LinuxComponentPeer::getEventTime (t=6762279) at …/…/…/…/modules/juce_gui_basics/native/juce_linux_Windowing.cpp:2290
#1 0x082499c0 in juce::LinuxComponentPeer::getEventTime (t=…)
at …/…/…/…/modules/juce_gui_basics/native/juce_linux_Windowing.cpp:2284
#2 0x0822c2ea in juce::LinuxComponentPeer::handleEnterNotifyEvent (this=0x8392a28, enterEvent=…)
at …/…/…/…/modules/juce_gui_basics/native/juce_linux_Windowing.cpp:1556
#3 0x0822b6b9 in juce::LinuxComponentPeer::handleWindowMessage (this=0x8392a28, event=…)
at …/…/…/…/modules/juce_gui_basics/native/juce_linux_Windowing.cpp:1291
#4 0x0822a0af in juce::LinuxComponentPeer::windowMessageReceive (event=…)
at …/…/…/…/modules/juce_gui_basics/native/juce_linux_Windowing.cpp:846
#5 0x080bf78f in juce::InternalMessageQueue::dispatchNextXEvent ()
at …/…/…/…/modules/juce_events/native/juce_linux_Messaging.cpp:174
#6 0x080bf3f7 in juce::InternalMessageQueue::dispatchNextEvent (this=0x8386840)
at …/…/…/…/modules/juce_events/native/juce_linux_Messaging.cpp:93
#7 0x080bdeb0 in juce::MessageManager::dispatchNextMessageOnSystemQueue (returnIfNoPendingMessages=false)
at …/…/…/…/modules/juce_events/native/juce_linux_Messaging.cpp:388
#8 0x080badab in juce::MessageManager::runDispatchLoopUntil (this=0x83867a8, millisecondsToRunFor=-1)
at …/…/…/…/modules/juce_events/messages/juce_MessageManager.cpp:115
#9 0x080bad01 in juce::MessageManager::runDispatchLoop (this=0x83867a8)
at …/…/…/…/modules/juce_events/messages/juce_MessageManager.cpp:96
#10 0x081f90b6 in juce::JUCEApplication::main () at …/…/…/…/modules/juce_gui_basics/application/juce_Application.cpp:241
#11 0x081f92a3 in juce::JUCEApplication::main (argc=1, argv=0xbffff364)
at …/…/…/…/modules/juce_gui_basics/application/juce_Application.cpp:296
#12 0x0804ce54 in main (argc=1, argv=0xbffff364) at …/…/Source/Main.cpp:116
(gdb) [/code]
Any ideas?
Thanks.