The Following User Says Thank You to Faso_II For This Useful Post: | ||
|
2015-03-06
, 08:49
|
Posts: 207 |
Thanked: 967 times |
Joined on Apr 2014
@ Madrid, Spain
|
#522
|
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 ceene For This Useful Post: | ||
|
2015-03-06
, 15:09
|
Posts: 22 |
Thanked: 4 times |
Joined on Oct 2012
@ Maracay- Venezuela
|
#523
|
The Following User Says Thank You to guidofasano For This Useful Post: | ||
|
2015-03-06
, 16:09
|
Posts: 207 |
Thanked: 967 times |
Joined on Apr 2014
@ Madrid, Spain
|
#524
|
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 ceene For This Useful Post: | ||
|
2015-03-06
, 18:13
|
Posts: 1 |
Thanked: 0 times |
Joined on Mar 2015
|
#525
|
|
2015-03-07
, 01:13
|
|
Posts: 113 |
Thanked: 334 times |
Joined on Oct 2010
@ Argentina
|
#526
|
#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
|
2015-03-07
, 01:49
|
|
Posts: 6,436 |
Thanked: 12,701 times |
Joined on Nov 2011
@ Ängelholm, Sweden
|
#527
|
I've compiled Yappari 2.0.8 with debugging symbols and this is the backtrace when it crash with segfault:
I made some validations to the code, attached a patch, I will continue debugging and let you know if I find something else.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
The Following User Says Thank You to coderus For This Useful Post: | ||
|
2015-03-07
, 11:29
|
Posts: 207 |
Thanked: 967 times |
Joined on Apr 2014
@ Madrid, Spain
|
#528
|
This is not socket isOpen, this is QBuffer one here: https://github.com/agamez/yappari/bl...reader.cpp#L58
The Following User Says Thank You to ceene For This Useful Post: | ||
|
2015-03-07
, 13:57
|
Posts: 3,074 |
Thanked: 12,960 times |
Joined on Mar 2010
@ Sofia,Bulgaria
|
#529
|
How is it possible for isOpen to segfault? I'm struggling to understand the reason.
The Following User Says Thank You to freemangordon For This Useful Post: | ||
|
2015-03-07
, 17:19
|
|
Posts: 113 |
Thanked: 334 times |
Joined on Oct 2010
@ Argentina
|
#530
|
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: | ||
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?