Skip to content

Instantly share code, notes, and snippets.

@darklajid
Created May 19, 2014 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darklajid/3d8a68db1941493e7f0c to your computer and use it in GitHub Desktop.
Save darklajid/3d8a68db1941493e7f0c to your computer and use it in GitHub Desktop.
pidgin-opensteamworks sigsev
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7514696 in __strcmp_ssse3 () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff7514696 in __strcmp_ssse3 () from /usr/lib/libc.so.6
#1 0x00007ffff77d2fc9 in g_str_equal () from /usr/lib/libglib-2.0.so.0
#2 0x00007fffe2a1dcd5 in ?? () from /usr/lib/purple-2/libsteam.so
#3 0x00007ffff7b1d78e in purple_plugin_load (plugin=0x706560) at plugin.c:606
#4 0x00007ffff7b1e9dd in purple_plugins_probe (ext=0x7fffe31f7ceb "pl") at plugin.c:1419
#5 0x00007ffff7b1ea70 in purple_plugins_probe (ext=0x7ffff1ff35e1 "tcl") at plugin.c:1413
#6 0x00007ffff7b1ea70 in purple_plugins_probe (ext=0x400834 "so") at plugin.c:1413
#7 0x0000000000400799 in main ()
// Compile with
// gcc -o conftest -I/usr/include/libpurple -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -Werror -Wall -Wextra -Waggregate-return -Wcast-align -Wdeclaration-after-statement -Wdeprecated-declarations - Winit-self -Wmaybe-uninitialized -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wundef -Wunused-but-set-variable conftest.c -lpurple -lglib-2.0
/* confdefs.h */
#define PACKAGE_NAME "pidgin-sipe"
#define PACKAGE_TARNAME "pidgin-sipe"
#define PACKAGE_VERSION "1.18.0"
#define PACKAGE_STRING "pidgin-sipe 1.18.0"
#define PACKAGE_BUGREPORT "https://sourceforge.net/p/sipe/bugs/"
#define PACKAGE_URL "http://sipe.sourceforge.net/"
#define SIPE_TRANSLATIONS_URL "https://www.transifex.com/projects/p/pidgin-sipe/r/mob/"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H 1
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#define HAVE_UNISTD_H 1
#define HAVE_DLFCN_H 1
#define LT_OBJDIR ".libs/"
#define HAVE_GSSAPI_GSSAPI_H 1
#define HAVE_GSSAPI_GSSAPI_KRB5_H 1
#define HAVE_GSSAPI_PASSWORD_SUPPORT 1
#define HAVE_GMIME 1
/* end confdefs.h. */
#include <glib.h>
#include <plugin.h>
#include <sslconn.h>
int
main ()
{
purple_plugins_init();
purple_plugins_probe(G_MODULE_SUFFIX);
purple_ssl_init();
return(purple_ssl_is_supported()?0:1);
;
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment