[Pidgin] #10966: libpurple/tests/check_libpurple fails
Pidgin
trac at pidgin.im
Sat Dec 12 09:26:07 EST 2009
#10966: libpurple/tests/check_libpurple fails
--------------------+-------------------------------------------------------
Reporter: pioto | Owner:
Type: defect | Status: new
Milestone: | Component: libpurple
Version: 2.6.4 | Resolution:
Keywords: |
--------------------+-------------------------------------------------------
Description changed by pioto:
Old description:
> When running `make check`, I get a segfault from the libpurple test:
>
> {{{
> Running suite(s): Master Suite
> Cipher Suite
> Jabber Utility Functions
> QQ
> Yahoo Utility Functions
> Utility Functions
> 100%: Checks: 80, Failures: 0, Errors: 0
> /bin/sh: line 5: 19582 Segmentation fault ${dir}$tst
> FAIL: check_libpurple
> }}}
>
> When I hook in gdb and get a backtrace...
>
> {{{
> GNU gdb (GDB) 7.0
> Copyright (C) 2009 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> 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-pc-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /var/tmp/paludis/build/net-im-
> pidgin-2.6.4/work/pidgin-2.6.4/libpurple/tests/.libs/check_libpurple...done.
> (gdb) run
> Starting program: /var/tmp/paludis/build/net-im-
> pidgin-2.6.4/work/pidgin-2.6.4/libpurple/tests/.libs/check_libpurple
> [Thread debugging using libthread_db enabled]
> Running suite(s): Master Suite
> Cipher Suite
> Jabber Utility Functions
> QQ
> Yahoo Utility Functions
> Utility Functions
> 100%: Checks: 80, Failures: 0, Errors: 0
>
> Program received signal SIGSEGV, Segmentation fault.
> purple_plugin_ipc_unregister_all (plugin=0x618180) at plugin.c:1099
> 1099 plugin.c: No such file or directory.
> in plugin.c
> (gdb) thread apply all bt full
>
> Thread 1 (Thread 0x2aaaae9593e0 (LWP 19816)):
> #0 purple_plugin_ipc_unregister_all (plugin=0x618180) at plugin.c:1099
> __PRETTY_FUNCTION__ = "purple_plugin_ipc_unregister_all"
> #1 0x00002aaaaba42efb in jabber_uninit_plugin (plugin=0x618180) at
> jabber.c:3553
> No locals.
> #2 0x00002aaab159fb2a in unload_plugin (plugin=<value optimized out>) at
> libxmpp.c:230
> No locals.
> #3 0x00002aaaac164625 in purple_plugin_unload (plugin=0x661090) at
> plugin.c:696
> l = 0x0
> ll = 0x401d60
> __PRETTY_FUNCTION__ = "purple_plugin_unload"
> #4 0x00002aaaac164a18 in purple_plugin_destroy (plugin=0x661090) at
> plugin.c:806
> __PRETTY_FUNCTION__ = "purple_plugin_destroy"
> #5 0x00002aaaac164be8 in purple_plugins_destroy_all () at plugin.c:1273
> No locals.
> #6 0x00002aaaac14be94 in purple_core_quit () at core.c:247
> ops = <value optimized out>
> core = 0x61dfe0
> __PRETTY_FUNCTION__ = "purple_core_quit"
> #7 0x0000000000401f4e in main () at check_libpurple.c:90
> number_failed = 0
> sr = 0x613070
> }}}
>
> I built with:
>
> {{{
> $ ./configure --prefix=/usr --host= --mandir=/usr/share/man
> --infodir=/usr/share/info --datadir=/usr/share
> --docdir=/usr/share/doc/pidgin-2.6.4 --sysconfdir=/etc
> --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-
> rules --enable-fast-install --libdir=/usr/lib --disable-meanwhile
> --enable-nss=no --enable-idn --enable-gtkui --enable-screensaver
> --enable-consoleui --enable-nls --enable-dbus --disable-perl --enable-
> startup-notification --enable-gstreamer --enable-gstinterfaces --disable-
> avahi --enable-nm --disable-tcl --disable-tk --enable-gnutls=yes
> --enable-gtkspell --enable-vv --enable-farsight --with-x --without-perl-
> lib
> }}}
New description:
When running `make check`, I get a segfault from the libpurple test:
{{{
Running suite(s): Master Suite
Cipher Suite
Jabber Utility Functions
QQ
Yahoo Utility Functions
Utility Functions
100%: Checks: 80, Failures: 0, Errors: 0
/bin/sh: line 5: 19582 Segmentation fault ${dir}$tst
FAIL: check_libpurple
}}}
When I hook in gdb and get a backtrace...
{{{
GNU gdb (GDB) 7.0
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
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-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /var/tmp/paludis/build/net-im-
pidgin-2.6.4/work/pidgin-2.6.4/libpurple/tests/.libs/check_libpurple...done.
(gdb) run
Starting program: /var/tmp/paludis/build/net-im-
pidgin-2.6.4/work/pidgin-2.6.4/libpurple/tests/.libs/check_libpurple
[Thread debugging using libthread_db enabled]
Running suite(s): Master Suite
Cipher Suite
Jabber Utility Functions
QQ
Yahoo Utility Functions
Utility Functions
100%: Checks: 80, Failures: 0, Errors: 0
Program received signal SIGSEGV, Segmentation fault.
purple_plugin_ipc_unregister_all (plugin=0x618180) at plugin.c:1099
1099 plugin.c: No such file or directory.
in plugin.c
(gdb) thread apply all bt full
Thread 1 (Thread 0x2aaaae9593e0 (LWP 19816)):
#0 purple_plugin_ipc_unregister_all (plugin=0x618180) at plugin.c:1099
__PRETTY_FUNCTION__ = "purple_plugin_ipc_unregister_all"
#1 0x00002aaaaba42efb in jabber_uninit_plugin (plugin=0x618180) at
jabber.c:3553
No locals.
#2 0x00002aaab159fb2a in unload_plugin (plugin=<value optimized out>) at
libxmpp.c:230
No locals.
#3 0x00002aaaac164625 in purple_plugin_unload (plugin=0x661090) at
plugin.c:696
l = 0x0
ll = 0x401d60
__PRETTY_FUNCTION__ = "purple_plugin_unload"
#4 0x00002aaaac164a18 in purple_plugin_destroy (plugin=0x661090) at
plugin.c:806
__PRETTY_FUNCTION__ = "purple_plugin_destroy"
#5 0x00002aaaac164be8 in purple_plugins_destroy_all () at plugin.c:1273
No locals.
#6 0x00002aaaac14be94 in purple_core_quit () at core.c:247
ops = <value optimized out>
core = 0x61dfe0
__PRETTY_FUNCTION__ = "purple_core_quit"
#7 0x0000000000401f4e in main () at check_libpurple.c:90
number_failed = 0
sr = 0x613070
}}}
I built with:
$ ./configure --prefix=/usr --host= --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share
--docdir=/usr/share/doc/pidgin-2.6.4 --sysconfdir=/etc
--localstatedir=/var/lib --disable-dependency-tracking --disable-silent-
rules --enable-fast-install --libdir=/usr/lib --disable-meanwhile
--enable-nss=no --enable-idn --enable-gtkui --enable-screensaver --enable-
consoleui --enable-nls --enable-dbus --disable-perl --enable-startup-
notification --enable-gstreamer --enable-gstinterfaces --disable-avahi
--enable-nm --disable-tcl --disable-tk --enable-gnutls=yes --enable-
gtkspell --enable-vv --enable-farsight --with-x --without-perl-lib
--
--
Ticket URL: <http://developer.pidgin.im/ticket/10966#comment:1>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list