Richard,

would you mind submitting this to the gambas list on my behalf, as as
per usual my messages seem to vanish?


---------- Forwarded message ----------
From: Ian Haywood <ihaywo...@gmail.com>
Date: Thu, Jul 26, 2012 at 7:53 PM
Subject: seg fault when shutting down programme
To: mailing list for gambas users <gambas-user@lists.sourceforge.net>

when shutting down my program I get this error in the gdb:


GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/gbx3...done.
(gdb) run
Starting program: /usr/local/bin/gbx3
[Thread debugging using libthread_db enabled]
gb.qt4: warning: unable to load Qt translation: en_AU.UTF-8
Cantarell,11
(Font 0xb335b8)
[New Thread 0x7fffdc5e5700 (LWP 18180)]
[New Thread 0x7fffdbcd4700 (LWP 18181)]
clearing editor pages
gbx3: warning: circular references detected:
gbx3:     1 FDocumentMetaData
gbx3:     1 FExportClinical
gbx3:     1 FScratchPad
gbx3:     1 FPatientsSelect
gbx3:     1 FDayList
gbx3:    16 CCoolButton
gbx3:     1 FHtmlViewer
gbx3:     1 FClinical
gbx3:     1 FMain

Program received signal SIGSEGV, Segmentation fault.
release (class=0xa87c70, ob=0xd35918) at gbx_object.c:308
308                     release(class->parent, ob);

doing bt gives

#0  release (class=0xa87c70, ob=0xd35918) at gbx_object.c:308
#1  0x00000000004263a0 in release (class=0xb6bc40, ob=0xd35918) at
gbx_object.c:308
#2  0x00000000004263a0 in release (class=0xb6aea0, ob=0xd35918) at
gbx_object.c:308
#3  0x00000000004263a0 in release (class=0xb6b390, ob=0xd35918) at
gbx_object.c:308
#4  0x00000000004263a0 in release (class=0xb6b6a0, ob=0xd35918) at
gbx_object.c:308
#5  0x00000000004263a0 in release (class=0x9c4d90, ob=0xd35918) at
gbx_object.c:308
....
- ---Type <return> to continue, or q <return> to quit---

pressing return continues on basically forever, so presumably it's an
infinite loop of some sort.

My project (same as Richard Terry's) is 200k+ lines of code, if you
really want to look it's at svn://ozdocit.org/easygp/trunk/client/
I can't isolate the problem into a smaller project at this stage.

If I run it in the IDE I get the error "Null object" but this doesn't
seem to relate to any of my code and generally makes even less sense.
http://haywood.id.au/null-object.png

any clues as to where to look for the source of the problem?

Ian


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to