Page 1 of 2 12 LastLast
Results 1 to 20 of 32

Thread: QT4.1.1 and later fail on windows 2000

  1. #1
    Join Date
    Apr 2006
    Posts
    40
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QT4.1.1 and later fail on windows 2000

    I've tried everything I can think of, and I can't get QT 4.1.1 or 4.1.2 to work on a windows 2000 box I'm using here. QT 4.1.0 works perfectly fine though. I've gone as far as recompiling everything under each version, and the only one I can get working is 4.1.0 still. This is on a celeron 433, 256MB ram so it takes a little while

    When I try to start anything, (QT assistant, QT designer, any examples or demos, etc), an error box will come up (see attachment), which doesn't really say anything. Although the message says an error log is being generated, I don't see where any is saved. Anyone have any idea of what I could try?
    Attached Images Attached Images

  2. #2
    Join Date
    Feb 2006
    Location
    New Delhi,India
    Posts
    226
    Thanks
    14
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QT4.1.1 and later fail on windows 2000

    Hi...

    what are the directory locations of the three installations...
    All you have to decide is what to do with the time that is given to you

  3. #3
    Join Date
    Apr 2006
    Posts
    40
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT4.1.1 and later fail on windows 2000

    c:\qt\<version>


    I completely clean out the system of any qt related files between each install. The install works perfectly, and I can compile each version from source perfectly, but only the 4.1.0 version executables actually work without giving me that error.

  4. #4
    Join Date
    Apr 2006
    Posts
    40
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT4.1.1 and later fail on windows 2000

    Well, no one has any idea? Is there anyone else around running win2000 and using qt 4.1.1 or 4.1.2? It would be nice to know if this is my problem, in which case I can try wiping the drive and starting over.

  5. #5
    Join Date
    Jan 2006
    Location
    Lincoln, NE USA
    Posts
    177
    Thanks
    3
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT4.1.1 and later fail on windows 2000

    Quote Originally Posted by Spockmeat
    Well, no one has any idea? Is there anyone else around running win2000 and using qt 4.1.1 or 4.1.2? It would be nice to know if this is my problem, in which case I can try wiping the drive and starting over.
    I'm running 4.1.0 on a W2K box but I've been waiting before I upgrade because I am in the middle of deploying a production app and I don't want to "switch horses in the middle of the stream". As soon as the production is running to everyone's satisfaction I'll be upgrading to the latest and greatest Qt4.x. That could be later this week or next, but as soon as I do I'll post the results here.

  6. #6
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QT4.1.1 and later fail on windows 2000

    Quote Originally Posted by Spockmeat
    Well, no one has any idea? Is there anyone else around running win2000 and using qt 4.1.1 or 4.1.2?
    Qt is routinely tested on Windows 2000, there are no known issues with Windows 2000 - which doesn't mean there are no unknown issues :-)

  7. #7
    Join Date
    Feb 2006
    Location
    New Delhi,India
    Posts
    226
    Thanks
    14
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QT4.1.1 and later fail on windows 2000

    Hi...

    I am also running the QT versions 4.1.1 or 4.1.2 on Win 2K and are perfectly running fine..

    Though it seems odd but you can try this thing out.. This might help..
    On you C:\Qt\ directory, just let there be only one version existing at a time.. remove all of them or move them to some other location.. dont let them be there in C:\qt... best would be to some other directory..
    Then run the configure and then the make... this would set ur current version as the compiling one and then use it to execute other applications..
    This is not the best soln but worked for me sometimes... dont forget to set the enviornment variables of ur current version..

    Kapil
    All you have to decide is what to do with the time that is given to you

  8. #8
    Join Date
    Apr 2006
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QT4.1.1 and later fail on windows 2000

    I have the same problem on my Windows 2000 SP4.
    I installed QT4.1.2 last night, which was the first QT installation on my system.
    All tools like Designer, Linguist etc. are crashing at startup with the same error-message.

    I hope somebody can help me, too

    Ingenium

  9. #9
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QT4.1.1 and later fail on windows 2000

    Quote Originally Posted by Spockmeat
    Although the message says an error log is being generated, I don't see where any is saved. Anyone have any idea of what I could try?
    It would really help to get the log. Maybe it's saved in the system log?

  10. #10
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QT4.1.1 and later fail on windows 2000

    This looks like a problem with corrupted Windows 2000 systems, nothing specific to Qt. It happens with other programs too:But we really need the log to tell for sure.

    The log files could be in the windows\system32 folder, otherwise search for a drwtsn32.log file on your system.

  11. #11
    Join Date
    Apr 2006
    Posts
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QT4.1.1 and later fail on windows 2000

    Hi,

    Quote Originally Posted by dimitri
    This looks like a problem with corrupted Windows 2000 systems, nothing specific to Qt. It happens with other programs too:
    I don't think. I've installed it 2 month ago and it make no problems, except QT. I've installed the installer, not the source-package.

    Quote Originally Posted by dimitri
    But we really need the log to tell for sure.
    Well, here is my dump. But i don't know to interpret it:

    Event Type: Information
    Event Source: DrWatson
    Event Category: None
    Event ID: 4097
    Date: 14.04.2006
    Time: 01:41:03
    User: N/A
    Computer: NEWTON
    Description:
    The application, , generated an application error The error occurred on 04/14/2006 @ 01:41:03.050 The exception generated was c000001d at address 006817AA (<nosymbols>)
    Data:
    ...

  12. #12
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QT4.1.1 and later fail on windows 2000

    Quote Originally Posted by ingenium
    I don't think. I've installed it 2 month ago and it make no problems, except QT. I've installed the installer, not the source-package.
    I'm not saying this should happen with all other programs, it happens with some other programs. I still think it's not a Qt problem.

    Just search Google for similar errors... According to some of the items returned by Google it could apparently be a problem with your anti-virus or the result of a hardware failure.

    Also read How to troubleshoot program faults with Dr. Watson.
    Last edited by dimitri; 15th April 2006 at 11:37.

  13. #13
    Join Date
    Apr 2006
    Posts
    40
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT4.1.1 and later fail on windows 2000

    Ok, I found the Dr. Watson log file. Here's the error report generated when I tried to start designer version 4.1.1. I stopped just about every process and service I could before trying to run designer.

    The problem is definitely not related to anti-virus as I turned that off.
    I'll be looking into this this week, I have a few ideas to try, but as this is a slow computer, it takes a while to try stuff.


    Qt Code:
    1. Application exception occurred:
    2. App: (pid=628)
    3. When: 4/17/2006 @ 13:02:10.802
    4. Exception number: c000001d (illegal instruction)
    5.  
    6. *----> System Information <----*
    7. Computer Name: TESTBOX
    8. User Name: Administrator
    9. Number of Processors: 1
    10. Processor Type: x86 Family 6 Model 6 Stepping 5
    11. Windows 2000 Version: 5.0
    12. Current Build: 2195
    13. Service Pack: 4
    14. Current Type: Uniprocessor Free
    15. Registered Organization:
    16. Registered Owner:
    17.  
    18. *----> Task List <----*
    19. 0 Idle.exe
    20. 8 System.exe
    21. 132 SMSS.exe
    22. 160 CSRSS.exe
    23. 180 WINLOGON.exe
    24. 208 SERVICES.exe
    25. 220 LSASS.exe
    26. 368 svchost.exe
    27. 584 svchost.exe
    28. 108 explorer.exe
    29. 1124 ccApp.exe
    30. 980 CTFMON.exe
    31. 628 designer.exe
    32. 1016 DRWTSN32.exe
    33. 0 _Total.exe
    34.  
    35. (00400000 - 004BD000)
    36. (77F80000 - 77FFC000)
    37. (7C570000 - 7C623000)
    38. (6FBC0000 - 6FBC8000)
    39. (78000000 - 78045000)
    40. (10000000 - 101AD000)
    41. (7C2D0000 - 7C335000)
    42. (77D30000 - 77DA8000)
    43. (7CE20000 - 7CF0F000)
    44. (77F40000 - 77F7C000)
    45. (77E10000 - 77E79000)
    46. (75030000 - 75044000)
    47. (75020000 - 75028000)
    48. (004C0000 - 00678000)
    49. (00680000 - 00BFC000)
    50. (76B30000 - 76B6E000)
    51. (70A70000 - 70AD6000)
    52. (71710000 - 71794000)
    53. (7CF30000 - 7D175000)
    54. (75E60000 - 75E7A000)
    55. (779B0000 - 77A4B000)
    56. (77570000 - 775A0000)
    57. (77800000 - 7781E000)
    58. (76620000 - 76631000)
    59. (00C00000 - 00C5E000)
    60. (00C60000 - 00DB3000)
    61. (00DC0000 - 00E3A000)
    62. (60000000 - 60045000)
    63. (01980000 - 019AF000)
    64. (019B0000 - 01A05000)
    65.  
    66. State Dump for Thread Id 0x264
    67.  
    68. eax=000000ff ebx=0188abe0 ecx=00000000 edx=0022b990 esi=00000010 edi=0022b990
    69. eip=006817aa esp=0022b8f0 ebp=0022b908 iopl=0 nv up ei ng nz na po cy
    70. cs=001b ss=0023 ds=0023 es=0023 fs=0038 gs=0000 efl=00200287
    71.  
    72.  
    73. function: <nosymbols>
    74. 0068178a 2d4871b200 sub eax,0xb27148
    75. 0068178f 0f6f ???
    76. 00681791 d88db4260000 fmul dword ptr [ebp+0x26b4] ss:0022dfbc=00000001
    77. 00681797 0000 add [eax],al ds:000000ff=??
    78. 00681799 8dbc2700000000 lea edi,[edi] ds:0022b990=00000000
    79. 006817a0 0f6e ???
    80. 006817a2 048f add al,0x8f
    81. 006817a4 0f60 ???
    82. 006817a6 c3 ret
    83. 006817a7 0f6f ???
    84. 006817a9 d00f ror byte ptr [edi],1 ds:0022b990=00
    85. 006817ab 70c0 jo ZN12QApplication5styleEv+0x44d (0069176d)
    86. 006817ad ff0f dec dword ptr [edi] ds:0022b990=00000000
    87. 006817af ef out dx,eax
    88. 006817b0 c70f6fc80f6e mov dword ptr [edi],0x6e0fc86f ds:0022b990=00000000
    89. 006817b6 048b add al,0x8b
    90. 006817b8 0f60 ???
    91. 006817ba c3 ret
    92. 006817bb 0fd5 ???
    93. 006817bd c10fdd ror dword ptr [edi],0xdd ds:0022b990=00000000
    94. 006817c0 c50f lds ecx,[edi] ds:0022b990=340700000000
    95. 006817c2 6f outsd
    96.  
    97. *----> Stack Back Trace <----*
    98.  
    99. FramePtr ReturnAd Param#1 Param#2 Param#3 Param#4 Function Name
    100. 0022B908 007B9A87 000000FF 00000000 00000000 00000000 !<nosymbols>
    101. 0022D9A8 007C07E1 0000000F 01892414 0022DDF0 00000080 !ZNK7QMatrix3mapERK7QRegion
    102. 0022DC28 007A8B33 01892008 0022DC50 00000000 00000000 !ZNK7QMatrix3mapERK7QRegion
    103. 0022DCB8 007AD3E6 018C33A8 01892F9C 007B9580 0022DDF0 !ZNK7QMatrix3mapERK7QRegion
    104. 0022DCE8 007AE0EF 018887A0 0022DDB0 0022DDF0 00000001 !ZNK7QMatrix3mapERK7QRegion
    105. 0022EEA8 0078396C 018887A0 0022EF80 01888860 0022EFA0 !ZNK7QMatrix3mapERK7QRegion
    106. 0022F018 0071FCC2 0022F170 0022F140 01888860 0022F1A0 !ZN8QPainter9drawImageERK6QRectFRK6QImageS2_6QFlagsIN2Qt19ImageConversionFlagEE
    107. 0022F218 007204B4 0022F2B0 01888860 0022F2C0 00000001 !ZNK6QImage11transformedERK7QMatrixN2Qt18TransformationModeE
    108. 0022F328 0073DC90 0022F390 01888860 0022F410 00000000 !ZNK6QImage6scaledERK5QSizeN2Qt15AspectRatioModeENS3_18TransformationModeE
    109. 0022F3C8 00713BEF 0022F450 0022F650 0022F410 00000000 !ZNK7QPixmap6scaledERK5QSizeN2Qt15AspectRatioModeENS3_18TransformationModeE
    110. 0022F548 007110DB 0022F650 01888288 0022F5B8 00000000 !ZN5QIconC2ERK7QString
    111. 0022F568 00709F22 0022F650 0022F6F0 0022F5B8 00000000 !ZNK5QIcon6pixmapERK5QSizeNS_4ModeENS_5StateE
    112. 0022F678 0070A28D 0022F6F0 00000010 00000010 00F0B2B0 !ZN14QWidgetPrivate18setWindowTitle_sysERK7QString
    113. 0022F718 006DEC32 00F0B198 00000000 00F00688 0022F7D0 !ZN14QWidgetPrivate17setWindowIcon_sysEb
    114. 0022F8D8 00689D79 00F0B170 0022FCE0 0022FCE0 10008403 !ZN7QWidget5eventEP6QEvent
    115. 0022F908 00689F27 00F04400 00F0B170 0022FCE0 0071A821 !ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent
    116. 0022FC68 00689C47 0022FDF0 00F0B170 0022FCE0 0045309C !ZN12QApplication6notifyEP7QObjectP6QEvent
    117. 0022FD08 0040320D 0022FD60 0022FD70 00F043D8 00000000 !ZN12QApplication13setWindowIconERK5QIcon
    118. 0022FD98 004012F0 0022FDF0 0022FE30 00F043D8 00F04391 !<nosymbols>
    119. 0022FE28 0043D58B 00000001 00F043D8 00F04390 00000001 !<nosymbols>
    120. 0022FEF8 0043D22A 00400000 00000000 0023439F 00000001 !<nosymbols>
    121. 0022FF78 004011E7 00000001 00F03B40 00F02AE8 004A3000 !<nosymbols>
    122. 0022FFB0 00401258 00000002 00000009 0022FFF0 7C598989 !<nosymbols>
    123. 0022FFC0 7C598989 00000000 00000000 7FFDF000 C000001D !<nosymbols>
    124. 0022FFF0 00000000 00401240 00000000 000000C8 00000100 kernel32!ProcessIdToSessionId
    125.  
    126. *----> Raw Stack Dump <----*
    127. 0022b8f0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    128. 0022b900 80 00 00 00 80 00 00 00 - a8 d9 22 00 87 9a 7b 00 .........."...{.
    129. 0022b910 ff 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    130. 0022b920 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    131. 0022b930 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    132. 0022b940 80 00 00 00 80 00 00 00 - 80 00 00 00 80 00 00 00 ................
    133. 0022b950 7c 00 00 00 d0 b9 22 00 - d0 b9 22 00 10 00 00 00 |....."...".....
    134. 0022b960 00 80 03 00 00 80 83 00 - a0 33 8b 01 e0 ab 88 01 .........3......
    135. 0022b970 00 00 00 00 00 00 08 00 - 80 00 00 00 80 00 00 00 ................
    136. 0022b980 d0 16 68 00 00 00 04 00 - 7f 0f 7f 03 10 00 00 00 ..h.............
    137. 0022b990 00 00 00 00 07 34 23 e4 - 1b c6 87 ff 04 1e 15 61 .....4#........a
    138. 0022b9a0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    139. 0022b9b0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    140. 0022b9c0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    141. 0022b9d0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    142. 0022b9e0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    143. 0022b9f0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    144. 0022ba00 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    145. 0022ba10 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    146. 0022ba20 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ................
    To copy to clipboard, switch view to plain text mode 

  14. #14
    Join Date
    Apr 2006
    Posts
    31
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT4.1.1 and later fail on windows 2000

    Quote Originally Posted by Spockmeat
    Ok, I found the Dr. Watson log file. Here's the error report generated when I tried to start designer version 4.1.1. I stopped just about every process and service I could before trying to run designer.

    Qt Code:
    1. Application exception occurred:
    2. App: (pid=628)
    3. When: 4/17/2006 @ 13:02:10.802
    4. Exception number: c000001d (illegal instruction)
    To copy to clipboard, switch view to plain text mode 
    Same here. On a P-II (Deschutes) and on a P-Pro the program crashes with exactly the same illegal instruction, even the disassably looks very familiar.

    The same executable is running fine on newer machines, even with Win-ME

    I am compiling the whole stuff with the additional option -march=i586 and will look tomorrow. In parallel I wrote a mail to the mingw guys, maybe their dll needs a modern processor.

  15. #15
    Join Date
    Apr 2006
    Posts
    31
    Thanks
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Thumbs up Re: QT4.1.1 and later fail on windows 2000

    Quote Originally Posted by Wurgl
    I am compiling the whole stuff with the additional option -march=i586 and will look tomorrow.
    Okay! Works now. I added -march=i586 to the makefiles in gui and corelib cleared out all those object files and recompiled these two directories.

    Works fine.

  16. The following user says thank you to Wurgl for this useful post:

    Spockmeat (26th April 2006)

  17. #16
    Join Date
    Apr 2006
    Posts
    40
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Talking Re: QT4.1.1 and later fail on windows 2000

    Awesome! I did just that on QT 4.1.1 and it seems to be working just fine now. I'll try the same on QT 4.1.2 just to make sure that works as well, so I'll post again in another day or two when that's done compiling.

    Incidentally, the celeron in this comp is old enough to be based on the Pentium II architecture. I was wondering if something like that were the problem, I'm glad you found the answer so quickly

  18. #17
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QT4.1.1 and later fail on windows 2000

    Ah, that's interesting. I wouldn't have thought MinGW generates code for relatively recent processors by default.

    By the way, have you find any documentation or other link? I haven't able to find anything relevant with Google.

    Ah, a different search came up with:
    Last edited by dimitri; 25th April 2006 at 00:35.

  19. #18
    Join Date
    Apr 2006
    Posts
    40
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Thumbs up Re: QT4.1.1 and later fail on windows 2000

    Yep, 4.1.2 works fine now. What I did to make sure everything was compiled ok was to add the -march=i586 to the line

    QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -march=i586

    in the file $QTDIR\mkspecs\win32-g++\qmake.conf
    I guess something changed enough between 4.1.0 and 4.1.1 for mingw to compile something different enough to break things by default. I'm glad this is all sorted out now

  20. #19
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QT4.1.1 and later fail on windows 2000

    I've looked into the Qt source files and found in src/gui/painting/painting.pri:
    Qt Code:
    1. } else:sse|win32-g++ {
    2. sse_compiler.commands = $$QMAKE_CXX -c -msse [...]
    3. [...]
    4. QMAKE_EXTRA_COMPILERS += sse_compiler
    5. DEFINES += QT_HAVE_SSE
    6.  
    7. SSE_SOURCES += painting/qdrawhelper_x86.cpp
    To copy to clipboard, switch view to plain text mode 
    It looks like Qt forces the compilation of this file with -msse which looks wrong to me since the default target for MinGW is still -march=i386. It could be that adding -march=i586 to QMAKE_CXXFLAGS overrides -msse and fixes the problem.

    Now I don't understand why the problem occurs with Qt 4.1.1 and Qt 4.1.2 only. This part of src/gui/painting/painting.pri hasn't changed since Qt 4.1.0. Maybe this is the result of adding new code in src/gui/painting/qdrawhelper_x86.cpp that really takes advantage of the -msse optimization?

    This needs some additional investigation... Could you do me a favor? Try rebuilding Qt after removing -msse from src/gui/painting/painting.pri and without adding -march=i586. Does it help?

  21. #20
    Join Date
    Apr 2006
    Posts
    40
    Thanks
    4
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QT4.1.1 and later fail on windows 2000

    Ya I can try that, it'll be a day or so for it to recompile. Using sse instructions would definitly fail on that processor though, I checked it with cpuz, and the only extension listed is mmx, it's that old of a chip.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.