#121 crashes when sending encrypted message(3.0b6 & 2.0b6)

closed
None
8
2007-04-07
2007-01-23
No

Hy,
I have a problem with gaim-encryption 3.0beta6 on gaim 2.0.0beta6 on my win-machine.
Always when I want to start an encrypted conversation ans send the first message whole gaim crashes instandly.

The encryption-partner has version 3.0.0beta6 with gaim 2.0.0beta5, but I´m not sure if there ist any communication before the crash...

Thnks a lot,
don

Discussion

  • Don Parmigiano

    Don Parmigiano - 2007-01-23
    • priority: 5 --> 7
    • assigned_to: nobody --> obobo
     
  • Anonymous - 2007-01-25

    Logged In: YES
    user_id=1700918
    Originator: NO

    Crashes when trying to send an encrypted converstation. Have removed all local keys as well as buddy keys with no change. Remote client has b6 as well

     
  • Matthew Boehm

    Matthew Boehm - 2007-01-26

    Logged In: YES
    user_id=496768
    Originator: NO

    same here. what can we provide to you to solve this?

     
  • Matthew Boehm

    Matthew Boehm - 2007-01-26

    Logged In: YES
    user_id=496768
    Originator: NO

    Both me and friend have GAIM 2.0.0b6 and G-Enc 3.0b6. Both running WinXP

     
  • Mikey Cooper

    Mikey Cooper - 2007-01-27

    Logged In: YES
    user_id=970367
    Originator: NO

    I have the same issue on my WinXP and Ubuntu Feisty boxes. Downgrading to gaim beta5 makes the issue go away.

     
  • FXUsa

    FXUsa - 2007-01-29

    Logged In: YES
    user_id=1704638
    Originator: NO

    I exprienced the same issue and below is the log from the GAIM
    -------------------

    Error occured on Monday, January 29, 2007 at 10:28:44.

    C:\Program Files\GaimBeta\gaim.exe caused an Access Violation at location 68a32230 in module C:\Program Files\GaimBeta\libgaim.dll Reading from location 6c707280.

    Registers:
    eax=6c707270 ebx=01218050 ecx=000005dc edx=7efeff00 esi=023f37e0 edi=012154d0
    eip=68a32230 esp=0022d2b0 ebp=0022d2e8 iopl=0 nv up ei pl nz na pe nc
    cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00010202

    Call stack:
    68A32230 C:\Program Files\GaimBeta\libgaim.dll:68A32230 serv_send_im c:/devel/gaim-devel/gaim-2.0.0beta6/libgaim/server.c:127
    6C3C5CEF C:\Program Files\GaimBeta\plugins\encrypt.dll:6C3C5CEF GE_send_key C:/cygwin/home/billt/gaim-2.0.0beta4/gtk/plugins/gaim-encryption-3.0beta6/encrypt.c:204
    6C3C6930 C:\Program Files\GaimBeta\plugins\encrypt.dll:6C3C6930 GE_got_msg_cb C:/cygwin/home/billt/gaim-2.0.0beta4/gtk/plugins/gaim-encryption-3.0beta6/encrypt.c:582
    68A34AC9 C:\Program Files\GaimBeta\libgaim.dll:68A34AC9 gaim_marshal_BOOLEAN__POINTER_POINTER_POINTER_POINTER_POINTER c:/devel/gaim-devel/gaim-2.0.0beta6/libgaim/signals.c:930
    68A342EB C:\Program Files\GaimBeta\libgaim.dll:68A342EB gaim_signal_emit_vargs_return_1 c:/devel/gaim-devel/gaim-2.0.0beta6/libgaim/signals.c:567
    68A3438C C:\Program Files\GaimBeta\libgaim.dll:68A3438C gaim_signal_emit_return_1 c:/devel/gaim-devel/gaim-2.0.0beta6/libgaim/signals.c:509
    68A32BAE C:\Program Files\GaimBeta\libgaim.dll:68A32BAE serv_got_im c:/devel/gaim-devel/gaim-2.0.0beta6/libgaim/server.c:460
    6A592B3D C:\Program Files\GaimBeta\plugins\libmsn.dll:6A592B3D plain_msg c:/devel/gaim-devel/gaim-2.0.0beta6/libgaim/protocols/msn/switchboard.c:889
    6A59283A C:\Program Files\GaimBeta\plugins\libmsn.dll:6A59283A msg_cmd_post c:/devel/gaim-devel/gaim-2.0.0beta6/libgaim/protocols/msn/switchboard.c:734
    6A581705 C:\Program Files\GaimBeta\plugins\libmsn.dll:6A581705 msn_cmdproc_process_payload c:/devel/gaim-devel/gaim-2.0.0beta6/libgaim/protocols/msn/cmdproc.c:224
    6A58DFE1 C:\Program Files\GaimBeta\plugins\libmsn.dll:6A58DFE1 read_cb c:/devel/gaim-devel/gaim-2.0.0beta6/libgaim/protocols/msn/servconn.c:441
    6206F812 C:\Program Files\GaimBeta\gtkgaim.dll:6206F812 gaim_gtk_io_invoke c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/gtkeventloop.c:81
    00A18267 C:\Program Files\Common Files\GTK\2.0\bin\libglib-2.0-0.dll:00A18267 g_main_depth
    00A18D60 C:\Program Files\Common Files\GTK\2.0\bin\libglib-2.0-0.dll:00A18D60 g_main_context_dispatch
    00A19007 C:\Program Files\Common Files\GTK\2.0\bin\libglib-2.0-0.dll:00A19007 g_main_context_dispatch
    00A194AA C:\Program Files\Common Files\GTK\2.0\bin\libglib-2.0-0.dll:00A194AA g_main_loop_run
    00DBADAF C:\Program Files\Common Files\GTK\2.0\bin\libgtk-win32-2.0-0.dll:00DBADAF gtk_main
    62083C80 C:\Program Files\GaimBeta\gtkgaim.dll:62083C80 gaim_main c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/gtkmain.c:824
    004019A7 C:\Program Files\GaimBeta\gaim.exe:004019A7 WinMain c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/win32/win_gaim.c:551
    0040207A C:\Program Files\GaimBeta\gaim.exe:0040207A WinMain c:/devel/gaim-devel/gaim-2.0.0beta6/gtk/win32/win_gaim.c:244
    00401237 C:\Program Files\GaimBeta\gaim.exe:00401237
    004012A8 C:\Program Files\GaimBeta\gaim.exe:004012A8
    7C816FD7 C:\WINDOWS\system32\kernel32.dll:7C816FD7 RegisterWaitForInputIdle

     
  • Bill Tompkins

    Bill Tompkins - 2007-01-30

    Logged In: YES
    user_id=21203
    Originator: NO

    Please let me know if beta8 does not fix this issue.

    Thanks,

    -Bill

     
  • Don Parmigiano

    Don Parmigiano - 2007-01-30

    Logged In: YES
    user_id=1407686
    Originator: YES

    ...with beta8 there is no crash, but the enc-conversation don´t starts. The key transmission to my client failed, after the automatic "trying to get the key" message on my chat-window nothing else happens...

    Debug-Window:
    gaim-encryption: Using pre-existing menu icon for conv 027B57A0, win 028C1E88, item 02991820
    gaim-encryption: send_msg: 123456789
    gaim-encryption: send_msg B: 123456789, 6C3D81C4, 00CC59A8, 027B57A0
    gaim-encryption: find key by name: 987654321
    gaim-encryption: get_key: 123456789
    gaim-encryption: find key by name: 123456789
    gaim-encryption: got key: 00000000
    gaim-encryption: Sending: *** Encrypted :: Send Key
    oscar: Sending IM, charset=0x0000, charsubset=0x0000, length=25
    gaim-encryption: requesting key
    gaim-encryption: store_msg: 02A3DF08 : 324253362
    gaim-encryption: In store stack: 02A35E38
    gaim-encryption: In store stack: 02A08AB0
    gaim-encryption: In store stack: 029BC7B0
    gaim-encryption: In store stack: 02A029A0
    gaim-encryption: In store stack: 02A01448
    gaim-encryption: In store stack: 02A81470
    gaim-encryption: In store stack: 02A3DF08
    gaim-encryption: Using pre-existing menu icon for conv 027B57A0, win 028C1E88, item 02991820
    oscar: Sent message to 123456789.

    don

     
  • Don Parmigiano

    Don Parmigiano - 2007-01-30

    Logged In: YES
    user_id=1407686
    Originator: YES

    ... with a new generated key

     
  • FXUsa

    FXUsa - 2007-01-31

    Logged In: YES
    user_id=1704638
    Originator: NO

    While trying to get it to work in the gaim-encryption beta6, I deleted all my friends key and had generated a new key. With this update (Beta 8). I IM my buddy who is on Gaim (Beta3), accepted my key and his machine froze for about 20 sec. After that we started encrypted conversation. Right now it is wokring.
    Thanks

     
  • Don Parmigiano

    Don Parmigiano - 2007-02-01
    • priority: 7 --> 8
     
  • Don Parmigiano

    Don Parmigiano - 2007-02-01

    Logged In: YES
    user_id=1407686
    Originator: YES

    I deleted all keys and gererated new ones for my accounts, but it still don´t work.

     
  • Bill Tompkins

    Bill Tompkins - 2007-02-02

    Logged In: YES
    user_id=21203
    Originator: NO

    Don-

    Does encryption work if you have a conversation with yourself (i.e. send yourself an IM, it will echo in that same window, then turn on encryption and send again...) If that does not work, the Debug window output would be useful. If that does work, then getting the debug window output from your friend's machine, when it isn't working, would be good. The debug output you included below looks ok... just that your friend's computer never responded to the key request (and hopefully his debug would show why).

    Thanks,

    -Bill

     
  • Don Parmigiano

    Don Parmigiano - 2007-02-05

    Logged In: YES
    user_id=1407686
    Originator: YES

    The myself-conversation works!
    The Debug from my friends machine when I try to start the conversation:

    gaim-encryption: Using pre-existing menu icon for conv 0300ECA0, win 01929698, item 018ADD08
    oscar: incomingim_ch1: unknown TLV 0x0016 (len 4)
    oscar: incomingim_ch1: unknown TLV 0x0013 (len 1)
    oscar: Received IM from 987654321 with 1 parts
    oscar: Parsing IM part, charset=0x0000, charsubset=0x0000, datalen=25
    gaim-encryption: No header: *** Encrypted :: Send Key
    gaim-encryption: Using pre-existing menu icon for conv 0300ECA0, win 01929698, item 018ADD08

    I hope, he does it correct. ;)

     
  • Matthew Boehm

    Matthew Boehm - 2007-02-14

    Logged In: YES
    user_id=496768
    Originator: NO

    3.0.0beta8 seems to have fixed it for me and my co-woker. thanks a bunch! keep up the good work!

     
  • Anthony

    Anthony - 2007-02-15

    Logged In: YES
    user_id=924757
    Originator: NO

    I just downloaded and installed the latest version (beta8) today, and this is happening to me every time I try to send an encrypted message, either I started it, or the other person started it. I had new keys generated (because I am using a different machine), and am using the latest version of gaim (2.0b5). Unfortunately, I don't know where the crash log is, otherwise I would post it here.

     
  • Web Guy

    Web Guy - 2007-04-02

    Logged In: YES
    user_id=890183
    Originator: NO

    Still happening to me -- even with beta8 (and gaim-2.0.0-0.31.beta6.fc6). When I hit enter to send an encrypted message, gaim segfaults. This is with new or old keys, even deleting buddy keys. Also checked keys for prpl-toc and the string doesn't exist in my id or id.priv key files. Also happens regardless of if I IM myself or someone else.

    i386 FC6 system.

    Anything I can do to further debug?

    Thanks,

    Steve

     
  • Bill Tompkins

    Bill Tompkins - 2007-04-03

    Logged In: YES
    user_id=21203
    Originator: NO

    Could you post a backtrace? See http://gaim.sourceforge.net/gdb.php for details on how to generate one.

    Thanks,

    -Bill

     
  • Web Guy

    Web Guy - 2007-04-03

    Logged In: YES
    user_id=890183
    Originator: NO

    Backtrace....

    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread -1208109360 (LWP 4850)]
    0x008f8bda in gaim_account_get_protocol_id () from /usr/lib/libgaim.so.0
    (gdb) bt full
    #0 0x008f8bda in gaim_account_get_protocol_id () from /usr/lib/libgaim.so.0
    No symbol table info available.
    #1 0x01140f73 in GE_resend_msg () from /usr/lib/gaim/encrypt.so
    No symbol table info available.
    #2 0x01141555 in GE_resend_msg () from /usr/lib/gaim/encrypt.so
    No symbol table info available.
    #3 0x00939d81 in gaim_marshal_VOID__POINTER_POINTER_POINTER () from /usr/lib/libgaim.so.0
    No symbol table info available.
    #4 0x0093a8e3 in gaim_signal_emit_vargs () from /usr/lib/libgaim.so.0
    No symbol table info available.
    #5 0x0093aa57 in gaim_signal_emit () from /usr/lib/libgaim.so.0
    No symbol table info available.
    #6 0x009117ae in gaim_conv_im_write () from /usr/lib/libgaim.so.0
    No symbol table info available.
    #7 0x08089aa4 in gaim_gtk_conversations_init ()
    No symbol table info available.
    #8 0x007010f9 in g_cclosure_marshal_VOID__VOID () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #9 0x006f3d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #10 0x00704721 in g_signal_chain_from_overridden () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #11 0x00705cb8 in g_signal_emitv () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #12 0x04c3718b in gtk_bin_get_child () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #13 0x04c37538 in gtk_bin_get_child () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #14 0x04c3770b in gtk_bin_get_child () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #15 0x04c37829 in gtk_bindings_activate_event () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #16 0x04e2b808 in gtk_widget_freeze_child_notify () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #17 0x04dcd0fb in gtk_text_view_new_with_buffer () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #18 0x04d0ba60 in gtk_marshal_BOOLEAN__VOID () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #19 0x006f2589 in g_value_set_static_boxed () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #20 0x006f3e7d in g_closure_invoke () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #21 0x00704a83 in g_signal_chain_from_overridden () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #22 0x0070571f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #23 0x00705b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #24 0x04e20508 in gtk_widget_get_default_style () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #25 0x04e30607 in gtk_window_propagate_key_event () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #26 0x04e3367c in gtk_window_activate_key () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    ---Type <return> to continue, or q <return> to quit---
    #27 0x04d0ba60 in gtk_marshal_BOOLEAN__VOID () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #28 0x006f2589 in g_value_set_static_boxed () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #29 0x006f3d9b in g_closure_invoke () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #30 0x00704a83 in g_signal_chain_from_overridden () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #31 0x0070571f in g_signal_emit_valist () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #32 0x00705b19 in g_signal_emit () from /lib/libgobject-2.0.so.0
    No symbol table info available.
    #33 0x04e20508 in gtk_widget_get_default_style () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #34 0x04d04e6a in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #35 0x04d06037 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #36 0x0088b12a in gdk_add_client_message_filter () from /usr/lib/libgdk-x11-2.0.so.0
    No symbol table info available.
    #37 0x00666442 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
    No symbol table info available.
    #38 0x0066941f in g_main_context_check () from /lib/libglib-2.0.so.0
    No symbol table info available.
    #39 0x006697c9 in g_main_loop_run () from /lib/libglib-2.0.so.0
    No symbol table info available.
    #40 0x04d064b4 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
    No symbol table info available.
    #41 0x080b300b in main ()
    No symbol table info available.
    (gdb) quit

    Thanks for the help, Bill. Gaim-encryption rocks.

    Steve

     
  • Bill Tompkins

    Bill Tompkins - 2007-04-06

    Logged In: YES
    user_id=21203
    Originator: NO

    Steve-

    Could you try editing lines 968 & 969 in encrypt.c, changing them from

    header = g_hash_table_lookup(header_table, gaim_account_get_protocol_id(conv->account));
    footer = g_hash_table_lookup(footer_table, gaim_account_get_protocol_id(conv->account));
    to
    header = g_hash_table_lookup(header_table, gaim_account_get_protocol_id(acct));
    footer = g_hash_table_lookup(footer_table, gaim_account_get_protocol_id(acct));

    If you still get the crash, add a
    gaim_debug (GAIM_DEBUG_INFO, "gaim-encryption", "XXXX Acct is : %p\n", acct);

    in front of those two lines, and run gaim from the command line with the -d option (lots of debug will appear in that window). Look for the XXXX line in the debug output right before the crash, and let me know what it is...

    Thanks for your help tracking this down,

    -Bill

     
  • Web Guy

    Web Guy - 2007-04-06

    Logged In: YES
    user_id=890183
    Originator: NO

    Hi Bill -

    Not sure what happened. I grabbed the src rpm for beta8 from freshrpms, uninstalled my existing gaim-encryption rpm (from freshrpms), rebuilt the rpm from the srpm, installed, and Poof! Works! I did this in preparation for editing the src as you had advised, of course.

    So I still have no idea what the heck happened -- but if there is further debugging I can do to help you or anyone else, I'd be happy to.

    Thanks a million for your help.

    Steve

     
  • Bill Tompkins

    Bill Tompkins - 2007-04-07

    Logged In: YES
    user_id=21203
    Originator: NO

    Glad it's working for you now Steve. I'm guessing that the Gaim-Encryption plugin was somehow out-of-sync with Gaim? I'm going to mark this bug closed... anyone still having a crash, please open a new bug, and include a backtrace. Thanks!

    -Bill

     
  • Bill Tompkins

    Bill Tompkins - 2007-04-07
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks