[Ekiga-devel-list] Crash in accounts' code



Hi,

I was investigating the problems with gmconf-glib when I met this crash:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb45e7b90 (LWP 32657)]
GMAccountsEndpoint::Main (this=0x85f0e70) at endpoints/accountshandler.cpp:131
131	      if (accounts_iter->data) {
(gdb) bt
#0  GMAccountsEndpoint::Main (this=0x85f0e70)
    at endpoints/accountshandler.cpp:131
#1  0xb733b7e4 in PThread::PX_ThreadStart ()
   from /usr/lib/libpt_linux_x86_r.so.2.3-beta0
#2  0xb69294fb in start_thread () from /lib/i686/cmov/libpthread.so.0
#3  0xb6655d7e in clone () from /lib/i686/cmov/libc.so.6

While reading the code, I must admit I don't really understand how that can be : there's a check on account_iter before doing the account_iter->data.

What's strange is the next line :
list_account = GM_ACCOUNT (accounts_iter)->data;
where I would have expected :
list_account = GM_ACCOUNT (accounts_iter->data);

Does that looks interesting to someone?

Snark


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]