[Gambas-user] Issue 578 in gambas: Quiting a program while Showmodal window open segfaults

gambas at ...2524... gambas at ...2524...
Mon Nov 17 22:18:30 CET 2014


Status: New
Owner: ----
Labels: Version Type-Bug Priority-Medium OpSys-Any Dist-Any Arch-Any  
Desktop-Any GUI-Any

New issue 578 by r... at ...1740...: Quiting a program while Showmodal  
window open segfaults
https://code.google.com/p/gambas/issues/detail?id=578

  ____________________________________________________________
/                                                            \
| IMPORTANT NOTE #1                                          |
|                                                            |
| Don't create an issue if you have a compilation problem on |
| the development version. Send a mail to the mailing-list   |
| instead, thanks!                                           |
\____________________________________________________________/
  ____________________________________________________________
/                                                            \
| IMPORTANT NOTE #2                                          |
|                                                            |
| If you encounter several different problems or bugs, (for  |
| example, a bug in your project, and an interpreter crash   |
| while debugging it), please create distinct issues!        |
\____________________________________________________________/

1) Describe the problem.

When you have a program open on showmodal() and do a QUIT Gambas ide  
crashes (segfault 11) or give circular references (4 alloc non freed)

2) Give information about your system. Use the 'System information' menu in
the Gambas IDE, and paste the result there.
[System]
Gambas=3.6.2
OperatingSystem=Linux
Kernel=3.13.0-39-generic
Architecture=x86_64
Distribution=Ubuntu 14.04.1 LTS
Desktop=GNOME
Theme=QGtk
Language=en_US.UTF-8
Memory=7953M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+3=libgtk-3.so.0.1000.8
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4

3) Indicate the Gambas version in the issue labels, and if it is a bug, a
crash, or an enhancement request.

3.6.2

4) Provide a little project that reproduces the bug or the crash.

Attached

5) If your project needs a database, try to provide it, or part of it.

6) Explain clearly how to reproduce the bug or the crash.

Open project click button and them click Quit button.
Watch IDE console.
gbx3: warning: circular references detected:
gbx3:     1 FModal
gbx3:     1 FMain
gbx3: warning: 4 allocation(s) non freed.

My bigger project gives segmentation fault, cannot reproduce that in this  
project though.
  ____________________________________________________________
/                                                            \
| IMPORTANT NOTE #3                                          |
|                                                            |
| By doing that carefully, you have done 50% of the bug fix  |
| job. Often even more!                                      |
\____________________________________________________________/
  ____________________________________________________________
/                                                            \
| IMPORTANT NOTE #4                                          |
|                                                            |
| Google automatically replaces references to Gambas         |
| development revision with links to its own source code     |
| repository, which Gambas does not use at all. So ignore    |
| these links with disdain.                                  |
\____________________________________________________________/






Attachments:
	CrashModal-0.0.1.tar.gz  3.9 KB

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the User mailing list