TFdset ? in Mavericks 10.9.4

Hi All,
Finally i got the mac working wint Root + Qt4 but it´s behavior ii´s strange, some times my app works fine but almost all the time crashes with the next error

Fatal in TFdSet::IsSet: fd (-1066668032) out of range [0…1023]

Mavericks 10.9.4
Root 5.34.17
Qt 4.8.6

Any idea about?

Best regards

Hi Cederik, Can you elaborate a little bit more to reproduce your trouble

[quote=“fine”]Hi Cederik, Can you elaborate a little bit more to reproduce your trouble

Hi Valeri,
Many thanks for your response, here is some about the crash report

For the Qt4:
Got the Qt 4.8.6 Source code from … 8.6.tar.gz

then :

./configure -no-webkit -no-phonon -no-multimedia --prefix=/usr/local/ \ -no-framework -platform unsupported/macx-clang-libc++ -no-javascript-jit \ -no-scripttools -no-declarative -no-declarative-debug -no-nis -no-cups \ -no-iconv -no-openssl -no-debug -opensource

For Root just : ./configure && make && make install

My app compiles flawless; the crash it’s more or less ramdom, indeed i just opened the app, few seconds with no user interaction and boooomm!.. crash. In other Unixes my app works fine without any troubles nor errors.

I did not check entirely the (i will do it now)

The error on terminal during my app execution:

Cederiks-MacBook-Pro:~ cederik$ /opt/HAWC/sedeb/  -V4
** $Id$ this=0x7fd2b5507ae0
The font "symbol.ttf" was not installed yet
 Substitute it with " "Arial" " 
 Make sure your local "~/.fonts.conf" or "/etc/fonts/fonts.conf" file points to " /opt/HAWC/ape-hawc-1.26.02/External/root/5.34.00-xcode5.1/share/root/fonts " directory to get the proper support for ROOT TLatex class 
2014-07-11 13:40:35.571 sedeb[53646:507] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
Fatal in <TFdSet::IsSet>: fd (-1250297648) out of range [0..1023]
 Generating stack trace...
 0x0000000105ebadce in TMacOSXSystem::WaitEvents(long) (in + 622
 0x0000000105eba8ab in TMacOSXSystem::DispatchOneEvent(bool) (in + 1035
 0x00000001050c41be in TQtTimer::AwakeRootEvent() (in + 30
 0x0000000114581bad in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (in libQtCore.4.dylib) + 1693
 0x000000011457d423 in QObject::event(QEvent*) (in libQtCore.4.dylib) + 51
 0x00000001138723ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) (in libQtGui.4.dylib) + 252
 0x0000000113873b30 in QApplication::notify(QObject*, QEvent*) (in libQtGui.4.dylib) + 864
 0x0000000114569cc6 in QCoreApplication::notifyInternal(QObject*, QEvent*) (in libQtCore.4.dylib) + 118
 0x0000000113875c9d in qt_sendSpontaneousEvent(QObject*, QEvent*) (in libQtGui.4.dylib) + 45
 0x0000000113825675 in QEventDispatcherMacPrivate::activateTimer(__CFRunLoopTimer*, void*) (in libQtGui.4.dylib) + 197
 0x00007fff889843e4 in __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ (in CoreFoundation) + 20
 0x00007fff88983f1f in __CFRunLoopDoTimer (in CoreFoundation) + 1151
 0x00007fff889f55aa in __CFRunLoopDoTimers (in CoreFoundation) + 298
 0x00007fff8893f6a5 in __CFRunLoopRun (in CoreFoundation) + 1525
 0x00007fff8893ee75 in CFRunLoopRunSpecific (in CoreFoundation) + 309
 0x00007fff92258a0d in RunCurrentEventLoopInMode (in HIToolbox) + 226
 0x00007fff922587b7 in ReceiveNextEventCommon (in HIToolbox) + 479
 0x00007fff922585bc in _BlockUntilNextEventMatchingListInModeWithFilter (in HIToolbox) + 65
 0x00007fff8ae4224e in _DPSNextEvent (in AppKit) + 1434
 0x00007fff8ae4189b in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] (in AppKit) + 122
 0x000000011382683a in QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (in libQtGui.4.dylib) + 1578
 0x000000011456707d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (in libQtCore.4.dylib) + 477
 0x000000011456a277 in QCoreApplication::exec() (in libQtCore.4.dylib) + 199
 0x0000000104fd454a in main (in sedeb) (main.cpp:33)
 0x0000000104fd4344 in start (in sedeb) + 52
 0x0000000000000002 in <unknown function>
Abort trap: 6