Crash calling with no valid accounts (std::string::append)

Bug #352041 reported by salvam
74
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ekiga
Invalid
Medium
ekiga (Ubuntu)
Fix Released
Low
Unassigned
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ekiga

Va in crash quando inserisco un indirizzo sip: e clicco il tasto chiama

ProblemType: Crash
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/ekiga
NonfreeKernelModules: nvidia
Package: ekiga 3.2.0-0ubuntu1
ProcCmdline: ekiga
ProcEnviron:
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: ekiga
StacktraceTop:
 std::string::append () from /usr/lib/libstdc++.so.6
 std::operator+<char, std::char_traits<char>, std::allocator<char> > ()
 ?? ()
 IA__g_closure_invoke (closure=0x273b800,
 signal_emit_unlocked_R (node=0x2715890, detail=0,
Title: ekiga crashed with SIGSEGV in std::string::append()
Uname: Linux 2.6.28-11-generic x86_64
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev video

Related branches

Revision history for this message
salvam (salvam) wrote :
Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:std::string::append (this=0x7fff223e1770, __str=@0x2885578)
std::operator+<char, std::char_traits<char>, std::allocator<char> > (__lhs=<value optimized out>, __rhs=@0x2885578)
place_call_cb (data=<value optimized out>)
IA__g_closure_invoke (closure=0x273b800,
signal_emit_unlocked_R (node=0x2715890, detail=0,

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Revision history for this message
Apport retracing service (apport) wrote : Stack trace with source code
visibility: private → public
Revision history for this message
Anatoliy Kounitskiy (bgtroll) wrote : Re: ekiga crashed with SIGSEGV in std::string::append()

I had the same problem but on i386 architecture.
uname -a
Linux FSC 2.6.28-11-generic #38-Ubuntu SMP Fri Mar 27 09:00:52 UTC 2009 i686 GNU/Linux

dpkg -l | grep ekiga
ii ekiga 3.2.0-0ubuntu1 H.323 and SIP compatible VoIP client

Revision history for this message
Emilio (turl) wrote :

I can confirm this too. Ekiga crashes when you try to dial without typing a number (the input box says "sip:" only). This is completely reproducible.

uname -a
Linux laptop 2.6.28-11-generic #41-Ubuntu SMP Wed Apr 8 04:39:23 UTC 2009 x86_64 GNU/Linux

ekiga:
  Installed: 3.2.0-0ubuntu1
  Candidate: 3.2.0-0ubuntu1
  Version table:
 *** 3.2.0-0ubuntu1 0
        500 http://ar.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

Changed in ekiga (Ubuntu):
status: New → Confirmed
Revision history for this message
Graeme Glass (graemeglass) wrote :

Just tried to create a new account and I had this crash

Changed in ekiga:
status: Unknown → New
Revision history for this message
Robert Ancell (robert-ancell) wrote :

I've debugged this issue and it occurs when there are no valid accounts. It has already been solved upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=579134
and will be in the next Ekiga release after 3.2.0

summary: - ekiga crashed with SIGSEGV in std::string::append()
+ Crash calling with no valid accounts (std::string::append)
Changed in ekiga (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Robert Ancell (robert-ancell) wrote :

Applied upstream patch to Ekiga 3.2.0 (Ubuntu 9.04)

Changed in ekiga (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Robert Ancell (robert-ancell) wrote :

TEST CASE: Open ekiga with no valid accounts (e.g. and account that fails to connect) and click dial
Upstream patch is: http://git.gnome.org/cgit/ekiga/commit/?id=7be442837aef54f9c5958307f395de77e2b6202b
This problem can affect new users who are trying ekiga for the first time. The risk is low as it only adds an additional check for a non-zero list before accessing the first element.

Revision history for this message
Martin Pitt (pitti) wrote :

This is really borderline for SRU, but it's a trivial and obvious fix, so let's get it in.

Robert, please don't do such non-serious SRUs any more, we should rather concentrate on Karmic now.

No need to upload to Karmic, I'll copy the jaunty-proposed package once it has built.

Changed in ekiga (Ubuntu Jaunty):
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted ekiga into jaunty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in ekiga (Ubuntu Jaunty):
status: In Progress → Fix Committed
tags: added: verification-needed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

I've managed to reproduce the crash with ekiga 3.2.0-0ubuntu1, it indeed crash after clicking dial with no valid account. After updating to the proposed package 3.2.0-0ubuntu2 , tried to reproduce the same, it doesn't crash anymore, the bug is fixed, thanks all.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ekiga - 3.2.0-0ubuntu2

---------------
ekiga (3.2.0-0ubuntu2) jaunty-proposed; urgency=low

  * debian/patches/dial_with_no_valid_accounts_crash.patch:
    - Fix crash when dialing with no valid accounts (LP: #352041)

 -- Robert Ancell <email address hidden> Fri, 01 May 2009 10:14:36 +1000

Changed in ekiga (Ubuntu Jaunty):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

copied to karmic as well

Changed in ekiga (Ubuntu):
status: Fix Committed → Fix Released
Changed in ekiga:
status: New → Invalid
Changed in ekiga:
importance: Unknown → Medium
status: Invalid → Unknown
Changed in ekiga:
status: Unknown → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.