| Anonymous | Login | Signup for a new account | 2010-02-09 03:13 CET |
| All Projects | FPC | Lazarus: Packages, Patches | Lazarus CCR | Mantis | fpGUI |
| Main | My View | View Issues | Change Log | Roadmap | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0015101 | [Lazarus] Widgetset | minor | always | 2009-11-15 23:03 | 2009-11-27 16:05 | ||||
| Reporter | Luiz Americo | View Status | public | ||||||
| Assigned To | Zeljan Rikalo | ||||||||
| Priority | normal | Resolution | no change required | ||||||
| Status | closed | Product Version | 0.9.29 (SVN) | ||||||
| Summary | 0015101: Access violation in IDE when removing empty methods using the refactoring tool | ||||||||
| Description |
Under Qt, an access violation occurs when trying to remove an empty method using the refactoring tool. To get the bug, create an empty project, double click on the form (will create the FormCreate method). Inside FormCreate call Refactoring > Show Empty Methods and then press Remove Methods Lazarus 0.9.29 r22606 FPC 2.2.4 i386-linux-qt (beta) |
||||||||
| Additional Information | |||||||||
| Tags | No tags attached. | ||||||||
| Fixed in Revision | |||||||||
| LazTarget | - | ||||||||
| Widgetset | QT | ||||||||
| Attached Files | |||||||||
|
|
|||||||||
Notes |
|
|
(0032236) Vincent Snijders (manager) 2009-11-18 09:47 |
I got no error on windows using the win32/win64 widgetset. So I assume this is a qt specific error and assign it to Zeljan. |
|
(0032237) Zeljan Rikalo (developer) 2009-11-18 11:03 |
hm..I have not such problems with r22574 (currently out of city, cannot update to latest svn to test), but my distro is Fedora 11. Can you write your Qt version please, and send me debug log ? |
|
(0032294) Luiz Americo (developer) 2009-11-19 21:02 |
I'm under Ubuntu 9.04, using Lazarus 0.9.29 r22684 FPC 2.2.4 i386-linux-qt (beta) plus Qt 4.5.0. The debug log: TMainIDE.ParseCmdLineOptions: PrimaryConfigPath="/home/luiz/.lazarus" SecondaryConfigPath="/etc/lazarus" TMainIDE.DoNewProject A TMainIDE.DoNewEditorFile END unit1.pas TDesigner.InvokeComponentEditor A Form1:TForm1 TDesigner.InvokeComponentEditor B TDefaultComponentEditor RemoveEmptyMethods Clearing Property=OnCreate AMethodName=FormCreate TApplication.HandleException Access violation Stack trace: $B6FACC3B $B6FABCA7 $B6FD6C6A $B5AB9B88 $B5ABD0EB $B5ABD268 $B7958438 $B6FD6365 $B792DB06 $B7EFD22C $081DA553 $08084DAA $08086A5F $08086E9F $081DA533 $08086E5A $0805F938 TMainIDE.CloseUnitComponent unit1.pas Form1:TForm1 TProject.UpdateUnitComponentDependencies checking properties ... TProject.UpdateUnitComponentDependencies checking designers ... TProject.UpdateUnitComponentDependencies used by designer: unit1.pas TMainIDE.CloseUnitComponent freeing component and designer: unit1.pas Form1:TForm1 TProject.UpdateUnitComponentDependencies checking designers ... LAZARUS END - cleaning up ... [TMainIDE.Destroy] A [TMainIDE.Destroy] B -> inherited Destroy... TMainIDE [TMainIDE.Destroy] END |
|
(0032295) Luiz Americo (developer) 2009-11-19 21:08 |
The gdb callstack: #0 QMenu::findIdForAction at :0 0000001 ?? at :0 0000002 ?? at :0 0000003 QMenu::mouseReleaseEvent at :0 0000004 QWidget::event at :0 0000005 QMenu::event at :0 0000006 QApplicationPrivate::notify_helper at :0 0000007 QApplication::notify at :0 0000008 QCoreApplication::notifyInternal at :0 0000009 QApplicationPrivate::sendMouseEvent at :0 0000010 ?? at :0 0000011 QApplication::x11ProcessEvent at :0 0000012 ?? at :0 0000013 g_main_context_dispatch at :0 0000014 ?? at :0 0000015 g_main_context_iteration at :0 0000016 QEventDispatcherGlib::processEvents at :0 0000017 ?? at :0 0000018 QCoreApplication::processEvents at :0 0000019 QCoreApplication_processEvents at :0 0000020 TQTWIDGETSET__APPWAITMESSAGE(0xb7ef0100) at qtobject.inc:169 0000021 TAPPLICATION__IDLE(true, 0xb55e2010) at application.inc:338 0000022 TAPPLICATION__HANDLEMESSAGE(0xb55e2010) at application.inc:1139 0000023 TAPPLICATION__RUNLOOP(0xb55e2010) at application.inc:1272 0000024 TQTWIDGETSET__APPRUN(0x8086e60 <TAPPLICATION__RUNLOOP>, 0xb7ef0100) at qtobject.inc:152 0000025 TAPPLICATION__RUN(0xb55e2010) at application.inc:1260 0000026 main at lazarus.pp:115 |
|
(0032307) Zeljan Rikalo (developer) 2009-11-20 09:01 |
hm...could be problem with qt version (yours is 4.5.0), I'm using 4.5.3. It's pretty strange that ubuntu have not update for qt since 4.5.0 is pretty old and 4.5.3 fixed a bunch of bugs. |
|
(0032372) Zeljan Rikalo (developer) 2009-11-23 12:32 |
Just tested on fresh Fedora 12 installation, also FC11 and mine FC3 and cannot reproduce it (Qt-4.5.3 on all distros), also tested under win32 with Qt-4.5.3 , so can conclude that this is qt 4.5.0 bug |
|
(0032516) Zeljan Rikalo (developer) 2009-11-27 08:44 |
Bug is because of Qt version (4.5.0), just tested on ubuntu 9.04 and it happens there.On ubuntu 9.10 it does not happen since it have qt-4.5.3. |

