00:19
lul4 has joined #maemo-leste
00:21
lul4 has quit [Client Quit]
01:24
System_Error has quit [Remote host closed the connection]
01:31
System_Error has joined #maemo-leste
01:33
xmn has quit [Ping timeout: 252 seconds]
02:03
System_Error has quit [Remote host closed the connection]
02:08
System_Error has joined #maemo-leste
03:34
System_Error has quit [Ping timeout: 260 seconds]
03:52
System_Error has joined #maemo-leste
05:30
Daanct12 has joined #maemo-leste
05:51
Anasko has joined #maemo-leste
06:02
joerg has quit [Ping timeout: 255 seconds]
06:02
joerg has joined #maemo-leste
06:06
<
dsc_ >
g_signal_connect(conv_abook_aggregator, "contacts-removed", G_CALLBACK(contacts_removed_cb), nullptr);
06:06
<
dsc_ >
void contacts_removed_cb(OssoABookRoster *roster, const char **ids, gpointer data) {}
06:07
<
dsc_ >
freemangordon: ^ what is ids here, and how to get local_uid/remote_uid from it
06:09
<
freemangordon >
uid is vcard UID
06:10
<
freemangordon >
afaik
06:17
<
freemangordon >
dsc_: but, why do you care about accounts added/removed? abook takes care of that already
06:17
<
dsc_ >
for GUI purposes
06:18
<
dsc_ >
if the friend is removed, there shall be a button add friend, to restore the friendship <3
06:18
<
dsc_ >
need to monitor for contact removed signal
06:18
<
freemangordon >
I see
06:19
<
freemangordon >
please, put that button in the menu
06:19
<
dsc_ >
it is in the menu, yeah
06:19
<
freemangordon >
great
06:19
<
dsc_ >
the menu changes depending on the publication state
06:19
<
freemangordon >
cool, makes sense
06:20
<
freemangordon >
shall I assume you are facing no issues with abook?
06:20
<
dsc_ >
but ehh, char* -> OssoABookContact
06:20
<
dsc_ >
no abook works well
06:20
<
freemangordon >
no, the contacts is already gone, you cannot create contact from it
06:20
<
freemangordon >
*contact
06:20
<
freemangordon >
sorry, still having my first coffee
06:21
<
dsc_ >
i should have printed this char* before asking
06:21
<
freemangordon >
no, the contact is already gone, you cannot create OssoABookContact* from it
06:21
<
dsc_ >
but there's probably some uid
06:22
<
freemangordon >
dsc_: hmm, what happens to the channel when remote party 'blocks' you?
06:22
<
dsc_ >
have not looked at blocks yet
06:22
<
dsc_ >
with channel you mean TextChannel?
06:23
<
dsc_ >
I guess CM should close it?
06:23
<
freemangordon >
mhm
06:23
<
freemangordon >
so, wtym "if the friend is removed"?
06:23
<
freemangordon >
removed how?
06:24
<
dsc_ >
counterparty removes me from friendlist
06:24
<
dsc_ >
it is a signal
06:24
<
dsc_ >
some xmpp thing probably
06:24
<
freemangordon >
right, so, what happens with the channel that chat window is tied to?
06:25
<
freemangordon >
removing from friendlist most-probably will change published status or something
06:25
<
freemangordon >
it will not remove the contact
06:25
<
dsc_ >
yes, nothing happens to channel
06:25
<
dsc_ >
can still send messages
06:25
<
freemangordon >
but also the contact is not removed
06:25
<
freemangordon >
I doubt you will receive 'contact-removed' for that contact
06:26
<
freemangordon >
I guess removing will only happen if remote party de-registers from the service, like, closes the account
06:26
<
freemangordon >
in which case I assume TP will close the channel
06:28
<
freemangordon >
but that's different to what you are on
06:28
<
freemangordon >
I think you should listen for 'contacts-changed' signal only
06:29
<
freemangordon >
and watch published/blocked/whatever state from there
06:29
<
dsc_ >
im also doing that yes, and yeah you are right about the removal signal
06:30
<
dsc_ >
if the counterparty removes me, I get no removal signal
06:30
<
freemangordon >
makes sense
06:31
<
dsc_ >
if I remove the contact from abook, abook crashes
06:31
<
freemangordon >
please, backtrace
06:31
<
freemangordon >
I assume you are on version 1:4.4.5+3m7
06:34
<
dsc_ >
$ apt policy osso-addressbook
06:34
<
dsc_ >
osso-addressbook: Installed: 0.3.4+3m7
06:34
<
dsc_ >
Candidate: 0.3.4+3m7
06:34
<
freemangordon >
apt policy libosso-abook
06:35
<
dsc_ >
ill update first
06:37
<
freemangordon >
don;t forget to install debug symbols if not already
06:37
ceene has joined #maemo-leste
06:44
<
dsc_ >
im attaching with gdb to /usr/bin/osso-addressbook
06:44
<
dsc_ >
trigger the crash
06:44
<
dsc_ >
[Thread 0x7f648ec76700 (LWP 3597) exited]
06:44
<
dsc_ >
[Inferior 1 (process 3596) exited with code 027]
06:44
<
freemangordon >
Inferior 1 (process 3596) exited with code 027
06:44
<
dsc_ >
user 3059 0.0 0.6 293908 24988 ? S<sl 06:37 0:00 /usr/bin/osso-abook-home-applet
06:44
<
dsc_ >
user 3647 0.0 0.0 2368 496 ? S 06:43 0:00 /usr/bin/osso-addressbook
06:44
<
freemangordon >
you should attach to the other process
06:44
<
dsc_ >
user 3648 0.0 1.0 598064 40960 ? Ssl 06:43 0:00 /usr/bin/osso-addressbook
06:45
<
freemangordon >
to 3648
06:45
<
dsc_ >
pretty sure I did that one
06:45
<
dsc_ >
(the one with the most memory)
06:46
<
dsc_ >
cant seem to catch it
06:46
<
dsc_ >
i attached to both this time :P
06:47
<
freemangordon >
no way :)
06:47
<
dsc_ >
how is that possible though
06:47
<
dsc_ >
[Inferior 1 (process 3647) exited with code 027]
06:47
<
dsc_ >
[Inferior 1 (process 3648) exited with code 027]
06:47
<
dsc_ >
im probably doing something stupid
06:48
<
freemangordon >
I am usually starting gdb
06:48
<
freemangordon >
and then doing attach $pid
06:48
<
freemangordon >
no idea what -p is supposed to do
06:48
<
freemangordon >
and you only need to attach to the second peocess
06:49
<
freemangordon >
do you have libc6-dbg installed?
06:49
<
dsc_ >
[ 243.598551] evolution-addre[3328]: segfault at 0 ip 00007f1721002a44 sp 00007ffcb0002c60 error 4 in libglib-2.0.so.0.6600.8[7f1720fe0000+88000]
06:50
<
freemangordon >
evolution-addressbook?
06:50
<
freemangordon >
what is that?
06:50
<
freemangordon >
evolution-addressbook-factory
06:50
<
dsc_ >
not sure, I pasted it because it might be related
06:50
<
freemangordon >
it is
06:50
<
dsc_ >
user 3282 0.0 0.6 436876 26852 ? Sl 06:37 0:00 /usr/libexec/evolution-source-registry
06:50
<
dsc_ >
user 3713 0.0 0.8 725448 32468 ? Sl 06:46 0:00 /usr/libexec/evolution-addressbook-factory
06:51
<
freemangordon >
that might be TP EDS plugin segfaulting
06:51
<
freemangordon >
hot do you trigger the bug?
06:51
<
dsc_ >
remove a contact :D
06:51
<
freemangordon >
what contact?
06:51
<
dsc_ >
xmpp contact in this case
06:51
<
freemangordon >
ok, lemme try
06:51
<
freemangordon >
oh, I thin kI know what happens
06:52
<
dsc_ >
Thread 1 "evolution-addre" received signal SIGSEGV, Segmentation fault.
06:52
<
dsc_ >
0x00007fca01b06a44 in g_hash_table_iter_next () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
06:52
<
dsc_ >
#0 0x00007fca01b06a44 in g_hash_table_iter_next () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
06:52
<
freemangordon >
please install debug symbols
06:52
<
dsc_ >
#1 0x00007fc9f9c4479d in () at /usr/lib/evolution-data-server/addressbook-backends/libebookbackendtp.so
06:52
<
dsc_ >
#2 0x00007fc9f9c44d88 in () at /usr/lib/evolution-data-server/addressbook-backends/libebookbackendtp.so
06:52
<
freemangordon >
libglib2.0-0-dbgsym
06:53
<
freemangordon >
evolution-data-server-addressbook-backend-telepathy-dbg
06:57
<
dsc_ >
/usr/libexec/evolution-addressbook-factory
06:57
<
dsc_ >
this is a stripped binary
06:57
<
freemangordon >
hmm...
06:58
<
freemangordon >
I just saw "authorisation request" in addressbook :D
06:58
<
freemangordon >
it is stripped
06:58
<
freemangordon >
but segfault is in ibebookbackendtp.so
06:59
<
freemangordon >
so, that means you don;t need to implement it in conversations ;)
06:59
<
freemangordon >
lemme try if it works though
06:59
<
dsc_ >
it does work
07:00
<
freemangordon >
then no need to duplicate in the conversations
07:00
lul4 has joined #maemo-leste
07:00
lul4 has quit [Client Quit]
07:02
<
freemangordon >
yep. it works, just tested :D
07:02
<
freemangordon >
but, cannot reproduce the crash
07:03
xmn has joined #maemo-leste
07:04
<
dsc_ >
there's more to managing friends than just sending auth requests tho
07:04
<
dsc_ >
abook seems a bit rough in this area
07:04
<
freemangordon >
sure
07:05
<
freemangordon >
it does not support contact blocking I assume
07:05
<
dsc_ >
if someone adds you as friend, I dont think it shows up in abook as such, or no notification thereof
07:05
<
dsc_ >
let me check
07:06
<
freemangordon >
yeah, I think this should happen in conversations
07:06
<
freemangordon >
however, could you repro the crash with debug symbols?
07:07
<
dsc_ >
it did crash, but this time gdb didnt catch it
07:07
<
freemangordon >
what crashed? eds addressbook factory?
07:08
<
freemangordon >
with gdb attached?
07:08
<
dsc_ >
/usr/libexec/evolution-addressbook-factory
07:08
<
freemangordon >
mhm
07:08
<
dsc_ >
i could catch it on this process
*before* installing the db libs
07:09
<
freemangordon >
it crashes no more?
07:09
<
dsc_ >
i was doing something else
07:09
<
dsc_ >
but let me try
07:09
Daanct12 has quit [Ping timeout: 276 seconds]
07:10
<
freemangordon >
hmm, seems auth requests from pidgin are auto-approved somehow
07:11
<
freemangordon >
nice :)
07:12
<
freemangordon >
sec
07:12
<
freemangordon >
dsc_: frame 1
07:12
<
freemangordon >
p contact->variants
07:13
<
dsc_ >
(gdb) frame 1
07:13
<
dsc_ >
#1 0x00007fe9f31cc79d in e_book_backend_tp_db_add_variants (tpdb=0x7ffc859330b0, tpdb@entry=0x7fe9e8002460 [EBookBackendTpDb], contact=contact@entry=0x560b0f024310, error=error@entry=0x7ffc859331d0) at e-book-backend-tp-db.c:1055
07:13
<
dsc_ >
1055e-book-backend-tp-db.c: No such file or directory.
07:13
<
dsc_ >
(gdb) p contact->variants
07:13
<
dsc_ >
$1 = 0x560b0f06d800<error reading variable: Cannot access memory at address 0x0>
07:13
<
freemangordon >
p *contact
07:13
<
dsc_ >
(gdb) p *contact
07:13
<
dsc_ >
$2 = {handle = 252022576, name = 0x0, alias = 0x560b0f0373e0 "@Y\003\017\vV", generic_status = 0x7fe9f31d7925 "available", status = 0x560b0efa9bb0 "\240\216\005\017\vV", status_message = 0x560b0f043120 "\020\215\006\017\vV", avatar_token = 0x560b0f08d470 "", avatar_mime = 0x0, avatar_len = 0, avatar_data = 0x0, contact_info = 0x0, flags = 0, pending_flags = 0, uid = 0x560b0f035910 "`",
07:14
<
dsc_ >
master_uids = 0x7fe9e8004c40, capabilities = 14, variants = 0x560b0f06d800<error reading variable: Cannot access memory at address 0x0>, ref_count = 0}
07:14
<
dsc_ >
this is without running conversations btw
07:14
<
dsc_ >
just adding/removing xmpp contact
07:15
<
freemangordon >
yeah, I see
07:15
<
dsc_ >
im using 2 clients: gajim and pidgin for this
07:15
<
freemangordon >
but cannot repro it here
07:15
<
dsc_ >
and then I delete @ abook
07:15
<
freemangordon >
how do you 'add' that contact?
07:16
<
freemangordon >
by hand?
07:16
<
dsc_ >
request from gajim, authorize in pdigin, delete in abook
07:16
<
freemangordon >
I assume gajim runs in the VM, right?
07:17
<
dsc_ >
both on host
07:17
<
freemangordon >
ok, lemme try to add it from abook
07:17
<
dsc_ >
grabbing coffee brb 3min
07:17
<
dsc_ >
ill leave gdb open
07:17
<
freemangordon >
sure
07:20
<
freemangordon >
dsc_: which account do you use on gajim? the same as in VM?
07:24
<
dsc_ >
freemangordon: pidgin uses the VM account
07:25
<
freemangordon >
ok, so, pidgin is not really used, right?
07:25
<
dsc_ >
im using it to authorize the incoming request
07:26
<
freemangordon >
I see
07:26
<
freemangordon >
so, you add contact in abook?
07:26
<
freemangordon >
or in gajim
07:26
<
dsc_ >
abook only for deletion
07:26
<
freemangordon >
I assume I can use empathy for that
07:27
<
dsc_ >
I also observed cases where it did not crash, but the contact refused to dissapear from the list
07:27
<
dsc_ >
and then the table acted a bit strange
07:27
<
dsc_ >
where it highlighted multiple rows
07:27
<
freemangordon >
yeah, but that's another story
07:29
ceene has quit [Remote host closed the connection]
07:30
<
freemangordon >
hmm, I guess that issue shall be fixed too
07:30
<
freemangordon >
I can;t make it crash here :(
07:30
<
dsc_ >
dsc@xmpp.is @ gajim, stevejobs@xmpp.wajer.org @ pidgin, stevejobs@xmpp.wajer.org @ maemo VM
07:31
<
freemangordon >
and requesting auth from pidgin?
07:31
<
freemangordon >
or from gajim?
07:31
<
dsc_ >
requesting auth from gajim
07:31
<
dsc_ >
accepting authorization in pidgin
07:31
<
dsc_ >
then delete in abook
07:32
<
freemangordon >
yeah, but does not crash here
07:32
<
dsc_ >
it does seem to delete from the perspective of xmpp though
07:32
<
freemangordon >
mhm
07:32
<
freemangordon >
but UI bug I can repro
07:32
<
freemangordon >
so will fix at least that one
07:32
<
freemangordon >
while tring to repro
07:33
xmn has quit [Ping timeout: 260 seconds]
07:33
ceene has joined #maemo-leste
07:33
<
freemangordon >
lemme see if valgrind will say something
07:33
<
dsc_ >
anyway about abook doing everything related to authorization
07:33
<
freemangordon >
no, no
07:34
<
dsc_ >
in terms of UX its nice to accept/remove friends too
07:34
<
dsc_ >
from conversations
07:34
<
freemangordon >
you should implement accepting auth in conversations
07:34
<
dsc_ >
or at least get notified somehow
07:34
<
freemangordon >
'removing' is already there, in a book
07:34
<
freemangordon >
adding as well
07:35
<
dsc_ >
minus the remove yeah
07:35
<
freemangordon >
I have to check how it looks like in fremantle in terms of accepting auth request
07:35
<
freemangordon >
wtym?
07:35
<
dsc_ >
nvm, I am agreeing
07:35
xmn has joined #maemo-leste
07:35
<
freemangordon >
removing might be buggy, but I will fix it
07:36
<
freemangordon >
hmm, wait, wait
07:36
<
freemangordon >
maybe there is some abook plugin that shows auth requests
07:37
<
freemangordon >
because now, auth requests are auto-accepeted
07:37
<
freemangordon >
by somebody, I assume abook
07:37
<
dsc_ >
i dont think so...
07:37
<
freemangordon >
they are
07:37
<
freemangordon >
I delete the contact, request auth from pidgin, and immediately pidgin sees the remote status
07:38
<
freemangordon >
in the same time empathy shows "do you allow...."
07:38
<
dsc_ >
re: crash, I think I'm in a weird state. I blame wizzups server
07:38
<
freemangordon >
so somebody is accepting the auth in the VM
07:38
<
freemangordon >
I assume abook
07:38
<
freemangordon >
no matter the server, it should not use dangling pointers
07:41
<
dsc_ >
I add from gajim, it shows up in abook
07:41
<
dsc_ >
but this auth request is not accepted yet
07:41
<
freemangordon >
sure
07:41
<
dsc_ >
< freemangordon> because now, auth requests are auto-accepeted
07:41
<
dsc_ >
else i would see the vcard/avatar
07:41
<
dsc_ >
and the online status
07:41
<
freemangordon >
but if you request auth from gajim, it will immediately see the VM online status
07:42
<
dsc_ >
I am requesting auth from gajim
07:42
<
dsc_ >
its not auto-accepted
07:42
<
freemangordon >
and it is not accepeted?
07:42
<
freemangordon >
maybe with your modified conversations, dunno
07:42
<
dsc_ >
conversations is not running
07:42
<
freemangordon >
hmm
07:42
<
dsc_ >
i removed it from auto-start
07:42
<
freemangordon >
lemme stop conversations here then
07:42
<
dsc_ >
fresh reboot
07:43
<
dsc_ >
(I just moved /usr/bin/conversations to another place)
07:43
<
dsc_ >
the contact shows up in abook because it is a roster change
07:43
<
dsc_ >
but authorization is about publication/presence
07:44
<
dsc_ >
maybe you have another client online somewhere?
07:46
kona has joined #maemo-leste
07:48
Twig has joined #maemo-leste
07:52
<
freemangordon >
dsc_: no, that account I use only for testing
07:52
<
freemangordon >
anyway, have to run, will look at it when I am back, to fix the UI issue at least
07:52
<
dsc_ >
alright, thanks4help
07:55
<
freemangordon >
will also check who handles auth requests on fremantle and why here in my VM they seem auto-accepted
08:01
Daanct12 has joined #maemo-leste
08:12
Livio has joined #maemo-leste
08:25
ceene has quit [Remote host closed the connection]
08:27
ceene has joined #maemo-leste
08:51
pere has quit [Ping timeout: 260 seconds]
09:17
pere has joined #maemo-leste
10:23
Anasko has quit [Remote host closed the connection]
10:23
Anasko has joined #maemo-leste
10:26
Anasko has quit [Remote host closed the connection]
10:26
Anasko has joined #maemo-leste
10:56
Livio has quit [Ping timeout: 260 seconds]
11:02
Anasko has quit [Remote host closed the connection]
11:02
Anasko has joined #maemo-leste
11:02
Anasko has quit [Remote host closed the connection]
11:03
Anasko has joined #maemo-leste
11:06
Anasko has quit [Remote host closed the connection]
11:07
Anasko has joined #maemo-leste
11:51
Anasko has quit [Remote host closed the connection]
11:52
Anasko has joined #maemo-leste
11:54
exquel has joined #maemo-leste
12:03
exquel has quit [Ping timeout: 246 seconds]
12:03
exquel has joined #maemo-leste
12:17
udder has quit [Quit: die in fire]
12:18
udder has joined #maemo-leste
12:26
exquel_ has joined #maemo-leste
12:28
exquel has quit [Ping timeout: 245 seconds]
12:30
exquel_ has quit [Remote host closed the connection]
12:30
exquel_ has joined #maemo-leste
12:31
exquel_ has quit [Remote host closed the connection]
13:16
Daanct12 has quit [Quit: WeeChat 4.4.3]
13:23
Daanct12 has joined #maemo-leste
13:26
xmn has quit [Quit: ZZZzzz…]
14:01
Daanct12 has quit [Quit: WeeChat 4.4.3]
14:15
crab has quit [Ping timeout: 265 seconds]
14:19
crab has joined #maemo-leste
14:24
Livio has joined #maemo-leste
14:43
kona has quit [Ping timeout: 265 seconds]
14:44
ceene has quit [Remote host closed the connection]
15:15
Livio has quit [Ping timeout: 260 seconds]
15:44
LeePen has quit [Remote host closed the connection]
15:44
retr0id2 has joined #maemo-leste
15:45
LIERO has quit [Remote host closed the connection]
15:45
xs has quit [Quit: Cheers!]
15:45
LIERO has joined #maemo-leste
15:45
xs has joined #maemo-leste
15:46
retr0id has quit [Read error: Connection reset by peer]
15:46
retr0id2 is now known as retr0id
15:57
kona has joined #maemo-leste
16:11
Livio has joined #maemo-leste
16:43
pere has quit [Ping timeout: 260 seconds]
16:53
LeePen has joined #maemo-leste
17:07
norly has quit [Quit: Leaving.]
17:08
norly has joined #maemo-leste
17:16
norly has quit [Quit: Leaving.]
17:17
norly has joined #maemo-leste
17:20
Livio has quit [Ping timeout: 260 seconds]
17:25
Livio has joined #maemo-leste
17:26
xmn has joined #maemo-leste
17:27
Livio has quit [Remote host closed the connection]
17:30
Livio has joined #maemo-leste
18:03
pere has joined #maemo-leste
18:12
Twig has quit [Remote host closed the connection]
18:37
slep is now known as cel_
18:37
buZz has quit [Read error: Connection reset by peer]
18:37
buZz has joined #maemo-leste
19:09
Anasko has quit [Remote host closed the connection]
19:09
Anasko has joined #maemo-leste
19:43
<
freemangordon >
dsc_: the bug when deleted contact remains visible seems to be in window manager
19:43
<
freemangordon >
abook does everything properly, but windows does not get repainted
19:43
<
freemangordon >
*window
19:47
<
freemangordon >
dsfds
19:47
<
freemangordon >
oops
19:55
<
freemangordon >
dsc_: it seems to happen in VM only (or on 64bits only)
20:04
xmn has quit [Ping timeout: 252 seconds]
21:07
Livio has quit [Ping timeout: 260 seconds]
21:25
Livio has joined #maemo-leste
21:26
<
dsc_ >
< freemangordon> abook does everything properly, but windows does not get repainted
21:26
<
dsc_ >
i've had this in conversations too
21:26
<
dsc_ >
its related to switching from subwindow to the mainwindow
21:27
<
dsc_ >
stacked window*
21:37
Anasko has quit [Ping timeout: 252 seconds]
22:12
Livio has quit [Ping timeout: 260 seconds]
22:13
Anasko has joined #maemo-leste
22:19
Anasko has quit [Remote host closed the connection]
22:19
Anasko has joined #maemo-leste
22:29
Anasko has quit [Remote host closed the connection]
23:05
Anasko has joined #maemo-leste