[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug #3395] Segmentation fault in ProjectCenter when run a tool couple t
From: |
nobody |
Subject: |
[Bug #3395] Segmentation fault in ProjectCenter when run a tool couple times. |
Date: |
Wed, 30 Apr 2003 11:11:25 -0400 |
=================== BUG #3395: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3395&group_id=99
Changes by: Alexander Malmberg <alexander@malmberg.org>
Date: Wed 04/30/2003 at 17:11 (Europe/Stockholm)
What | Removed | Added
---------------------------------------------------------------------------
Assigned to | alexm | None
------------------ Additional Follow-up Comments ----------------------------
It does crash when I do this, but in a different place. I'm unassigning this,
as it probably isn't a text system issue (or at least not only a text system
issue). A backtrace with debugging info would be helpful.
#0 0x40657d19 in __emulate_poll (fds=0x82376c8, nfds=8, timeout=0) at
../sysdeps/unix/bsd/poll.c:152
#1 0x40432eb2 in -[GSRunLoopCtxt pollUntil:within:] (self=0x81bcb48,
_cmd=0x405086c8, milliseconds=0, contexts=0x81ba050)
at NSRunLoop.m:685
#2 0x40435cfe in -[NSRunLoop acceptInputForMode:beforeDate:] (self=0x81b9888,
_cmd=0x405086e0, mode=0x405087a8,
limit_date=0x81bc858) at NSRunLoop.m:2017
#3 0x4043624b in -[NSRunLoop runMode:beforeDate:] (self=0x81b9888,
_cmd=0x40312790, mode=0x405087a8, date=0x81bda48)
at NSRunLoop.m:2098
#4 0x4022fda5 in -[GSDisplayServer(EventOps)
getEventMatchingMask:beforeDate:inMode:dequeue:] (self=0x8158f80,
_cmd=0x40849328, mask=4294967295, limit=0x81bda48, mode=0x405087a8, flag=1
'\001') at GSDisplayServer.m:906
#5 0x40804108 in -[XGServer(X11Ops)
getEventMatchingMask:beforeDate:inMode:dequeue:] (self=0x8158f80,
_cmd=0x402dada0,
mask=3221220408, limit=0xbfffec38, mode=0xbfffec38, flag=1 '\001') at
XGServerEvent.m:1843
#6 0x400ee4b0 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] (self=0x8172348,
_cmd=0xbfffec38,
mask=4294967295, expiration=0x81bda48, mode=0x405087a8, flag=1 '\001') at
GSDisplayServer.h:159
#7 0x400ecb66 in -[NSApplication run] (self=0x8172348, _cmd=0x402d9848) at
NSApplication.m:1036
#8 0x400e3c63 in NSApplicationMain (argc=1, argv=0xbffff120) at Functions.m:72
#9 0x08055702 in main (argc=0, argv=0x0) at ProjectCenter_main.m:50
#10 0x405959b3 in __libc_start_main (main=0x80555a0 <main>, argc=1,
ubp_av=0xbffff120, init=0x80493bc <_init>,
fini=0x8057860 <_fini>, rtld_fini=0x4000bf20 <_dl_fini>,
stack_end=0xbffff11c) at ../sysdeps/generic/libc-start.c:129
=================== BUG #3395: FULL BUG SNAPSHOT ===================
Submitted by: yjchen Project: GNUstep
Submitted on: Tue 04/29/2003 at 20:38
Category: Application Severity: 5 - Major
Bug Group: Bug Resolution: None
Assigned to: None Status: Open
Summary: Segmentation fault in ProjectCenter when run a tool couple times.
Original Submission: 1. openapp ProjectCenter
2. Project->New (Type: Tool).
3. In main.m, add NSLog(@"Test"); under // Your code here...
4. File->Save File
5. Press "Build" button to build.
6. Press "Run" to run this tool couple times.
7. Segmentation fault after 2-4 times.
Back trace:
#0 0x4024e78f in
_i_GSLayoutManager_glyphs_glyphRangeForCharacterRange_actualCharacterRange_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#1 0x40182d7c in
_i_NSLayoutManager__textStorage_edited_range_changeInLength_invalidatedRange_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#2 0x40202874 in _i_NSTextStorage__processEditing ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#3 0x402025e8 in _i_NSTextStorage__edited_range_changeInLength_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#4 0x40232b8f in _i_GSTextStorage__replaceCharactersInRange_withString_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#5 0x4024363a in _i_NSTextView__replaceCharactersInRange_withString_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#6 0x401fd002 in _i_NSText__setString_ ()#7 0x40039096 in
_i_PCProjectDebugger__run_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libProjectCenter.so.0
#8 0x40427afd in _i_NSObject__performSelector_withObject_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-base.so.1
#9 0x40117ced in _i_NSApplication__sendAction_to_from_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#10 0x40158930 in _i_NSControl__sendAction_to_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#11 0x40187dd8 in _i_NSMatrix__sendAction_to_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#12 0x4013f7ae in _i_NSCell__trackMouse_inRect_ofView_untilMouseUp_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#13 0x40188465 in _i_NSMatrix___mouseDownNonListMode_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#14 0x40188cb3 in _i_NSMatrix__mouseDown_ ()
from /usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/l
#15 0x4021d320 in _i_NSWindow__sendEvent_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#16 0x401176e0 in _i_NSApplication__sendEvent_ ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#17 0x4011656b in _i_NSApplication__run ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#18 0x4010eacf in NSApplicationMain ()
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
#19 0x080537a1 in main ()
#20 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
from
/usr/local/GNUstep/System/Library/Libraries/ix86/linux-gnu/gnu-gnu-gnu/libgnustep-gui.so.0
Follow-up Comments
*******************
-------------------------------------------------------
Date: Wed 04/30/2003 at 17:11 By: alexm
It does crash when I do this, but in a different place. I'm unassigning this,
as it probably isn't a text system issue (or at least not only a text system
issue). A backtrace with debugging info would be helpful.
#0 0x40657d19 in __emulate_poll (fds=0x82376c8, nfds=8, timeout=0) at
../sysdeps/unix/bsd/poll.c:152
#1 0x40432eb2 in -[GSRunLoopCtxt pollUntil:within:] (self=0x81bcb48,
_cmd=0x405086c8, milliseconds=0, contexts=0x81ba050)
at NSRunLoop.m:685
#2 0x40435cfe in -[NSRunLoop acceptInputForMode:beforeDate:] (self=0x81b9888,
_cmd=0x405086e0, mode=0x405087a8,
limit_date=0x81bc858) at NSRunLoop.m:2017
#3 0x4043624b in -[NSRunLoop runMode:beforeDate:] (self=0x81b9888,
_cmd=0x40312790, mode=0x405087a8, date=0x81bda48)
at NSRunLoop.m:2098
#4 0x4022fda5 in -[GSDisplayServer(EventOps)
getEventMatchingMask:beforeDate:inMode:dequeue:] (self=0x8158f80,
_cmd=0x40849328, mask=4294967295, limit=0x81bda48, mode=0x405087a8, flag=1
'\001') at GSDisplayServer.m:906
#5 0x40804108 in -[XGServer(X11Ops)
getEventMatchingMask:beforeDate:inMode:dequeue:] (self=0x8158f80,
_cmd=0x402dada0,
mask=3221220408, limit=0xbfffec38, mode=0xbfffec38, flag=1 '\001') at
XGServerEvent.m:1843
#6 0x400ee4b0 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] (self=0x8172348,
_cmd=0xbfffec38,
mask=4294967295, expiration=0x81bda48, mode=0x405087a8, flag=1 '\001') at
GSDisplayServer.h:159
#7 0x400ecb66 in -[NSApplication run] (self=0x8172348, _cmd=0x402d9848) at
NSApplication.m:1036
#8 0x400e3c63 in NSApplicationMain (argc=1, argv=0xbffff120) at Functions.m:72
#9 0x08055702 in main (argc=0, argv=0x0) at ProjectCenter_main.m:50
#10 0x405959b3 in __libc_start_main (main=0x80555a0 <main>, argc=1,
ubp_av=0xbffff120, init=0x80493bc <_init>,
fini=0x8057860 <_fini>, rtld_fini=0x4000bf20 <_dl_fini>,
stack_end=0xbffff11c) at ../sysdeps/generic/libc-start.c:129
-------------------------------------------------------
Date: Wed 04/30/2003 at 15:44 By: yjchen
I try a fresh GNUstep and ProjectCenter both on FreeBSD and Linux.
It works fine on FreeBSD, but segment fault on Linux.
So weird that it is OS-dependent.
But from my experience, FreeBSD can tolerate more memory leak than Linux.
I even deleted the installed GNUstep and downloaded a clean source code from
CVS.
If no one can reproduce it, it may be a problem of my Linux machine.
-------------------------------------------------------
Date: Wed 04/30/2003 at 02:41 By: alexm
Which version of -gui is this? It looks like a bug that was fixed in cvs
2003-04-03.
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=3395&group_id=99