Re: [Licq-devel] Licq crash after sending a message

2014-04-08 Thread Anders Olofsson



Sorry for the delay. I cut off the beginning. I hope there is no
sensitive information in the files.
A warning would be appreciated ;-)


Thank you. It looks like the packet was status related. The packet sets 
an empty away message for the contact, probably some kind of auto-away 
related feature as you're getting it when sending a message.


I believe the following commit should solve the problem. Please test it 
and let me know if you have any further problems.

https://github.com/licq-im/licq/commit/066e6e67f1b96decc8d14bd8f46add6c50e38009

Thank you for helping with solving this issue.

/Anders

--

--- 
You received this message because you are subscribed to the Google Groups Licq Development group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to licq-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Licq-devel] Licq crash after sending a message

2014-03-29 Thread Anders Olofsson

I'm able to rebuild the Debian package, but I'm not able to apply the Debug
option to the rules file (attached). I still get the ' No symbol table
info available.'
messages after a crash in my backtraces.

I got the git repository and tried to compile from source, but that
failed. Please
tell me if I did something stupid.


make: *** [all] Error 2


Do I really have to compile everything separately or did I miss the
make all feature?
Pressed for time and at al loss.

Grateful for any advice ;-)


It looks like you're building against unpatched headers. Do you have the 
Debian packages for Licq still installed?
Uninstall all the Licq packages first so you only have the patched build 
tree.
And yes, you will need to compile everything since the patch changes the 
API between Licq and the plugins.


/Anders

--

--- 
You received this message because you are subscribed to the Google Groups Licq Development group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to licq-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Licq-devel] Licq crash after sending a message

2014-03-28 Thread Thorsten Bonow
Hi, sry for the mess. I think you have to hold my hand and walk me through 
this.

I'm busy at work till Saturday evening but have time afterwards willing to 
spend on Sunday
and the rest of next week. I tell you what I've tried and what went wrong.
(I'm a little bit rusty, haven't done this for a long time and can't claim 
that I was ever
really good at it)

On Thursday, March 27, 2014 5:11:52 PM UTC+1, Anders Olofsson wrote:

 On 2014-03-27 07:44, Thorsten Bonow wrote: 
  I've applied the patch and rebuild the Debian package. I've attachted 
 the 
  backtrace and the console output generated by starting licq with the 
  '-d15' option. Hope this helps. 

 Thanks, but it looks like you didn't get any debug information so I 
 can't see exactly where in the ICQ plugin the problem is. 

 Please re-build the ICQ plugin, but add -DCMAKE_BUILD_TYPE=Debug as 
 parameter to cmake, and post a new backtrace. 
 The entries for protocol_icq.so should show fuction and line number 
 instead of just No symbol table info available. 


I'm able to rebuild the Debian package, but I'm not able to apply the Debug
option to the rules file (attached). I still get the ' No symbol table info 
available.' 
messages after a crash in my backtraces.

I got the git repository and tried to compile from source, but that failed. 
Please
tell me if I did something stupid.

I got the code into totos-licq:

git clone https://github.com/licq-im/licq totos-licq


patched the code via


patch -p1  licq_debug_event_assert.patch


That worked without a flaw.


Changed into totos-licq/licq, created a build directory, changed into that 
and called:


cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/opt/licq ..


make  make install


That did work.


Then I created a build directory in totos-licq/icq and changed into that.


Calling 


cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/opt/licq ..


worked again, but make failed:


toto@catweazle:~/src/totos-licq/icq/build$ make

[  5%] Building CXX object 
src/CMakeFiles/protocol_icq.dir/oscarservice.cpp.o

/home/toto/src/totos-licq/icq/src/oscarservice.cpp: In function ‘void* 
LicqIcq::OscarServiceSendQueue_tep(void*)’:

/home/toto/src/totos-licq/icq/src/oscarservice.cpp:595:12: error: ‘class 
Licq::Event’ has no member named ‘myLockCounter’

 e-myLockCounter++;

^

/home/toto/src/totos-licq/icq/src/oscarservice.cpp:598:14: error: ‘class 
Licq::Event’ has no member named ‘myLockCounter’

   e-myLockCounter--;

  ^

/home/toto/src/totos-licq/icq/src/oscarservice.cpp:609:12: error: ‘class 
Licq::Event’ has no member named ‘myLockCounter’

 e-myLockCounter--;

^

make[2]: *** [src/CMakeFiles/protocol_icq.dir/oscarservice.cpp.o] Error 1

make[1]: *** [src/CMakeFiles/protocol_icq.dir/all] Error 2

make: *** [all] Error 2

Do I really have to compile everything separately or did I miss the make 
all feature?
Pressed for time and at al loss. 

Grateful for any advice ;-)
 

 /Anders 


Have a nice weekend

Toto 

-- 

--- 
You received this message because you are subscribed to the Google Groups Licq 
Development group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to licq-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
#!/usr/bin/make -f

include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/langcore.mk

DEB_INSTALL_DOCS_ALL =
DEB_INSTALL_CHANGELOGS_ALL = doc/CHANGELOG
DEB_DH_MAKESHLIBS_ARGS_ALL = -X usr/lib/licq/

# cmake settings
CMAKE = cmake
CMAKE_BUILDDIR = obj-$(if $(1),$(1)-)$(DEB_BUILD_GNU_TYPE)
CMAKE_INSTALL_PREFIX = /usr
CMAKE_NORMAL_ARGS  = -DCMAKE_INSTALL_PREFIX=$(CMAKE_INSTALL_PREFIX)
CMAKE_NORMAL_ARGS += -DCMAKE_C_COMPILER:FILEPATH=$(CC)
CMAKE_NORMAL_ARGS += -DCMAKE_CXX_COMPILER:FILEPATH=$(CXX)
CMAKE_NORMAL_ARGS += -DCMAKE_C_FLAGS=$(CFLAGS) $(CPPFLAGS)
CMAKE_NORMAL_ARGS += -DCMAKE_CXX_FLAGS=$(CXXFLAGS) $(CPPFLAGS)
CMAKE_NORMAL_ARGS += -DCMAKE_EXE_LINKER_FLAGS=$(LDFLAGS)
CMAKE_NORMAL_ARGS += -DCMAKE_MODULE_LINKER_FLAGS=$(LDFLAGS)
CMAKE_NORMAL_ARGS += -DCMAKE_SKIP_RPATH=ON
CMAKE_NORMAL_ARGS += -DCMAKE_VERBOSE_MAKEFILE=ON
CMAKE_NORMAL_ARGS += -DCMAKE_BUILD_TYPE=Debug
export CTEST_OUTPUT_ON_FAILURE=1

# plugin packages
PLUGINS := $(filter licq-plugin-%,$(shell dh_listpackages))
PLUGINS := $(patsubst licq-plugin-%,%,$(PLUGINS))
PLUGINS := $(filter-out qt4-common,$(PLUGINS))

# directories of plugin packages in source tree
src/autoreply = auto-reply
src/console   = console
src/forwarder = forwarder
src/icq   = icq
src/jabber= jabber
src/kde4  = qt4-gui
src/msn   = msn
src/osd   = osd
src/qt4   = qt4-gui
src/rms   = rms


# Build rules

ifeq ($(filter nocheck,$(DEB_BUILD_OPTIONS)),)
configure/licq:: CMAKE_EXTRA_ARGS += -DBUILD_TESTS=ON
else
configure/licq:: CMAKE_EXTRA_ARGS += -DBUILD_TESTS=OFF
endif

configure/licq:: $(CMAKE_BUILDDIR)/CMakeCache.txt
$(CMAKE_BUILDDIR)/CMakeCache.txt:

Re: [Licq-devel] Licq crash after sending a message

2014-03-27 Thread Anders Olofsson

On 2014-03-27 07:44, Thorsten Bonow wrote:

I've applied the patch and rebuild the Debian package. I've attachted the
backtrace and the console output generated by starting licq with the
'-d15' option. Hope this helps.


Thanks, but it looks like you didn't get any debug information so I 
can't see exactly where in the ICQ plugin the problem is.


Please re-build the ICQ plugin, but add -DCMAKE_BUILD_TYPE=Debug as 
parameter to cmake, and post a new backtrace.
The entries for protocol_icq.so should show fuction and line number 
instead of just No symbol table info available.


/Anders

--

--- 
You received this message because you are subscribed to the Google Groups Licq Development group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to licq-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Licq-devel] Licq crash after sending a message

2014-03-18 Thread Anders Olofsson

Hi,
looking from your backtrace, I believe this is the same issue that was 
reported as https://github.com/licq-im/licq/issues/39, however that 
issue was never resolved due to lack of information.


Could you please give us some more details of the problem.

- Which version of Licq are you using? And did you build it yourself or 
get it pre-built from a Linux distribution?


- Does this happen every time you send a message or only sometimes?

- Does it matter which contact you try to send the message to?

- Does the crash only happen when sending to ICQ contacts or can you 
reproduce it with Jabber contacts as well?


- Is the message received by the contact or does Licq crash before the 
message is sent?


- Please run Licq in a terminal with -d15 as argument and copy the last 
lines printed before the crash.


/Anders


On 2014-03-18 21:26, Thorsten Bonow wrote:

Left alone, Licq runs without problems, but soon after sending a
message, it suddenly crashes, displaying the crash dialog.

--

---
You received this message because you are subscribed to the Google
Groups Licq Development group.
To unsubscribe from this group and stop receiving emails from it, send
an email to licq-dev+unsubscr...@googlegroups.com
mailto:licq-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--

--- 
You received this message because you are subscribed to the Google Groups Licq Development group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to licq-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.