Bug 1200247
Summary: | Qprintpreviewdialog crash | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | angelo.scarna | ||||||
Component: | mingw-qt | Assignee: | Thomas Sailer <fedora> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 21 | CC: | angelo.scarna, drizt72, erik-fedora, fedora, rjones | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Windows | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | mingw-qt-4.8.6-7.fc21 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2015-03-31 21:57:14 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Created attachment 999754 [details]
Print preview test crash
make a test case please. PNG images do not help a lot. This is evidenced by the error event log windows: Nome registro: Application Origine: Application Error Data: 10/03/2015 15:31:57 ID evento: 1000 Categoria attività :(100) Livello: Errore Parole chiave: Classico Utente: N/D Computer: angelo-PC Descrizione: Nome dell'applicazione che ha generato l'errore: fabaria_gest.exe, versione: 0.0.0.0, timestamp: 0x54fe03dd Nome del modulo che ha generato l'errore: unknown, versione: 0.0.0.0, timestamp: 0x00000000 Codice eccezione: 0xc0000005 Offset errore 0xfffffffffe133acc ID processo che ha generato l'errore: 0x974 Ora di avvio dell'applicazione che ha generato l'errore: 0x01d05b3eed878ba8 Percorso dell'applicazione che ha generato l'errore: C:\Program Files\FabariaGest\fabaria_gest.exe Percorso del modulo che ha generato l'errore: unknown ID segnalazione: 3458ea4d-c732-11e4-82d4-080027af2bfd XML evento: <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> <System> <Provider Name="Application Error" /> <EventID Qualifiers="0">1000</EventID> <Level>2</Level> <Task>100</Task> <Keywords>0x80000000000000</Keywords> <TimeCreated SystemTime="2015-03-10T14:31:57.000000000Z" /> <EventRecordID>1592</EventRecordID> <Channel>Application</Channel> <Computer>angelo-PC</Computer> <Security /> </System> <EventData> <Data>fabaria_gest.exe</Data> <Data>0.0.0.0</Data> <Data>54fe03dd</Data> <Data>unknown</Data> <Data>0.0.0.0</Data> <Data>00000000</Data> <Data>c0000005</Data> <Data>fffffffffe133acc</Data> <Data>974</Data> <Data>01d05b3eed878ba8</Data> <Data>C:\Program Files\FabariaGest\fabaria_gest.exe</Data> <Data>unknown</Data> <Data>3458ea4d-c732-11e4-82d4-080027af2bfd</Data> </EventData> </Event> The application closes when calling the print preview We cannot do anything with an instruction pointer to an executable we don't have and don't have the source code, we really need some (small) test case (source code) that reproduces the problem. The source code is download http://www.codelinsoft.it/sito/download/categoria-linux/CodiceFiscale/codice-fiscale-source.raw The source code is download http://www.codelinsoft.it/sito/download/categoria-linux/CodiceFiscale/codice-fiscale-source.raw Could you please try to get a backtrace of the crash using gdb? Here are the instructions: On the Fedora machine: * yum install mingw32-gdb * yum install mingw32-qt-debuginfo --enablerepo=fedora-debuginfo --enablerepo=updates-debuginfo * copy the following files from your Fedora machine (the folder /usr/i686-w64-mingw32/sys-root/mingw/bin) to to application folder on your Windows machine: gdb.exe iconv.dll libexpat-1.dll QtCore4.dll.debug QtGui4.dll.debug On your Windows machine open a command prompt and do the following: * cd to the folder with your application and the gdb executable * gdb.exe fabaria_gest.exe * run <trigger the crash> * backtrace * bt full * info locals Please paste the complete output of the command prompt to this bug Starting program: C:\Users\angelo\Desktop\FabariaGest-1.0-win64\fabaria_gest.exe [New Thread 2812.0x98] [New Thread 2812.0x24c] [New Thread 2812.0x770] [New Thread 2812.0xaa0] [New Thread 2812.0x994] Program received signal SIGSEGV, Segmentation fault. 0xffffffffff8f3acc in ?? () The problem occurs only with mingw64 #0 0xffffffffff893acc in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) Starting program: C:\Users\angelo\Desktop\debug\codicefiscale.exe [New Thread 3008.0xbc4] [New Thread 3008.0xbc8] [New Thread 3008.0xbcc] [New Thread 3008.0xbd0] [New Thread 3008.0xbd4] [New Thread 3008.0xbd8] Program received signal SIGSEGV, Segmentation fault. 0xffffffffff893acc in ?? () (gdb) bt #0 0xffffffffff893acc in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) For win64 please repeat the exact same steps, but with the packages 'mingw64-gdb' and 'mingw64-qt-debuginfo' and the folder /usr/x86_64-w64-mingw32/sys-root/bin This is output: Starting program: C:\Users\angelo\Desktop\debug\codicefiscale.exe [New Thread 2840.0xb2c] [New Thread 2840.0xb24] [New Thread 2840.0xb34] [New Thread 2840.0xb1c] [New Thread 2840.0xb20] [New Thread 2840.0xb38] Program received signal SIGSEGV, Segmentation fault. 0xfffffffffe953acc in ?? () (gdb) backtrace #0 0xfffffffffe953acc in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) bt full #0 0xfffffffffe953acc in ?? () No symbol table info available. Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) info locals No symbol table info available. Please recompile your executable with debugging enabled (the '-g' flag needs to be added to gcc/g++) and try again. Also make sure that the libraries QtCore4.dll and QtGui4.dll are exactly the same on both your Fedora environment as your Windows environment otherwise the Qt debug symbols can not be loaded. This is the output compiled with -g: (gdb) run Starting program: C:\Users\angelo\Desktop\debug\codicefiscale.exe [New Thread 1500.0x3f4] warning: section .gnu_debuglink not found in C:\Users\angelo\Desktop\debug\QtCor ed4.dll.debug warning: section .gnu_debuglink not found in C:\Users\angelo\Desktop\debug\QtGui d4.dll.debug warning: section .gnu_debuglink not found in C:\Users\angelo\Desktop\debug\QtNet workd4.dll.debug warning: section .gnu_debuglink not found in C:\Users\angelo\Desktop\debug\QtXml d4.dll.debug [New Thread 1500.0x91c] [New Thread 1500.0xa74] [New Thread 1500.0x270] [New Thread 1500.0x12c] [New Thread 1500.0x8b4] Program received signal SIGSEGV, Segmentation fault. 0xfffffffffe953acc in ?? () (gdb) backtrace #0 0xfffffffffe953acc in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) bt full #0 0xfffffffffe953acc in ?? () No symbol table info available. Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) cont Continuing. Program received signal SIGSEGV, Segmentation fault. 0xfffffffffe953acc in ?? () (gdb) bt #0 0xfffffffffe953acc in ?? () Backtrace stopped: previous frame identical to this frame (corrupt stack?) (gdb) The version used is the qt 4.8.6 I did downgrade the qt 4.8.6-3 and working properly. So will a bug compiled version .. Thanks for the support ... What version of the mingw64-qt package were you using which was showing this crash? Or did you perhaps try to use precompiled Qt libraries from another source? I used your library . Is 4.8.6-6 I use your library included in the Fedora Linux 21. The library is 4.8.6-6 What version of mingw64-winpthreads do you have installed? In the Fedora 21 updates repository the latest available version of that package is 4.0-0.1.rc1.fc21. The library libwinpthread-1.dll from this package should also be made available on your Windows environment along with your application. The version of mingw64-winpthreads installed is 4.0-0.1.rc1,fc21. The software via gdb gives me the following error. (gdb) run Starting program: C:\Program Files\FabariaGest\fabaria_gest.exe [New Thread 2756.0xac8] [New Thread 2756.0xacc] [New Thread 2756.0xae0] [New Thread 2756.0xae4] [New Thread 2756.0xae8] Program received signal SIGSEGV, Segmentation fault. 0xfffffffffedf3acc in ?? () (gdb) The problem resides in the package qt and not in the other libraries . Perhaps it should be recompiled . Could you check if the RPMs from http://koji.fedoraproject.org/koji/taskinfo?taskID=9291618 (qt) and http://koji.fedoraproject.org/koji/buildinfo?buildID=622255 (winpthreads) also cause a crash? It works perfectly . Thanks for the support. mingw-qt-4.8.6-7.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/mingw-qt-4.8.6-7.fc21 mingw-qt-4.8.6-7.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/mingw-qt-4.8.6-7.fc22 Package mingw-qt-4.8.6-7.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing mingw-qt-4.8.6-7.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-4491/mingw-qt-4.8.6-7.fc21 then log in and leave karma (feedback). mingw-qt-4.8.6-7.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. mingw-qt-4.8.6-7.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 999753 [details] Print preview test Goog morning, qprintpreviewdialog closes unexpectedly. With the 32 -bit mingw the problem does not exist . Trust in your help . Thank You.