Notices


Reply
Thread Tools
Posts: 4 | Thanked: 5 times | Joined on Jan 2015
#521
My Yappari is working fine...
One thing: now people that I don't know in new groups are displayed with their telephone number, while in the past I could see their nickname.
Is this a common issue?
 

The Following User Says Thank You to Faso_II For This Useful Post:
Posts: 207 | Thanked: 967 times | Joined on Apr 2014 @ Madrid, Spain
#522
Originally Posted by Faso_II View Post
My Yappari is working fine...
One thing: now people that I don't know in new groups are displayed with their telephone number, while in the past I could see their nickname.
Is this a common issue?
It seems to be, but no one has ever sent me a log to help me debug this issue...
__________________
OVI and downloads.maemo.nokia.com mirror
Yappari for Maemo
pyLedger for Maemo


If you want to donate, please read this. If you still want to donate, contact me via private message or email. Thank you.
 

The Following User Says Thank You to ceene For This Useful Post:
Posts: 22 | Thanked: 4 times | Joined on Oct 2012 @ Maracay- Venezuela
#523
Originally Posted by ceene View Post
It seems to be, but no one has ever sent me a log to help me debug this issue...
Yo aun presento el mismo problema, que al conectarse se cierra automaticamente yappari. ayer te volvi a enviar el nuevo registro de error por correo, espero puedas resolver, gracias por tu tiempo.
 

The Following User Says Thank You to guidofasano For This Useful Post:
Posts: 207 | Thanked: 967 times | Joined on Apr 2014 @ Madrid, Spain
#524
Originally Posted by guidofasano View Post
Yo aun presento el mismo problema, que al conectarse se cierra automaticamente yappari. ayer te volvi a enviar el nuevo registro de error por correo, espero puedas resolver, gracias por tu tiempo.
Muchas gracias. Con suerte, si el trabajo me lo permite, durante el fin de semana podré avanzar con tu problema.
__________________
OVI and downloads.maemo.nokia.com mirror
Yappari for Maemo
pyLedger for Maemo


If you want to donate, please read this. If you still want to donate, contact me via private message or email. Thank you.
 

The Following User Says Thank You to ceene For This Useful Post:
Posts: 1 | Thanked: 0 times | Joined on Mar 2015
#525
Thanks to all who have been supporting the application for so long! Its a big help !
my yappari is unable to register for the last 10 hours, its the same issue faces earlier in january. any fixes anyone is aware of ?
 
NerdKnight's Avatar
Posts: 113 | Thanked: 334 times | Joined on Oct 2010 @ Argentina
#526
I've compiled Yappari 2.0.8 with debugging symbols and this is the backtrace when it crash with segfault:
Code:
#0  0x414f03d2 in QIODevice::isOpen() const () from /usr/lib/libQtCore.so.4
#1  0x00071908 in BinTreeNodeReader::getOneToplevelStream (this=0x8400e8)
    at Whatsapp/bintreenodereader.cpp:58
#2  0x000719cc in BinTreeNodeReader::nextTree (this=0x8400e8, node=...)
    at Whatsapp/bintreenodereader.cpp:142
#3  0x0004ec50 in Connection::read (this=0xea4060)
    at Whatsapp/connection.cpp:142
#4  0x00076e54 in Client::read (this=0x3f82e0) at client.cpp:1132
#5  0x0013d760 in Client::qt_metacall (this=0x3f82e0, 
    _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbe880f80)
    at moc_client.cpp:193
I made some validations to the code, attached a patch, I will continue debugging and let you know if I find something else.
Attached Files
File Type: txt yappari_segfault.patch.txt (1.9 KB, 68 views)
 

The Following 2 Users Say Thank You to NerdKnight For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#527
Originally Posted by NerdKnight View Post
I've compiled Yappari 2.0.8 with debugging symbols and this is the backtrace when it crash with segfault:
Code:
#0  0x414f03d2 in QIODevice::isOpen() const () from /usr/lib/libQtCore.so.4
#1  0x00071908 in BinTreeNodeReader::getOneToplevelStream (this=0x8400e8)
    at Whatsapp/bintreenodereader.cpp:58
#2  0x000719cc in BinTreeNodeReader::nextTree (this=0x8400e8, node=...)
    at Whatsapp/bintreenodereader.cpp:142
#3  0x0004ec50 in Connection::read (this=0xea4060)
    at Whatsapp/connection.cpp:142
#4  0x00076e54 in Client::read (this=0x3f82e0) at client.cpp:1132
#5  0x0013d760 in Client::qt_metacall (this=0x3f82e0, 
    _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbe880f80)
    at moc_client.cpp:193
I made some validations to the code, attached a patch, I will continue debugging and let you know if I find something else.
This is not socket isOpen, this is QBuffer one here: https://github.com/agamez/yappari/bl...reader.cpp#L58
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
Posts: 207 | Thanked: 967 times | Joined on Apr 2014 @ Madrid, Spain
#528
Originally Posted by coderus View Post
This is not socket isOpen, this is QBuffer one here: https://github.com/agamez/yappari/bl...reader.cpp#L58
How is it possible for isOpen to segfault? I'm struggling to understand the reason.
__________________
OVI and downloads.maemo.nokia.com mirror
Yappari for Maemo
pyLedger for Maemo


If you want to donate, please read this. If you still want to donate, contact me via private message or email. Thank you.
 

The Following User Says Thank You to ceene For This Useful Post:
Posts: 3,074 | Thanked: 12,960 times | Joined on Mar 2010 @ Sofia,Bulgaria
#529
Originally Posted by ceene View Post
How is it possible for isOpen to segfault? I'm struggling to understand the reason.
If the object you're calling isOpen on (i.e. this pointer) is invalid
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following User Says Thank You to freemangordon For This Useful Post:
NerdKnight's Avatar
Posts: 113 | Thanked: 334 times | Joined on Oct 2010 @ Argentina
#530
Maybe closing the QBuffer at the end of nextTree method instead at the beginning could do the trick, I'll test it.
Code:
diff --git a/src/yappari-application/Whatsapp/bintreenodereader.cpp b/src/yappari-application/Whatsapp/bintreenodereader.cpp
index 6d32774..59b42c5 100644
--- a/src/yappari-application/Whatsapp/bintreenodereader.cpp
+++ b/src/yappari-application/Whatsapp/bintreenodereader.cpp
@@ -146,6 +146,9 @@ bool BinTreeNodeReader::nextTree(ProtocolTreeNode& node)
     node.setSize(getOneToplevelStreamSize());
 
     result = nextTreeInternal(node);
+    if (decodedStream.isOpen()) {
+        decodedStream.close();
+    }
     Utilities::logData("INCOMING:\n" + node.toString());
     return result;
 }
 

The Following User Says Thank You to NerdKnight For This Useful Post:
Reply

Tags
whatsapp, yappari

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:10.