[Qt-interest] crash of X11 app in create_sys after 4.5 upgrade
Denis Dzyubenko
denis.dzyubenko at trolltech.com
Thu Mar 12 16:59:39 CET 2009
Hi Nathan,
Nathan Carter wrote:
> After upgrading to Qt 4.5, my application crashes (on Linux only) with
> a segmentation fault and the following stack trace:
>
> strlen /lib/tls/i686/cmov/libc.so.6
> XSetCommand /usr/lib/libX11.so.6
> XSetWMProperties /usr/lib/libX11.so.6
> QWidgetPrivate::create_sys qwidget_x11.cpp 738
could you please add debug statement in QWidgetPrivate::create_sys to
check argv and argc values?
something like:
qDebug() << "argc:" << qApp->d_func()->argc << "; argv:" <<
qApp->d_func()->argv;
for (int i = 0; i < qApp->d_func()->argc; ++i)
qDebug() << "argv[" << i << "]:" << qApp->d_func()->argv[i];
Do you run your application with some specific command-line arguments?
--
Denis Dzyubenko
Software Engineer
Nokia, Qt Software
More information about the Qt-interest-old
mailing list