[Bug 748241] New: QT4 QProcess waitForStarted causes buffer overflow crash on openSUSE 12.2 Factory
https://bugzilla.novell.com/show_bug.cgi?id=748241 https://bugzilla.novell.com/show_bug.cgi?id=748241#c0 Summary: QT4 QProcess waitForStarted causes buffer overflow crash on openSUSE 12.2 Factory Classification: openSUSE Product: openSUSE 12.2 Version: Factory Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jdmulloy@gmail.com QAContact: qa@suse.de Found By: --- Blocker: --- Created an attachment (id=477218) --> (http://bugzilla.novell.com/attachment.cgi?id=477218) Backtrace User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.77 Safari/535.7 Calling the waitForStarted method on a QT QProcess object causes the program to segfault. I have attached a small C++ program that exhibits the issue. I have also attached a backtrace/memory map that was produced by running the program. This program executes and exits cleanly on openSUSE 12.1. I installed 12.1 in a VirtualBox VM and updated to KDE 4.8 and QT 4.8 via the KDE update repo. In that environment the waitForStarted doesn't return until it timesout (Default 30 sec). On openSUSE 12.2 Factory it segfaults. I am using the factory-tested repos and I have applied all updates. Since it doesn't crash in 12.1 with Qt 4.8 it is unlikely to be a QT 4.8 bug. This bug was discovered in the OpenLP program in devel:languages:python, which I maintain. OpenLP is a Python program but I have been able to reproduce the issue in C++ which eliminates Python and python-qt4 as suspects. In OpenLP this bug occurs when using the Presentations plugin which uses QProcess.startDetatched() and QProcess.waitForStarted() to start LibreOffice Impress. Related Bugs in other Bugzillas https://bugzilla.redhat.com/show_bug.cgi?id=752101 https://bugs.launchpad.net/openlp/+bug/902115 Reproducible: Always Steps to Reproduce: Build: mkdir qprocess_c++_test cd qprocess_c++_test <Put the file in this directory> qmake -project qmake qprocess_c++_test.pro make Run: /qprocess_c++_test Actual Results: Program starts program specified by command given to QProcess.startDetatched then crashes with a buffer overflow Expected Results: Program starts program specified by command given to QProcess.startDetatched, then exits cleanly. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=748241
https://bugzilla.novell.com/show_bug.cgi?id=748241#c1
--- Comment #1 from Joseph Mulloy
https://bugzilla.novell.com/show_bug.cgi?id=748241
https://bugzilla.novell.com/show_bug.cgi?id=748241#c2
Joseph Mulloy
https://bugzilla.novell.com/show_bug.cgi?id=748241
https://bugzilla.novell.com/show_bug.cgi?id=748241#c3
Joseph Mulloy
https://bugzilla.novell.com/show_bug.cgi?id=748241
https://bugzilla.novell.com/show_bug.cgi?id=748241#c4
--- Comment #4 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=748241
https://bugzilla.novell.com/show_bug.cgi?id=748241#c5
--- Comment #5 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=748241
https://bugzilla.novell.com/show_bug.cgi?id=748241#c6
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=748241
https://bugzilla.novell.com/show_bug.cgi?id=748241#c7
Andreas Jaeger
participants (1)
-
bugzilla_noreply@novell.com