~$ gdb --args /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort 20000 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid GNU gdb (GDB) 7.3-debian Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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: ... Reading symbols from /usr/sbin/sogod...(no debugging symbols found)...done. (gdb) r Starting program: /usr/sbin/sogod -WOUseWatchDog NO -WONoDetach YES -WOPort 20000 -WOWorkersCount 1 -WOLogFile - -WOPidFile /tmp/sogo.pid [Thread debugging using libthread_db enabled] Jul 30 20:46:52 sogod [17132]: version 2.0.7 (build @shiva.inverse 201307220949) -- starting Jul 30 20:46:52 sogod [17132]: vmem size check enabled: shutting down app when vmem > 1024 MB Jul 30 20:46:52 sogod [17132]: <0x0x7ffff84d5ce0[SOGoProductLoader]> SOGo products loaded from '/usr/lib/GNUstep/SOGo': Jul 30 20:46:52 sogod [17132]: <0x0x7ffff84d5ce0[SOGoProductLoader]> PreferencesUI.SOGo, MailPartViewers.SOGo, ContactsUI.SOGo, AdministrationUI.SOGo, Mailer.SOGo, MailerUI.SOGo, MainUI.SOGo, CommonUI.SOGo, Contacts.SOGo, SchedulerUI.SOGo, Appointments.SOGo Jul 30 20:46:52 sogod [17132]: |SOGo| WOHttpAdaptor listening on address *:20000 /usr/sbin/sogod: Uncaught exception NGCouldNotBindSocketException, reason: Could not bind to address <0x0x7ffff8791df0[NGInternetSocketAddress]: *host port=20000>: Address already used [Inferior 1 (process 17132) exited with code 01] (gdb) c The program is not being run. (gdb) bt No stack. (gdb)