Re: [Interest] windows Qt application crashes when not run with admin rights
On 6/11/2012 12:35 PM, Guenther Boelter wrote: On 06/12/2012 01:27 AM, Paul Miller wrote: On 6/11/2012 12:24 PM, Guenther Boelter wrote: On 06/12/2012 12:18 AM, Paul Miller wrote: Well this is an odd one. We recently moved from Qt 4.5.3 to 4.7.4. Our application crashes during startup when NOT run with admin rights. Anyone seen anything like this? Hi Paul, are we talking about Windows, Linux or OS X? Windows 7 x64. Where it's crashing, allways at the same point? Yes - it turns out it was a bad pointer dereference - but gave the appearance of working perfectly when running with admin privs! Really weird! ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] windows Qt application crashes when not run with admin rights
On Monday 11 June 2012 19:27:33 Paul Miller wrote: On 6/11/2012 12:24 PM, Guenther Boelter wrote: are we talking about Windows, Linux or OS X? Windows 7 x64. Run it either from QtCreator (if you use it) or from a debugger - Qt messages are written to the Windows debug stream - both will show that stream to you. Running it in a debugger has the added benefit that you see where in the code the crash happened. ...of course the crash will not happen if this is one of those typical Heisenbugs (you can either see them or debug the program - never both) Just in case: make sure you COMPLETELY recompiled ALL components of your program - I've had very strange crashes whenever I forgot to recompile some minor component after an upgrade. Konrad signature.asc Description: This is a digitally signed message part. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] windows Qt application crashes when not run with admin rights
Well this is an odd one. We recently moved from Qt 4.5.3 to 4.7.4. Our application crashes during startup when NOT run with admin rights. Anyone seen anything like this? Hi Paul, It's hard to say for sure without more information, but here are a few things you can check that might help to determine whether the problem lies in Qt or in the app. * Are you able to run your app in debug mode and see where it crashes? * Does your app link to Qt statically or dynamically? * Are the Qt libraries owned by an admin user? * Are the Qt libraries readable/executable by non-admin users? * Do other Qt apps (e.g. something from the demos directory) behave the same way? * Were the Qt libraries built from source or installed by one of the Qt binary packages? Cheers, -- Jason ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] windows Qt application crashes when not run with admin rights
On 06/12/2012 12:18 AM, Paul Miller wrote: Well this is an odd one. We recently moved from Qt 4.5.3 to 4.7.4. Our application crashes during startup when NOT run with admin rights. Anyone seen anything like this? Hi Paul, are we talking about Windows, Linux or OS X? Sounds like a problem with a pointer for me. Debugging would be my first choice, or try to build and run it under Linux in a terminal-window, where hopefully you can see some error-messages. Only an idea Regards Guenther ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] windows Qt application crashes when not run with admin rights
On 6/11/2012 12:24 PM, Guenther Boelter wrote: On 06/12/2012 12:18 AM, Paul Miller wrote: Well this is an odd one. We recently moved from Qt 4.5.3 to 4.7.4. Our application crashes during startup when NOT run with admin rights. Anyone seen anything like this? Hi Paul, are we talking about Windows, Linux or OS X? Windows 7 x64. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] windows Qt application crashes when not run with admin rights
On 06/12/2012 01:27 AM, Paul Miller wrote: On 6/11/2012 12:24 PM, Guenther Boelter wrote: On 06/12/2012 12:18 AM, Paul Miller wrote: Well this is an odd one. We recently moved from Qt 4.5.3 to 4.7.4. Our application crashes during startup when NOT run with admin rights. Anyone seen anything like this? Hi Paul, are we talking about Windows, Linux or OS X? Windows 7 x64. Where it's crashing, allways at the same point? -- DavaoSOFT, the home of ERPel ERPel, das deutsche Warenwirtschaftssystem fuer LINUX http://www.davaosoft.com ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest