EionRobb / skype4pidgin

Skype Plugin for Pidgin, libpurple and more
https://github.com/EionRobb/skype4pidgin/tree/master/skypeweb#skypeweb-plugin-for-pidgin
624 stars 88 forks source link

Latest Pidgin PPA update causes crash #96

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Update Pidgin to 2.6.4 from the Ubuntu Pidgin-Developer PPA
2. Restart Pidgin (assuming Skype4Pidgin was already installed and enabled)

What is the expected output? What do you see instead?
Pidgin doesn't start at all. From cli crashes with a seg fault.

What version of the plugin are you using? On what operating system?
The latest from this website. 

Please provide any additional information below.
If I go into my home folder and rename .purple, Pidgin will start and
prompt to make a new account. If I start with a Skype account using
Skype4Pidgin, the moment I okay the new account, Pidgin crashes.

Uninstalling Skype4Pidgin, then renaming the archived .purple folder back
to .purple, then starting Pidgin, all is well again (sans the Skype account).

Of course, this might be particular to my Xubuntu Karmic install with
Pidgin and Skype4Pidgin. It needs others experiencing the same to confirm
this behaviour.

Original issue reported on code.google.com by slumber...@gmail.com on 14 Dec 2009 at 2:51

GoogleCodeExporter commented 9 years ago
Issue 97 has been merged into this issue.

Original comment by eionrobb on 14 Dec 2009 at 2:58

GoogleCodeExporter commented 9 years ago
Can you get a gdb backtrace of the crash.

Original comment by eionrobb on 14 Dec 2009 at 2:58

GoogleCodeExporter commented 9 years ago
GNU gdb (GDB) 7.0-ubuntu
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-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/pidgin...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/pidgin 
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffdef9e910 (LWP 6841)]
[New Thread 0x7fffdc618910 (LWP 6881)]
[Thread 0x7fffdc618910 (LWP 6881) exited]
[New Thread 0x7fffdc618910 (LWP 6887)]
[New Thread 0x7fffd9148910 (LWP 6888)]
[New Thread 0x7fffd8947910 (LWP 6889)]
[Thread 0x7fffd8947910 (LWP 6889) exited]
[New Thread 0x7fffd8947910 (LWP 6890)]
[Thread 0x7fffd8947910 (LWP 6890) exited]
[New Thread 0x7fffd8947910 (LWP 6891)]
[New Thread 0x7fffd8146910 (LWP 6892)]
[New Thread 0x7fffd7945910 (LWP 6893)]
[Thread 0x7fffd7945910 (LWP 6893) exited]
[Thread 0x7fffd8146910 (LWP 6892) exited]
[Thread 0x7fffd8947910 (LWP 6891) exited]
[New Thread 0x7fffd8947910 (LWP 6894)]
[Thread 0x7fffd8947910 (LWP 6894) exited]
[New Thread 0x7fffd8947910 (LWP 6895)]
[New Thread 0x7fffd8146910 (LWP 6897)]
[Thread 0x7fffd8947910 (LWP 6895) exited]
[New Thread 0x7fffd7945910 (LWP 6898)]
[New Thread 0x7fffd8947910 (LWP 6899)]
[Thread 0x7fffd8947910 (LWP 6899) exited]
[New Thread 0x7fffd7144910 (LWP 6900)]
[New Thread 0x7fffd8947910 (LWP 6901)]
[New Thread 0x7fffd6943910 (LWP 6902)]
[Thread 0x7fffd8947910 (LWP 6901) exited]
[Thread 0x7fffd7144910 (LWP 6900) exited]
[Thread 0x7fffd6943910 (LWP 6902) exited]
[Thread 0x7fffd8146910 (LWP 6897) exited]
[Thread 0x7fffd7945910 (LWP 6898) exited]

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff4823a87 in _IO_vfprintf_internal (s=0x7fffffffba90, 
    format=<value optimized out>, ap=0x7fffffffbc30) at vfprintf.c:1601
1601    vfprintf.c: No such file or directory.
    in vfprintf.c
(gdb) backtrace
#0  0x00007ffff4823a87 in _IO_vfprintf_internal (s=0x7fffffffba90, 
    format=<value optimized out>, ap=0x7fffffffbc30) at vfprintf.c:1601
#1  0x00007ffff48d20cc in *__GI___vasprintf_chk (result_ptr=0x7fffffffbbe8, 
    flags=1, format=0x7fffe0a2d008 "Buddy not in list %s\n", 
    args=0x7fffffffbc30) at vasprintf_chk.c:68
#2  0x00007ffff4e3e91b in g_vasprintf () from /lib/libglib-2.0.so.0
#3  0x00007ffff4e2b050 in g_strdup_vprintf () from /lib/libglib-2.0.so.0
#4  0x00007fffe0a244ca in skype_debug_vargs (level=PURPLE_DEBUG_INFO, 
    category=0x7fffe0a2d8fb "skype", 
    format=0x7fffe0a2d008 "Buddy not in list %s\n", args=0x7fffffffbc30)
    at debug.c:102
#5  0x00007fffe0a2475b in skype_debug_info (
    category=0x7fffffffb948 "\210\262\237\365\377\177", 
    format=0x18 <Address 0x18 out of bounds>) at debug.c:51
#6  0x00007fffe0a27f3f in skype_set_buddies (acct=0xd2e4b0) at libskype.c:941
#7  0x00007ffff4e0a2db in ?? () from /lib/libglib-2.0.so.0
#8  0x00007ffff4e09bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#9  0x00007ffff4e0d598 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007ffff4e0d9f5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#11 0x00007ffff699b177 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00000000004858bf in main ()

Original comment by depasquale.andrea@gmail.com on 26 Dec 2009 at 4:46

GoogleCodeExporter commented 9 years ago
Try this:

1) Install Debian version
    http://packages.debian.org/sid/pidgin-skype

2) Recreate Pidgin-Skype account:
- Quit pidgin
- Backup account list
 # cd
 # cp .purple/accounts.xml .
- Edit .purple/accounts.xml
- Search for "prpl-bigbrownchunx-skype" and remove that section from <account> 
to
</account>
- Start pidgin
- Create skype account

Original comment by gabriele...@yahoo.it on 28 Dec 2009 at 5:53

GoogleCodeExporter commented 9 years ago
Thanks, it solved the issue for me.

Original comment by depasquale.andrea@gmail.com on 29 Dec 2009 at 2:46

GoogleCodeExporter commented 9 years ago
Similar issue for me.

Skype4Pidgin allows you to automatically launch skype when pidgin starts. 
However, I get 
a "segmentation fault" unless I have started skype before I start Pidgin.

Any way to solve this?

Original comment by basu.abh...@gmail.com on 30 Jan 2010 at 2:43

GoogleCodeExporter commented 9 years ago
basu.abhiroop, can you get a backtrace too?

Original comment by eionrobb on 30 Jan 2010 at 2:49

GoogleCodeExporter commented 9 years ago
How would I do that?

Original comment by basu.abh...@gmail.com on 30 Jan 2010 at 2:52

GoogleCodeExporter commented 9 years ago
http://developer.pidgin.im/wiki/GetABacktrace :)

Original comment by eionrobb on 30 Jan 2010 at 3:15

GoogleCodeExporter commented 9 years ago
Is this enough?

$ gdb pidgin
GNU gdb (GDB) 7.0-ubuntu
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 "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/pidgin...(no debugging symbols found)...done.
(gdb) handle SIGPIPE nostop noprint
Signal        Stop  Print   Pass to program Description
SIGPIPE       No    No  Yes     Broken pipe
(gdb) run
Starting program: /usr/bin/pidgin 
[Thread debugging using libthread_db enabled]
[New Thread 0xb7eacb70 (LWP 13895)]

Program received signal SIGSEGV, Segmentation fault.
0x00de7967 in strchrnul () from /lib/tls/i686/cmov/libc.so.6
(gdb) pidgin
Undefined command: "pidgin".  Try "help".
(gdb) bt full
#0  0x00de7967 in strchrnul () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1  0x00dacbf0 in vfprintf () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x00e50ab2 in __vasprintf_chk () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#3  0x008e897f in g_vasprintf () from /lib/libglib-2.0.so.0
No symbol table info available.
#4  0x008d4486 in g_strdup_vprintf () from /lib/libglib-2.0.so.0
No symbol table info available.
#5  0x019e5976 in skype_debug_vargs (level=27199688, 
    category=0x19f014d "_INSTANCE", format=0x1 <Address 0x1 out of bounds>, 
    args=0x0) at debug.c:102
No locals.
#6  0x019eaf4d in skype_login (acct=0x817b6e8) at libskype.c:1468
        gc = 0x870ba98
        reply = <value optimized out>
#7  0x00b64f9f in _purple_connection_new () from /usr/lib/libpurple.so.0
No symbol table info available.
#8  0x00b4e8f4 in purple_account_connect () from /usr/lib/libpurple.so.0
No symbol table info available.
#9  0x00b4ea75 in purple_accounts_restore_current_statuses ()
   from /usr/lib/libpurple.so.0
---Type <return> to continue, or q <return> to quit---

Original comment by basu.abh...@gmail.com on 30 Jan 2010 at 3:20