Problems running the SDK build.

Questions related to developing on the Tonido Platform
dcarrera
Regular Tonidoid
Regular Tonidoid
Posts: 15
Joined: Sun Oct 18, 2009 10:13 am

Problems running the SDK build.

Postby dcarrera » Mon Oct 19, 2009 9:48 am

I'm running Ubuntu 9.04 (Jaunty). I followed the SDK build instructions and everything built without problem, but when I run tonidoconsole the program just dies (output below). Any ideas?

Code: Select all

build/bin/gcc/debug % ./tonidoconsole
Tonido: v0.2.0.9703
*** glibc detected *** ./tonidoconsole: double free or corruption (!prev): 0x089d2650 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb6d82604]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb6d845b6]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb6f7e231]
/usr/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1d)[0xb6f5a9fd]
./libPocoNet.so.6[0xb69a6c94]
/lib/tls/i686/cmov/libc.so.6(__cxa_finalize+0xc1)[0xb6d41f51]
./libPocoNet.so.6[0xb69a2e83]
./libPocoNet.so.6[0xb6a1237c]
/lib/ld-linux.so.2[0xb7f41a73]
/lib/tls/i686/cmov/libc.so.6(exit+0x89)[0xb6d41bb9]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xed)[0xb6d2977d]
./tonidoconsole[0x80522e1]
======= Memory map: ========
08048000-0806b000 r-xp 00000000 08:05 993123     /home/daniel/Projects/Tonido/tonidosdk/build/bin/gcc/debug/tonidoconsole
0806b000-0806c000 r--p 00022000 08:05 993123     /home/daniel/Projects/Tonido/tonidosdk/build/bin/gcc/debug/tonidoconsole
0806c000-0806d000 rw-p 00023000 08:05 993123     /home/daniel/Projects/Tonido/tonidosdk/build/bin/gcc/debug/tonidoconsole
089a1000-08b0b000 rw-p 089a1000 00:00 0          [heap]
b4500000-b4521000 rw-p b4500000 00:00 0
b4521000-b4600000 ---p b4521000 00:00 0
b460f000-b4610000 ---p b460f000 00:00 0
b4610000-b4e10000 rw-p b4610000 00:00 0
b4e10000-b4e11000 ---p b4e10000 00:00 0
b4e11000-b5611000 rw-p b4e11000 00:00 0
b5611000-b5612000 ---p b5611000 00:00 0
b5612000-b5e12000 rw-p b5612000 00:00 0
b5e12000-b5e13000 ---p b5e12000 00:00 0
b5e13000-b6616000 rw-p b5e13000 00:00 0
b6616000-b663a000 r-xp 00000000 08:05 11634481   /usr/lib/libexpat.so.1.5.2
b663a000-b663c000 r--p 00023000 08:05 11634481   /usr/lib/libexpat.so.1.5.2
b663c000-b663d000 rw-p 00025000 08:05 11634481   /usr/lib/libexpat.so.1.5.2
b663d000-b66ca000 r-xp 00000000 08:05 992031     /home/daniel/Projects/Tonido/tonidosdk/build/bin/gcc/debug/libPocoXML.so.6
b66ca000-b66cf000 rw-p 0008c000 08:05 992031     /home/daniel/Projects/Tonido/tonidosdk/build/bin/gcc/debug/libPocoXML.so.6
b66cf000-b66e3000 r-xp 00000000 08:05 1237153    /lib/libz.so.1.2.3.3
b66e3000-b66e4000 r--p 00013000 08:05 1237153    /lib/libz.so.1.2.3.3
b66e4000-b66e5000 rw-p 00014000 08:05 1237153    /lib/libz.so.1.2.3.3
b66e5000-b6709000 r-xp 00000000 08:05 11634979   /usr/lib/libpng12.so.0.27.0
b6709000-b670a000 r--p 00023000 08:05 11634979   /usr/lib/libpng12.so.0.27.0
b670a000-b670b000 rw-p 00024000 08:05 11634979   /usr/lib/libpng12.so.0.27.0
b670b000-b670c000 rw-p b670b000 00:00 0
b670c000-b677e000 r-xp 00000000 08:05 11634810   /usr/lib/libfreetype.so.6.3.20
b677e000-b6782000 r--p 00071000 08:05 11634810   /usr/lib/libfreetype.so.6.3.20
b6782000-b6783000 rw-p 00075000 08:05 11634810   /usr/lib/libfreetype.so.6.3.20
b6783000-b67ae000 r-xp 00000000 08:05 11634491   /usr/lib/libfontconfig.so.1.3.0
b67ae000-b67af000 r--p 0002a000 08:05 11634491   /usr/lib/libfontconfig.so.1.3.0
b67af000-b67b0000 rw-p 0002b000 08:05 11634491   /usr/lib/libfontconfig.so.1.3.0
b67b0000-b67cf000 r-xp 00000000 08:05 11634815   /usr/lib/libjpeg.so.62.0.0
b67cf000-b67d0000 rw-p 0001e000 08:05 11634815   /usr/lib/libjpeg.so.62.0.0
b67d0000-b6903000 r-xp 00000000 08:05 1237049    /lib/i686/cmov/libcrypto.so.0.9.8
b6903000-b690b000 r--p 00132000 08:05 1237049    /lib/i686/cmov/libcrypto.so.0.9.8
b690b000-b6918000 rw-p 0013a000 08:05 1237049    /lib/i686/cmov/libcrypto.so.0.9.8
b6918000-b691c000 rw-p b6918000 00:00 0
b691c000-b695d000 r-xp 00000000 08:05 991773     /home/daniel/Projects/Tonido/tonidosdk/build/bin/gcc/debug/libPocoUtil.so.6
b695d000-b695e000 rw-p 00041000 08:05 991773     /home/daniel/Projects/Tonido/tonidosdk/build/bin/gcc/debug/libPocoUtil.so.6
b695e000-b695f000 rw-p b695e000 00:00 0
b695f000-b6a39000 r-xp 00000000 08:05 991455     /home/daniel/Projects/Tonido/tonidosdk/build/bin/gcc/debug/libPocoNet.so.6
b6a39000-b6a3f000 rw-p 000d9000 08:05 991455     /home/daniel/Projects/Tonido/tonidosdk/build/bin/gcc/debug/libPocoNet.so.6
b6a3f000-b6bc5000 r-xp 00000000 08:05 991371     /home/daniel/Projects/Tonido/tonidosdk/build/bin/gcc/debug/libPocoFoundation.so.6
b6bc5000-b6bcd000 rw-p 00185000 08:05 991371     /home/daniel/Projects/Tonido/tonidosdk/build/bin/gcc/debug/libPocoFoundation.so.6
b6bcd000-b6bcf000 r-xp 00000000 08:05 1261694    /lib/tls/i686/cmov/libdl-2.9.soterminate called after throwing an instance of 'Poco::SystemException'
  what():  System exception
zsh: abort      ./tonidoconsole

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Problems running the SDK build.

Postby madhan » Mon Oct 19, 2009 10:05 am

First off all, we suggest using Ubuntu 8.04 LTS for development, because it will match exactly with our official release build and things are less likely to be out of whack.

It is possible there is a binary incompatibility causing the issue.

Can you attach the log from bin/gcc/debug/approot/logs/tonido.log?

dcarrera
Regular Tonidoid
Regular Tonidoid
Posts: 15
Joined: Sun Oct 18, 2009 10:13 am

Re: Problems running the SDK build.

Postby dcarrera » Mon Oct 19, 2009 10:11 am

Attached.
Attachments
tonido.log
Tonido log.
(4.09 KiB) Downloaded 290 times

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Problems running the SDK build.

Postby madhan » Mon Oct 19, 2009 10:36 am

Code: Select all

16:44:27:608 [1] [AppStarter]:E: Unable to lock file. Check if another process is already running
16:44:27:808 [0] []:I: Shutting down Tonido
16:44:27:811 [3] [Dispatcher]:E: No Message Handler Found For EventNotifierService for operation SIGNALEVENT
16:44:27:811 [3] [Dispatcher]:E: No Message Handler Found For EventNotifierService for operation SIGNALEVENT


See it is saying that another Tonido process might be running.
Can you do

Code: Select all

ps -ef | grep tonido


It is possible Tonido is already running. (Say your install version)

dcarrera
Regular Tonidoid
Regular Tonidoid
Posts: 15
Joined: Sun Oct 18, 2009 10:13 am

Re: Problems running the SDK build.

Postby dcarrera » Mon Oct 19, 2009 10:49 am

madhan wrote:It is possible Tonido is already running. (Say your install version)


Ah, yes. There was another instance of tonidoconsole running. I started it earlier. I killed it and now it works.

Thanks.

User avatar
madhan
Admin Tonidoid
Admin Tonidoid
Posts: 8617
Joined: Tue Dec 30, 2008 12:13 am
Location: Austin, TX, USA
Contact:

Re: Problems running the SDK build.

Postby madhan » Mon Oct 19, 2009 11:17 am

Perfect!


Return to “Tonido Platform Development”

Who is online

Users browsing this forum: No registered users and 1 guest