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'
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'
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|
: created session:
Apr 02 07:11:15 ogo-webui-1.1 [27604]: ccaps:
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.