Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
jami-project
jami-project
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 172
    • Issues 172
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Requirements
    • Requirements
    • List
  • Security & Compliance
    • Security & Compliance
    • Dependency List
    • License Compliance
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • savoirfairelinux
  • jami-projectjami-project
  • Issues
  • #138

Closed (moved)
Open
Opened May 13, 2016 by RingBot@RingBotOwner

lrc: do not assume ip2ip account exits

Issue generated from Tuleap's migration script. Originally submitted by: Guillaume Roguez (guillaume)

The daemon has been updated to no longer require nor create an ip2ip account by default; this change has not been reflected in lrc which still assumes its existence.

This bug was originally discovered via the following crash in Ring GNOME:

On gnome client, typing "toto" (not existing contact) raising a segmentation fault.

Follow gdb output:

  
(gdb) bt full  
\#0  0x00007ffff7954de6 in QSharedPointer<AccountPrivate>::data() const (this=0x18)  
    at /usr/include/qt5/QtCore/qsharedpointer\_impl.h:301  
\#1  0x00007ffff7954578 in QSharedPointer<AccountPrivate>::operator->() const (this=0x18)  
    at /usr/include/qt5/QtCore/qsharedpointer\_impl.h:306  
\#2  0x00007ffff794542e in Account::alias() const (this=0x0) at /home/yomgui/Projects/ring-project/lrc/src/account.cpp:362  
\#3  0x00007ffff79fff07 in NumberCompletionModel::data(QModelIndex const&, int) const (this=0x10a8020, index=..., role=0)  
    at /home/yomgui/Projects/ring-project/lrc/src/numbercompletionmodel.cpp:220  
        i = {i = 0x12bb730}  
        n = 0x124aa80  
        weight = 261  
        needAcc = false  
\#4  0x0000000000456b7d in QModelIndex::data(int) const (this=0x7fffffffd350, arole=0)  
    at /usr/include/qt5/QtCore/qabstractitemmodel.h:420  
\#5  0x000000000045e42f in autocompletion\_account\_render(GtkCellLayout\*, GtkCellRenderer\*, GtkTreeModel\*, GtkTreeIter\*, gpointer) (cell\_layout=0x10f2a10, cell=0xf89860, model=0x10f2d90, iter=0xb948c0, user\_data=0x0)  
    at /home/yomgui/Projects/ring-project/client-gnome/src/ringmainwindow.cpp:740  
        alias =   
            {d = {data = {c = 16 '\\020', uc = 16 '\\020', s = 16, sc = 16 '\\020', us = 16, i = 16, u = 16, l = 16, ul = 16, b = 16, d = 7,9050503334599447e-323, f = 2,24207754e-44, real = 7,9050503334599447e-323, ll = 16, ull = 16, o = 0x10, ptr = 0x10, shared = 0x10}, type = 16291952, is\_shared = 0, is\_null = 0}}  
        text = 0x110bb00 "\\b"  
        idx = {r = 1, c = 0, i = 0, m = 0x10a8020}  
\#6  0x00007ffff6ee635b in apply\_cell\_attributes () at /lib64/libgtk-3.so.0  
\#7  0x00007ffff5447590 in g\_hash\_table\_foreach () at /lib64/libglib-2.0.so.0  
\#8  0x00007ffff6ee61eb in gtk\_cell\_area\_real\_apply\_attributes () at /lib64/libgtk-3.so.0  
\#9  0x00007ffff6eeb7e9 in gtk\_cell\_area\_box\_apply\_attributes () at /lib64/libgtk-3.so.0  
\#10 0x00007ffff6fd6983 in \_gtk\_marshal\_VOID\_\_OBJECT\_BOXED\_BOOLEAN\_BOOLEANv () at /lib64/libgtk-3.so.0  
\#11 0x00007ffff57569d4 in \_g\_closure\_invoke\_va () at /lib64/libgobject-2.0.so.0  
\#12 0x00007ffff57712bd in g\_signal\_emit\_valist () at /lib64/libgobject-2.0.so.0  
\#13 0x00007ffff57718ff in g\_signal\_emit () at /lib64/libgobject-2.0.so.0  
\#14 0x00007ffff6ee7d56 in gtk\_cell\_area\_apply\_attributes () at /lib64/libgtk-3.so.0  
\#15 0x00007ffff70ed0cd in validate\_row () at /lib64/libgtk-3.so.0  
\#16 0x00007ffff70f4d92 in do\_validate\_rows () at /lib64/libgtk-3.so.0  
\#17 0x00007ffff70f54b1 in gtk\_tree\_view\_get\_preferred\_width () at /lib64/libgtk-3.so.0  
\#18 0x00007ffff7065154 in gtk\_widget\_query\_size\_for\_orientation () at /lib64/libgtk-3.so.0  
\#19 0x00007ffff706539f in gtk\_widget\_compute\_size\_for\_orientation () at /lib64/libgtk-3.so.0  
\#20 0x00007ffff70654f2 in gtk\_widget\_get\_preferred\_width\_for\_height () at /lib64/libgtk-3.so.0  
\#21 0x00007ffff7065741 in \_gtk\_widget\_get\_preferred\_size\_and\_baseline () at /lib64/libgtk-3.so.0  
\#22 0x00007ffff6f57933 in \_gtk\_entry\_completion\_resize\_popup () at /lib64/libgtk-3.so.0  
\#23 0x00007ffff6f58c14 in gtk\_entry\_completion\_timeout () at /lib64/libgtk-3.so.0  
\#24 0x00007ffff6b145a8 in gdk\_threads\_dispatch () at /lib64/libgdk-3.so.0  
---Type <return> to continue, or q <return> to quit---  
\#25 0x00007ffff5458893 in g\_timeout\_dispatch () at /lib64/libglib-2.0.so.0  
\#26 0x00007ffff5457e3a in g\_main\_context\_dispatch () at /lib64/libglib-2.0.so.0  
\#27 0x00007ffff54581d0 in g\_main\_context\_iterate.isra () at /lib64/libglib-2.0.so.0  
\#28 0x00007ffff545827c in g\_main\_context\_iteration () at /lib64/libglib-2.0.so.0  
\#29 0x00007ffff5a42a0c in g\_application\_run () at /lib64/libgio-2.0.so.0  
\#30 0x0000000000453767 in main(int, char\*\*) (argc=1, argv=0x7fffffffe018)  
    at /home/yomgui/Projects/ring-project/client-gnome/src/main.cpp:34  
        client = 0x7d6140  
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: savoirfairelinux/ring-project#138