[Bug 376184] New: gdb segfaults while debugging objective-c programs
https://bugzilla.novell.com/show_bug.cgi?id=376184 Summary: gdb segfaults while debugging objective-c programs Product: openSUSE 10.2 Version: Final Platform: 64bit OS/Version: SLES 10 Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: reitenbach@rapideye.de QAContact: qa@suse.de Found By: Customer I want to debug an objective-c program. When I do a print [object class] then gdb breaks: gdb /usr/local/sbin/ogo-webui-1.1 GNU gdb 6.6 Copyright (C) 2006 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 "x86_64-suse-linux"... Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) r -WOUseWatchDog NO -WOPort 20003 Starting program: /usr/local/sbin/ogo-webui-1.1 -WOUseWatchDog NO -WOPort 20003 Apr 02 07:09:24 ogo-webui-1.1 [27592]: SNS support disabled. Apr 02 07:09:24 ogo-webui-1.1 [27592]: Note: storing cached vCards files in: '/raid/ogodocs/documents' Apr 02 07:09:24 ogo-webui-1.1 [27592]: account::change-password: using password field: 'userPassword' Apr 02 07:09:24 ogo-webui-1.1 [27592]: Note: members of role team 'team creators' are allowed to create teams. [Thread debugging using libthread_db enabled] [New Thread 46956111246144 (LWP 27592)] Error while reading shared library symbols: Cannot find new threads: generic error Apr 02 07:09:24 ogo-webui-1.1 [27592]: Note: located themes: OOo, blue, kde, orange Apr 02 07:09:24 ogo-webui-1.1 [27592]: Note: located translations: Slovak, Japanese, Finish, English, Dutch, ptBR, French, German, Danish, Hungarian, Norwegian, Spanish, Portuguese, Basque, Italian, Polish Apr 02 07:09:24 ogo-webui-1.1 [27592]: |ogo-webui-1.1| CTI Dialers: Apr 02 07:09:24 ogo-webui-1.1 [27592]: WOCompoundElement: pool embedding is on. Apr 02 07:09:24 ogo-webui-1.1 [27592]: WOCompoundElement: id logging is on. Apr 02 07:09:25 ogo-webui-1.1 [27592]: [WARN] <0x0xcecb08[JobUIModule]> did not find class as registered in bundle: 'LSWJobImport' <NGBundle 0xb1fcb8 fullPath: /usr/local/lib64/opengroupware.org-1.1/webui/JobUI.lso infoDictionary: 0xcebca8 loaded=yes> Apr 02 07:09:25 ogo-webui-1.1 [27592]: OGoProject: available project bases: FileSystem,Database Apr 02 07:09:25 ogo-webui-1.1 [27592]: Note: load storage bundle: 'OGoFileSystemProject.ds' Apr 02 07:09:25 ogo-webui-1.1 [27592]: Note: load storage bundle: 'OGoDatabaseProject.ds' Apr 02 07:09:25 ogo-webui-1.1 [27592]: Note: doc-viewer did not find Epoz. Apr 02 07:09:25 ogo-webui-1.1 [27592]: Note: found doc-viewers attributes,contents,versions,access,logs Apr 02 07:09:25 ogo-webui-1.1 [27592]: Note: using default doc-viewer rules. Apr 02 07:09:25 ogo-webui-1.1 [27592]: Note: folder-view did not find Epoz. Apr 02 07:09:25 ogo-webui-1.1 [27592]: SkyPersonViewer: form letter types: excel, framemaker, winword Apr 02 07:09:25 ogo-webui-1.1 [27592]: <0x0x2ab4d0319ea0[LSCommandContext]> +[LSCommandContext(LDAPSupport) isLDAPLoginAuthorized:password:]: LDAP server 'ogomail.dmz.intern:389' did not authenticate user 'root' Apr 02 07:09:25 ogo-webui-1.1 [27592]: |ogo-webui-1.1| OpenGroupware.org instance initialized. Apr 02 07:09:25 ogo-webui-1.1 [27592]: |ogo-webui-1.1| WOHttpAdaptor listening on address *:20003 Apr 02 07:09:30 ogo-webui-1.1 [27592]: |ogo-webui-1.1| failed to restore session : ctx: <0x0x103bc18[WOContext]: 00147f3312a0103bc18 app=ogo-webui-1.1 sn=none eid= rqeid=> redirecting to: http://ogo2.rapideye.de:80/OpenGroupware/ 192.168.8.197 - - [02/Apr/2008:07:09:30 GMT] "GET /OpenGroupware HTTP/1.0" 302 351/0 0.003 - - 152K Apr 02 07:10:51 ogo-webui-1.1 [27592]: <0x0x2ab4d0319ea0[LSCommandContext]> +[LSCommandContext(LDAPSupport) isLDAPLoginAuthorized:password:]: LDAP server 'ogomail.dmz.intern:389' did not authenticate user 'ogoroot' Apr 02 07:10:51 ogo-webui-1.1 [27592]: <<0x0x10adc78[WOForm]>>D Note: session-id is requested, but no session is active? 192.168.8.197 - - [02/Apr/2008:07:10:51 GMT] "GET /OpenGroupware HTTP/1.0" 200 1453/0 0.031 5038 71% 572K Program received signal SIGINT, Interrupt. [Switching to Thread 46956111246144 (LWP 27592)] 0x00002ab4d188d513 in __select_nocancel () from /lib64/libc.so.6 (gdb) quit The program is running. Exit anyway? (y or n) y ogo@ogo:~> gdb /usr/local/sbin/ogo-webui-1.1 GNU gdb 6.6 Copyright (C) 2006 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 "x86_64-suse-linux"... Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) r -WOUseWatchDog NO -WOPort 20003 Starting program: /usr/local/sbin/ogo-webui-1.1 -WOUseWatchDog NO -WOPort 20003 Apr 02 07:11:09 ogo-webui-1.1 [27604]: SNS support disabled. Apr 02 07:11:09 ogo-webui-1.1 [27604]: Note: storing cached vCards files in: '/raid/ogodocs/documents' Apr 02 07:11:09 ogo-webui-1.1 [27604]: account::change-password: using password field: 'userPassword' Apr 02 07:11:09 ogo-webui-1.1 [27604]: Note: members of role team 'team creators' are allowed to create teams. [Thread debugging using libthread_db enabled] [New Thread 47294475318080 (LWP 27604)] Error while reading shared library symbols: Cannot find new threads: generic error Apr 02 07:11:09 ogo-webui-1.1 [27604]: Note: located themes: OOo, blue, kde, orange Apr 02 07:11:09 ogo-webui-1.1 [27604]: Note: located translations: Slovak, Japanese, Finish, English, Dutch, ptBR, French, German, Danish, Hungarian, Norwegian, Spanish, Portuguese, Basque, Italian, Polish Apr 02 07:11:09 ogo-webui-1.1 [27604]: |ogo-webui-1.1| CTI Dialers: Apr 02 07:11:09 ogo-webui-1.1 [27604]: WOCompoundElement: pool embedding is on. Apr 02 07:11:09 ogo-webui-1.1 [27604]: WOCompoundElement: id logging is on. Apr 02 07:11:10 ogo-webui-1.1 [27604]: [WARN] <0x0xcecb08[JobUIModule]> did not find class as registered in bundle: 'LSWJobImport' <NGBundle 0xb1fcb8 fullPath: /usr/local/lib64/opengroupware.org-1.1/webui/JobUI.lso infoDictionary: 0xcebca8 loaded=yes> Apr 02 07:11:10 ogo-webui-1.1 [27604]: OGoProject: available project bases: FileSystem,Database Apr 02 07:11:10 ogo-webui-1.1 [27604]: Note: load storage bundle: 'OGoFileSystemProject.ds' Apr 02 07:11:10 ogo-webui-1.1 [27604]: Note: load storage bundle: 'OGoDatabaseProject.ds' Apr 02 07:11:10 ogo-webui-1.1 [27604]: Note: doc-viewer did not find Epoz. Apr 02 07:11:10 ogo-webui-1.1 [27604]: Note: found doc-viewers attributes,contents,versions,access,logs Apr 02 07:11:10 ogo-webui-1.1 [27604]: Note: using default doc-viewer rules. Apr 02 07:11:10 ogo-webui-1.1 [27604]: Note: folder-view did not find Epoz. Apr 02 07:11:10 ogo-webui-1.1 [27604]: SkyPersonViewer: form letter types: excel, framemaker, winword Apr 02 07:11:10 ogo-webui-1.1 [27604]: <0x0x2b0398439ea0[LSCommandContext]> +[LSCommandContext(LDAPSupport) isLDAPLoginAuthorized:password:]: LDAP server 'ogomail.dmz.intern:389' did not authenticate user 'root' Apr 02 07:11:10 ogo-webui-1.1 [27604]: |ogo-webui-1.1| OpenGroupware.org instance initialized. Apr 02 07:11:10 ogo-webui-1.1 [27604]: |ogo-webui-1.1| WOHttpAdaptor listening on address *:20003 Apr 02 07:11:15 ogo-webui-1.1 [27604]: <0x0x2b0398439ea0[LSCommandContext]> +[LSCommandContext(LDAPSupport) isLDAPLoginAuthorized:password:]: LDAP server 'ogomail.dmz.intern:389' did authenticate user 'sre' Apr 02 07:11:15 ogo-webui-1.1 [27604]: <0x0x1065f68[OGoHelpManager]> Note: no OGo documentation installed! Apr 02 07:11:15 ogo-webui-1.1 [27604]: <0x0x1065f68[OGoHelpManager]> SP: Apr 02 07:11:15 ogo-webui-1.1 [27604]: |ogo-webui-1.1| <OpenGroupware[0x0x648428]: name=ogo-webui-1.1>: created session: <OGoSession[0x0x1067d58]: id=6BD46BD40147F33193> Apr 02 07:11:15 ogo-webui-1.1 [27604]: ccaps: <WEClientCapabilities[0x0x107dcc8]: type=Mozilla v5.0 os=Linux cpu=ix86 fast-tbl css2 xul js> Apr 02 07:11:15 ogo-webui-1.1 [27604]: <0x0x2b0398439ea0[LSCommandContext]> +[LSCommandContext(LDAPSupport) isLDAPLoginAuthorized:password:]: LDAP server 'ogomail.dmz.intern:389' did authenticate user 'sre' Apr 02 07:11:15 ogo-webui-1.1 [27604]: <0x0x2b0398439ea0[LSCommandContext]> +[LSCommandContext(LDAPSupport) isLDAPLoginAuthorized:password:]: LDAP server 'ogomail.dmz.intern:389' did authenticate user 'sre' Apr 02 07:11:15 ogo-webui-1.1 [27604]: Note: PostgreSQL72 adaptor using timezone 'GMT' as default Apr 02 07:11:15 ogo-webui-1.1 [27604]: (6BD46BD40147F33193) user sre logged in. Apr 02 07:11:15 ogo-webui-1.1 [27604]: [ERROR] (6BD46BD40147F33193) did not find dockable page: 'Registration' Apr 02 07:11:15 ogo-webui-1.1 [27604]: SkyDock did not find dockable page Registration Apr 02 07:11:15 ogo-webui-1.1 [27604]: Note: using flat-array message notifications! 192.168.8.197 - - [02/Apr/2008:07:11:15 GMT] "POST /OpenGroupware.woa/x/login?da=&o=1207120251 HTTP/1.0" 200 4083/137 0.684 24301 83% 8M Apr 02 07:11:24 ogo-webui-1.1 [27604]: ERROR: missing bundle: OGoPalmDS 192.168.8.197 - - [02/Apr/2008:07:11:24 GMT] "GET /OpenGroupware.woa/x/dock?woinst=27604&page=SkySchedulerPage&cid=00147f331930103bf78&wosid=6BD46BD40147F33193 HTTP/1.0" 200 6065/0 0.130 36114 83% 160K 192.168.8.197 - - [02/Apr/2008:07:11:25 GMT] "GET /OpenGroupware.woa/x/viewApt?oid=9389811&woinst=27604&ctx=00247f3319c016ffa68&entity=Date&tz=MET%20DST&wosid=6BD46BD40147F33193 HTTP/1.0" 200 4808/0 0.114 39898 87% 112K Apr 02 07:11:27 ogo-webui-1.1 [27604]: SkyNoteEditor WARNING: appointment is still a fault! Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47294475318080 (LWP 27604)] 0x00002b0399693cdd in objc_msg_lookup () from /usr/lib64/libobjc.so.1 The output from above is from a SLES10SP1 x86_64 installation, but I've seen the same on a 32 Bit opensuse 10.3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=376184 User reitenbach@rapideye.de added comment https://bugzilla.novell.com/show_bug.cgi?id=376184#c1 --- Comment #1 from Sebastian Reitenbach <reitenbach@rapideye.de> 2008-04-02 01:24:04 MST --- also when issueing the po command it crashes: (gdb) po object Program received signal SIGSEGV, Segmentation fault. 0x00002b9388d37cdd in objc_msg_lookup () from /usr/lib64/libobjc.so.1 The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. To change this behavior use "set unwindonsignal on" Evaluation of the expression containing the function (_NSPrintForDebugger) will be abandoned. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=376184 User reitenbach@rapideye.de added comment https://bugzilla.novell.com/show_bug.cgi?id=376184#c2 --- Comment #2 from Sebastian Reitenbach <reitenbach@rapideye.de> 2008-04-02 05:44:21 MST --- I cut n pasted the wrong stuff in the initial report, here comes the correct stuff: ---Type <return> to continue, or q <return> to quit---q Quit (gdb) frame 1 #1 0x00002ac9a4ae7ccf in _fillInfo (self=0x16afdc8, object=0x537d30, info=0x171dc18) at WOKeyPathAssociation.m:464 464 info->isa = [object class]; (gdb) print [object class] Program received signal SIGSEGV, Segmentation fault. 0x00002ac9a61b9cdd in objc_msg_lookup () from /usr/lib64/libobjc.so.1 The program being debugged was signaled while in a function called from GDB. GDB remains in the frame where the signal was received. To change this behavior use "set unwindonsignal on" Evaluation of the expression containing the function (objc_msg_lookup) will be abandoned. (gdb) bt #0 0x00002ac9a61b9cdd in objc_msg_lookup () from /usr/lib64/libobjc.so.1 #1 <function called from gdb> #2 0x00002ac9a61b9cdd in objc_msg_lookup () from /usr/lib64/libobjc.so.1 #3 0x00002ac9a4ae7ccf in _fillInfo (self=0x16afdc8, object=0x537d30, info=0x171dc18) at WOKeyPathAssociation.m:464 #4 0x00002ac9a4ae74ef in _getComponentValue (self=0x16afdc8, object=0x171dc18, info=0x16afe28) at WOKeyPathAssociation.m:513 #5 0x00002ac9a4ae8d07 in _getValueN (self=0x16afdc8, _count=2, root=0x11b5ec8) at WOKeyPathAssociation.m:702 #6 0x00002ac9a4ae914f in _getValue (self=0x16afdc8, root=0x11b5ec8) at WOKeyPathAssociation.m:715 #7 0x00002ac9a4ae90fd in -[WOKeyPathAssociation valueInComponent:] ( self=0x16afdc8, _cmd=0x2ac9a4d233d0, _component=0x11b5ec8) at WOKeyPathAssociation.m:954 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=376184 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pth@novell.com AssignedTo|pth@novell.com |schwab@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=376184 Philipp Thomas <pth@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pth@novell.com |matz@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com