bugGNUstep - Bugs: bug #25655, DBModeler crashes when closing...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #25655: DBModeler crashes when closing window

Submitted by:  Sebastian Reitenbach <buzzdee>
Submitted on:  Sat 21 Feb 2009 10:29:56 AM UTC  
 
Category: gdl2Severity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 21 Feb 2009 05:31:07 PM UTC, comment #4:

In your report you said

"Switching to the diagram view, and then closing it, does not segfault. Also after switching to the diagram view, and then later switching back to the table view again, to close the window doesnt segfault anymore."

i was just saying that the fact that it didn't crash after going to the diagram view was also a bug which I also fixed, Thanks.

matt rice <ratmice>
Project Member
Sat 21 Feb 2009 05:21:01 PM UTC, comment #3:

I've no idea, what you mean by the other comment regarding the DiagramView, but I just tested svn checkout, and the crasher I reported is not existent anymore, thanks.

Sebastian Reitenbach <buzzdee>
Project Member
Sat 21 Feb 2009 03:43:38 PM UTC, comment #2:

I've fixed the leakage in the DiagramView also.

matt rice <ratmice>
Project Member
Sat 21 Feb 2009 03:35:12 PM UTC, comment #1:

Thanks for the report, I have commited a fix to svn which should fix this, about the DiagramView stuff, there is still something to fix there it appears that it is causing leakage of EOModel objects.

David Ayers said he would release a 0.12.1 update when Renaissance is released.

matt rice <ratmice>
Project Member
Sat 21 Feb 2009 10:29:56 AM UTC, original submission:

using DBModeler from gnustep-dl2 0.12.0 segfaults under following condition:

start DBModeler

Create a Postgresql adaptor
Create a new model from database
choose postgresql database
fill in connection information
after the main window appeared, close it by using the X in the top right corner.
DBModeler segfaults.

gdb DBModeler
GNU gdb 6.3
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd4.4"...
(gdb) r
Starting program: /usr/local/bin/DBModeler
2009-02-21 11:08:55.396 DBModeler[30451] Warning: No class description for class named: EOModel

Program received signal SIGSEGV, Segmentation fault.
[Switching to process 30451, thread 0x7de6d800]
0x033e5376 in objc_msg_lookup (receiver=0x84481708, op=0x238a0e50)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
213 /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c: No su ch file or directory.
in /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c
(gdb) bt
#0 0x033e5376 in objc_msg_lookup (receiver=0x84481708, op=0x238a0e50)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
#1 0x033e5376 in objc_msg_lookup (receiver=0x7c1060c8, op=0x238c4700)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
#2 0x033e5376 in objc_msg_lookup (receiver=0x7c1060c8, op=0x238abdb0)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
#3 0x033e5376 in objc_msg_lookup (receiver=0x8bd4a848, op=0x238abe10)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
#4 0x033e5376 in objc_msg_lookup (receiver=0x8bd4a848, op=0x238abe08)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
#5 0x033e5376 in objc_msg_lookup (receiver=0x8bd4a848, op=0x250e1b98)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
#6 0x033e5376 in objc_msg_lookup (receiver=0x7e737088, op=0x3c00a068)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
#7 0x033e5376 in objc_msg_lookup (receiver=0x1, op=0xcfbf29d4)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
#8 0x033e5376 in objc_msg_lookup (receiver=0x1, op=0xcfbf29d4)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
#9 0x033e5376 in objc_msg_lookup (receiver=0x1, op=0xcfbf29d4)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
#10 0x033e5376 in objc_msg_lookup (receiver=0x0, op=0xcfbf2b81)
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
#11 0x033e5376 in objc_msg_lookup (receiver=Cannot access memory at address 0x9
)
---Type <return> to continue, or q <return> to quit---
at /usr/obj/i386/gcc-4.2.20070307/gcc-4.2-20070307/libobjc/sendmsg.c:213
Previous frame inner to this frame (corrupt stack?)

Also after editing in the Table View, and then closing this window, produces segfaults.

Switching to the diagram view, and then closing it, does not segfault. Also after switching to the diagram view, and then later switching back to the table view again, to close the window doesnt segfault anymore.

this happens on OpenBSD 4.4, i386, with following packages installed:

libffi-3.0.8
gnustep-make-2.0.8
gnustep-base-1.18.0p0
gnustep-back-0.16.0 (using xlib)
gnustep-gui-0.16.0
gnustep-renaissance-0.8.0
gnustep-gorm-1.2.8
gnustep-dl2-0.12.0

Sebastian Reitenbach <buzzdee>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ratmice (Posted a comment)
  • -unavailable- added by buzzdee (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 21 Feb 2009 05:31:07 PM UTCratmiceStatusNone=>Fixed
      Open/ClosedIn Test=>Closed
    Sat 21 Feb 2009 03:43:38 PM UTCratmiceOpen/ClosedOpen=>In Test

    Back to the top


    Powered by Savane 3.1-cleanup1