Hi Simon,
I try to reply to your questions.

1. The problem about log. The error message is due to "this" being NULL.
Basically, in C++, you do not address member variable at a fixed
address, so you need a base pointer for your instance (called "this")
and then you offset your variable starting at "this" address. Let's say
it is a pointer to a complex data. "log" is a variable in this complex
data, so, once you have "this" you may address "log". Since "this" is
null, then your offset is wrong and you get segmentation violation. So,
the value of "log" is not even found and it might be NULL.

2. About the compiler error. "this" is not an explicit variable that you
change in your code. You cannot change it once created. You may create
an instance of an object, and you may delete these instances. This is
why user code cannot change "this". and this is why it may be a compiler
error. I do not have an answer about this happening randomly even when
communicating with the same fax-partner.

Of course I might be wrong, but this is my opinion so far.

Bye,
Giuseppe

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/600219

Title:
  faxgetty segfault

To manage notifications about this bug go to:
https://bugs.launchpad.net/hylafax/+bug/600219/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to