Hi,
I have a Qt app running on linux and i am able to build it properly.But after the application is launched ,immediately its giving SIGSEGV error .I got the following gdb backtrace output.
#0 0x0000ffff in ?? ()
#1 0xb618036d in mbtowc (pwc=0x0, s=0x9808598 "Ь\200\t\001", n=1) at mbtowc.c:65
#2 0xb5de25cc in ?? () from /usr/lib/libX11.so.6
#3 0xb5de186f in ?? () from /usr/lib/libX11.so.6
#4 0xb5dbc28b in _XlcConvert () from /usr/lib/libX11.so.6
#5 0xb5dc3b3f in _Xlcmbstowcs () from /usr/lib/libX11.so.6
#6 0xb5dc3bd3 in _Xmbstowcs () from /usr/lib/libX11.so.6
#7 0xb5dd998f in _XimParseStringFile () from /usr/lib/libX11.so.6
#8 0xb5dd7a84 in _XimLocalOpenIM () from /usr/lib/libX11.so.6
#9 0xb5dd612d in _XimOpenIM () from /usr/lib/libX11.so.6
#10 0xb5dd5e50 in _XimRegisterIMInstantiateCallback () from /usr/lib/libX11.so.6
#11 0xb5dba038 in XRegisterIMInstantiateCallback () from /usr/lib/libX11.so.6
#12 0xb6ebc097 in QXIMInputContext (this=0x98e3f10) at inputmethod/qximinputcontext_x11.cpp:366
#13 0xb6ebab91 in QInputContextFactory::create (key=@0x967c9fc, parent=0xbf888fd8)
at inputmethod/qinputcontextfactory.cpp:135
#14 0xb6890bb5 in QApplication::inputContext (this=0xbf888fd8) at kernel/qapplication.cpp:4979
#15 0xb68dabc8 in QWidgetPrivate::inputContext (this=0x9861a00) at kernel/qwidget.cpp:290
#16 0xb68de51b in QWidget::inputContext (this=0x980fd98) at kernel/qwidget.cpp:309
#17 0xb68979e9 in QApplicationPrivate::setFocusWidget (focus=0x980fd98,
reason=Qt::ActiveWindowFocusReason) at kernel/qapplication.cpp:2107
#18 0xb68e161e in QWidget::setFocus (this=0x980fd98, reason=Qt::ActiveWindowFocusReason)
at kernel/qwidget.cpp:5714
#19 0xb6897f94 in QApplication::setActiveWindow (act=0xbf888f54) at kernel/qapplication.cpp:2460
#20 0xb690756c in QApplication::x11ProcessEvent (this=0xbf888fd8, event=0xbf888c8c)
at kernel/qapplication_x11.cpp:3462
#21 0xb6932c6a in x11EventSourceDispatch (s=0x966ac80, callback=0, user_data=0x0)
at kernel/qguieventdispatcher_glib.cpp:146
#22 0xb5ee2b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#0 0x0000ffff in ?? ()
#1 0xb618036d in mbtowc (pwc=0x0, s=0x9808598 "Ь\200\t\001", n=1) at mbtowc.c:65
#2 0xb5de25cc in ?? () from /usr/lib/libX11.so.6
#3 0xb5de186f in ?? () from /usr/lib/libX11.so.6
#4 0xb5dbc28b in _XlcConvert () from /usr/lib/libX11.so.6
#5 0xb5dc3b3f in _Xlcmbstowcs () from /usr/lib/libX11.so.6
#6 0xb5dc3bd3 in _Xmbstowcs () from /usr/lib/libX11.so.6
#7 0xb5dd998f in _XimParseStringFile () from /usr/lib/libX11.so.6
#8 0xb5dd7a84 in _XimLocalOpenIM () from /usr/lib/libX11.so.6
#9 0xb5dd612d in _XimOpenIM () from /usr/lib/libX11.so.6
#10 0xb5dd5e50 in _XimRegisterIMInstantiateCallback () from /usr/lib/libX11.so.6
#11 0xb5dba038 in XRegisterIMInstantiateCallback () from /usr/lib/libX11.so.6
#12 0xb6ebc097 in QXIMInputContext (this=0x98e3f10) at inputmethod/qximinputcontext_x11.cpp:366
#13 0xb6ebab91 in QInputContextFactory::create (key=@0x967c9fc, parent=0xbf888fd8)
at inputmethod/qinputcontextfactory.cpp:135
#14 0xb6890bb5 in QApplication::inputContext (this=0xbf888fd8) at kernel/qapplication.cpp:4979
#15 0xb68dabc8 in QWidgetPrivate::inputContext (this=0x9861a00) at kernel/qwidget.cpp:290
#16 0xb68de51b in QWidget::inputContext (this=0x980fd98) at kernel/qwidget.cpp:309
#17 0xb68979e9 in QApplicationPrivate::setFocusWidget (focus=0x980fd98,
reason=Qt::ActiveWindowFocusReason) at kernel/qapplication.cpp:2107
#18 0xb68e161e in QWidget::setFocus (this=0x980fd98, reason=Qt::ActiveWindowFocusReason)
at kernel/qwidget.cpp:5714
#19 0xb6897f94 in QApplication::setActiveWindow (act=0xbf888f54) at kernel/qapplication.cpp:2460
#20 0xb690756c in QApplication::x11ProcessEvent (this=0xbf888fd8, event=0xbf888c8c)
at kernel/qapplication_x11.cpp:3462
#21 0xb6932c6a in x11EventSourceDispatch (s=0x966ac80, callback=0, user_data=0x0)
at kernel/qguieventdispatcher_glib.cpp:146
#22 0xb5ee2b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
To copy to clipboard, switch view to plain text mode
Could anyone has any idea?plz help me out?
Regards,
Payal
Bookmarks