c++ - Warning GDB Inappropriate IOCTL for device -


i'm using program crashes on linux (and works fine on windows) , don't know why. i've got quite strange error, : &"warning: gdb: failed set controlling terminal: inappropriate ioctl devide\n" when launch debugger.

informations found on internet made me think has output.

the concerned file crashes @ lign 0 , contains function :

void sync_print::stdoutformat (const char* format, ...) {     va_list args;     va_start(args, format);     locker protect (synchro);     ::vprintf(format, args);     va_end(args); } 

sync_print name class implements static void stdoutformat(const char* format, ...); , static mutex synchro;

in debugger on qtcreator, says program crashed in file named /lib/ld-linux.so.2 on lign 0. program crashes immediately, can't output using std ... empty main , no include crashes.

i'm kinda lost here ... don't know if accurate give more code. if need precisions i'd glad give them ...

i'm under linux ubuntu 12.04, qtcreator , gcc 4.7.2. i'm using qt 4.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -