#1674: Licq SVN Version Crashes (segfault) on message sent (qt4-gui)
----------------------+-----------------------------------------------------
  Reporter:  syn      |       Owner:       
      Type:  defect   |      Status:  new  
  Priority:  normal   |   Milestone:  1.3.7
 Component:  qt4-gui  |     Version:  devel
Resolution:           |    Keywords:       
----------------------+-----------------------------------------------------

Old description:

> Hi i updated my SVN version of LICQ yesterday, and i compiled the first
> time the qt4-gui. Unfortunately on every message send, independant of the
> Protocol used it crashes.
>
> See gdb below.
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x43085950 (LWP 7226)]
> 0x00007fdb74853bd5 in ?? () from /lib/libc.so.6
> (gdb) bt
> #0  0x00007fdb74853bd5 in ?? () from /lib/libc.so.6
> #1  0x00007fdb74855a78 in malloc () from /lib/libc.so.6
> #2  0x00007fdb75091b9d in operator new () from /usr/lib/libstdc++.so.6
> #3  0x00007fdb7506f451 in std::string::_Rep::_S_create () from
> /usr/lib/libstdc++.so.6
> #4  0x00007fdb7506fe15 in ?? () from /usr/lib/libstdc++.so.6
> #5  0x00007fdb7506ff53 in std::basic_string<char, std::char_traits<char>,
> std::allocator<char> >::basic_string ()
>    from /usr/lib/libstdc++.so.6
> #6  0x00007fdb73d08b2d in qHash () from
> /usr/local/lib/licq/licq_qt4-gui.so
> #7  0x00007fdb73d08b36 in qHash () from
> /usr/local/lib/licq/licq_qt4-gui.so
> #8  0x00007fdb73d08b36 in qHash () from
> /usr/local/lib/licq/licq_qt4-gui.so
> #9  0x00007fdb73d08b36 in qHash () from
> /usr/local/lib/licq/licq_qt4-gui.so
> #10 0x00007fdb73d08b36 in qHash () from
> /usr/local/lib/licq/licq_qt4-gui.so
>
> licq -d 16 output:
> 13:30:51: [PKT] Packet (SRVv0, 66 bytes) sent:
>                 (192.168.168.31:37289 -> 64.12.24.170:443)
>      0000: 2A 02 5C 66 00 3C 00 04  00 06 00 00 00 00 00 25
> *.\f.<.........%
>      0010: 00 00 00 00 00 00 00 00  00 01 08 39 32 32 34 34
> ...........xxxxx
>      0020: 37 33 38 00 02 00 1B 05  01 00 01 01 01 01 00 12
> xxx.............
>      0030: 00 00 00 00 6D 69 73 74  20 69 6D 6D 65 72 6E 6F   ....mist
> immerno
>      0040: 63 68                                              ch
> Segmentation fault
>
> (i X ed out the recipient)
>
> Anyone can confirm, and or fix? :-)
>
> Thanks,
> Syn

New description:

 Hi i updated my SVN version of LICQ yesterday, and i compiled the first
 time the qt4-gui. Unfortunately on every message send, independant of the
 Protocol used it crashes.

 See gdb below.
 {{{
 Program received signal SIGSEGV, Segmentation fault.
 [Switching to Thread 0x43085950 (LWP 7226)]
 0x00007fdb74853bd5 in ?? () from /lib/libc.so.6
 (gdb) bt
 #0  0x00007fdb74853bd5 in ?? () from /lib/libc.so.6
 #1  0x00007fdb74855a78 in malloc () from /lib/libc.so.6
 #2  0x00007fdb75091b9d in operator new () from /usr/lib/libstdc++.so.6
 #3  0x00007fdb7506f451 in std::string::_Rep::_S_create () from
 /usr/lib/libstdc++.so.6
 #4  0x00007fdb7506fe15 in ?? () from /usr/lib/libstdc++.so.6
 #5  0x00007fdb7506ff53 in std::basic_string<char, std::char_traits<char>,
 std::allocator<char> >::basic_string ()
    from /usr/lib/libstdc++.so.6
 #6  0x00007fdb73d08b2d in qHash () from
 /usr/local/lib/licq/licq_qt4-gui.so
 #7  0x00007fdb73d08b36 in qHash () from
 /usr/local/lib/licq/licq_qt4-gui.so
 #8  0x00007fdb73d08b36 in qHash () from
 /usr/local/lib/licq/licq_qt4-gui.so
 #9  0x00007fdb73d08b36 in qHash () from
 /usr/local/lib/licq/licq_qt4-gui.so
 #10 0x00007fdb73d08b36 in qHash () from
 /usr/local/lib/licq/licq_qt4-gui.so
 }}}

 licq -d 16 output:
 {{{
 13:30:51: [PKT] Packet (SRVv0, 66 bytes) sent:
                 (192.168.168.31:37289 -> 64.12.24.170:443)
      0000: 2A 02 5C 66 00 3C 00 04  00 06 00 00 00 00 00 25
 *.\f.<.........%
      0010: 00 00 00 00 00 00 00 00  00 01 08 39 32 32 34 34
 ...........xxxxx
      0020: 37 33 38 00 02 00 1B 05  01 00 01 01 01 01 00 12
 xxx.............
      0030: 00 00 00 00 6D 69 73 74  20 69 6D 6D 65 72 6E 6F   ....mist
 immerno
      0040: 63 68                                              ch
 Segmentation fault
 }}}

 (i X ed out the recipient)

 Anyone can confirm, and or fix? :-)

 Thanks,
 Syn

--

Comment(by flynd):

 It looks like the stack trace isn't complete, could you please attach a
 complete backtrace, preferably of all threads. (When licq crashes, you
 should get ~/.licq/licq.backtrace.gdb which contains just that.)

-- 
Ticket URL: <http://licq.org/ticket/1674#comment:2>
Licq <http://www.licq.org/>
Licq - an instant messaging client for UNIX.

Reply via email to