[Gambas-user] Oops, I think I have broken something seriously here.

Bruce bbruen at ...2308...
Sun Feb 9 08:36:31 CET 2014


Without my usual long winded post, the project concerned runs perfectly
well in the IDE and the local executable i.e. tmcvmgr3.gambas runs
perfectly from a vterminal in the project directory. But when I
installed it into /usr/local/bin via autotools and run it I get the
following stuff.

The project is VERY complex. I just want to know where I should start
looking for what I have broken. (btw: Application._init.50 is in a local
override of Application and is just a line containing "Logger.Begin()")

Bruce

[bb at ...2711... comp]$ tmcvmgr3.gambas 
Another tag to check the tmcvmgr3 crash, this should move the backtrace
on Application._init from 49 to 50
This is just a tag to see if we can get a better handle on the tmcvmgr3
crash (it should adjust the crash line from 122 to 123
This is just a tag to see if we can get a better handle on the tmcvmgr3
crash (it should adjust the crash line from 122 to 123
Logger._free.123: #13: Null object
1: Application._init.50
*** glibc detected *** /usr/local/bin/tmcvmgr3.gambas: free(): invalid
pointer: 0x0961f247 ***
======= Backtrace: =========
/lib/i686/libc.so.6[0x45454afa]
/usr/local/bin/tmcvmgr3.gambas[0x806ce09]
/usr/local/bin/tmcvmgr3.gambas[0x806ce2a]
/usr/local/bin/tmcvmgr3.gambas[0x806bb93]
/usr/local/bin/tmcvmgr3.gambas[0x804b359]
/lib/i686/libc.so.6(__libc_start_main+0xf5)[0x453fa9e5]
/usr/local/bin/tmcvmgr3.gambas[0x804b415]
======= Memory map: ========
08047000-08094000 r-xp 00000000 08:01 819627     /usr/bin/gbx3
08094000-08099000 rw-p 0004d000 08:01 819627     /usr/bin/gbx3
08099000-0809b000 rw-p 00000000 00:00 0 
0950b000-0963c000 rw-p 00000000 00:00 0          [heap]
4119a000-411a3000 r-xp 00000000 08:01 1112250    /lib/libintl.so.8.1.2
411a3000-411a4000 rw-p 00009000 08:01 1112250    /lib/libintl.so.8.1.2
42c78000-42c98000 r-xp 00000000 08:01
607759     /usr/lib/libxcb.so.1.1.0
42c98000-42c99000 rw-p 0001f000 08:01
607759     /usr/lib/libxcb.so.1.1.0
42c9b000-42dce000 r-xp 00000000 08:01
607805     /usr/lib/libX11.so.6.3.0
42dce000-42dd1000 rw-p 00133000 08:01
607805     /usr/lib/libX11.so.6.3.0
42dd1000-42dd2000 rw-p 00000000 00:00 0 
42dd4000-42de4000 r-xp 00000000 08:01
608875     /usr/lib/libXext.so.6.4.0
42de4000-42de5000 rw-p 00010000 08:01
608875     /usr/lib/libXext.so.6.4.0
42de7000-42ee7000 r-xp 00000000 08:01
608881     /usr/lib/libglib-2.0.so.0.3800.2
42ee7000-42ee8000 rw-p 00100000 08:01
608881     /usr/lib/libglib-2.0.so.0.3800.2
42eea000-42ef2000 r-xp 00000000 08:01
608108     /usr/lib/libXrender.so.1.3.0
42ef2000-42ef3000 rw-p 00008000 08:01
608108     /usr/lib/libXrender.so.1.3.0
42ef5000-42f03000 r-xp 00000000 08:01 610750     /usr/lib/libXi.so.6.1.0
42f03000-42f04000 rw-p 0000d000 08:01 610750     /usr/lib/libXi.so.6.1.0
42f06000-42f0f000 r-xp 00000000 08:01
610752     /usr/lib/libXrandr.so.2.2.0
42f0f000-42f10000 rw-p 00008000 08:01
610752     /usr/lib/libXrandr.so.2.2.0
42f12000-42f15000 r-xp 00000000 08:01
609010     /usr/lib/libgmodule-2.0.so.0.3800.2
42f15000-42f16000 rw-p 00002000 08:01
609010     /usr/lib/libgmodule-2.0.so.0.3800.2
42f18000-42f1a000 r-xp 00000000 08:01
610748     /usr/lib/libXinerama.so.1.0.0
42f1a000-42f1b000 rw-p 00001000 08:01
610748     /usr/lib/libXinerama.so.1.0.0
42f4a000-42f9d000 r-xp 00000000 08:01
611169     /usr/lib/libQtSvg.so.4.8.5
42f9d000-42f9f000 rw-p 00052000 08:01
611169     /usr/lib/libQtSvg.so.4.8.5
4301e000-43023000 r-xp 00000000 08:01
610393     /usr/lib/libXtst.so.6.1.0
43023000-43024000 rw-p 00004000 08:01
610393     /usr/lib/libXtst.so.6.1.0
43095000-430e3000 r-xp 00000000 08:01
608882     /usr/lib/libgobject-2.0.so.0.3800.2
430e3000-430e4000 rw-p 0004e000 08:01
608882     /usr/lib/libgobject-2.0.so.0.3800.2
430e6000-4324d000 r-xp 00000000 08:01
610745     /usr/lib/libgio-2.0.so.0.3800.2
4324d000-43250000 rw-p 00166000 08:01
610745     /usr/lib/libgio-2.0.so.0.3800.2
43250000-43251000 rw-p 00000000 00:00 0 
43253000-4325c000 r-xp 00000000 08:01
610754     /usr/lib/libXcursor.so.1.0.2
4325c000-4325d000 rw-p 00008000 08:01
610754     /usr/lib/libXcursor.so.1.0.2
4325f000-43263000 r-xp 00000000 08:01
610753     /usr/lib/libXfixes.so.3.1.0
43263000-43264000 rw-p 00003000 08:01
610753     /usr/lib/libXfixes.so.3.1.0
43266000-43267000 r-xp 00000000 08:01
610287     /usr/lib/libgthread-2.0.so.0.3800.2
43267000-43268000 rw-p 00000000 08:01
610287     /usr/lib/libgthread-2.0.so.0.3800.2
4326a000-432e7000 r-xp 00000000 08:01
611159     /usr/lib/libQtDBus.so.4.8.5
432e7000-432e9000 rw-p 0007c000 08:01
611159     /usr/lib/libQtDBus.so.4.8.5
433cb000-4340a000 r-xp 00000000 08:01
611028     /usr/lib/libQtXml.so.4.8.5
4340a000-4340c000 rw-p 0003e000 08:01
611028     /usr/lib/libQtXml.so.4.8.5
4340e000-43547000 r-xp 00000000 08:01
610508     /usr/lib/libQtNetwork.so.4.8.5
43547000-4354b000 rw-p 00139000 08:01
610508     /usr/lib/libQtNetwork.so.4.8.5
435e7000-43624000 r-xp 00000000 08:01
611193     /usr/lib/libQtSql.so.4.8.5
43624000-43625000 rw-p 0003d000 08:01
611193     /usr/lib/libQtSql.so.4.8.5
436c2000-439a5000 r-xp 00000000 08:01
610386     /usr/lib/libQtCore.so.4.8.5
439a5000-439ac000 rw-p 002e3000 08:01
610386     /usr/lib/libQtCore.so.4.8.5
439ac000-439ad000 rw-p 00000000 00:00 0 
43ca8000-43d5b000 r-xp 00000000 08:01
605086     /usr/lib/libsqlite3.so.0.8.6
43d5b000-43d5e000 rw-p 000b2000 08:01
605086     /usr/lib/libsqlite3.so.0.8.6
43e29000-43f0b000 r-xp 00000000 08:01
610297     /usr/lib/libgstreamer-0.10.so.0.30.0
43f0b000-43f0f000 rw-p 000e1000 08:01
610297     /usr/lib/libgstreamer-0.10.so.0.30.0
43f0f000-43f10000 rw-p 00000000 00:00 0 
43f7c000-43fdb000 r-xp 00000000 08:01
610874     /usr/lib/libgstbase-0.10.so.0.30.0
43fdb000-43fdc000 rw-p 0005f000 08:01
610874     /usr/lib/libgstbase-0.10.so.0.30.0
44014000-44034000 r-xp 00000000 08:01
611307     /usr/lib/libgstpbutils-0.10.so.0.25.0
44034000-44036000 rw-p 0001f000 08:01
611307     /usr/lib/libgstpbutils-0.10.so.0.25.0
44038000-44047000 r-xp 00000000 08:01
611357     /usr/lib/libgstinterfaces-0.10.so.0.25.0
44047000-44048000 rw-p 0000f000 08:01
611357     /usr/lib/libgstinterfaces-0.10.so.0.25.0
440b8000-440d4000 r-xp 00000000 08:01
611360     /usr/lib/libgstvideo-0.10.so.0.25.0
440d4000-440d5000 rw-p 0001b000 08:01
611360     /usr/lib/libgstvideo-0.10.so.0.25.0
440d7000-440e2000 r-xp 00000000 08:01
611356     /usr/lib/libgstapp-0.10.so.0.25.0
440e2000-440e3000 rw-p 0000b000 08:01
611356     /usr/lib/libgstapp-0.10.so.0.25.0
4457e000-4459c000 r-xp 00000000 08:01 1113181    /lib/ld-2.16.so
4459c000-4459d000 r--p 0001d000 08:01 1113181    /lib/ld-2.16.so
4459d000-4459e000 rw-p 0001e000 08:01 1113181    /lib/ld-2.16.so
44918000-44bd4000 r-xp 00000000 08:01
611195     /usr/lib/libQt3Support.so.4.8.5
44bd4000-44be2000 rw-p 002bb000 08:01
611195     /usr/lib/libQt3Support.so.4.8.5
453e1000-45588000 r-xp 00000000 08:01 1113182    /lib/i686/libc-2.16.so
45588000-45589000 ---p 001a7000 08:01 1113182    /lib/i686/libc-2.16.so
45589000-4558b000 r--p 001a7000 08:01 1113182    /lib/i686/libc-2.16.so
4558b000-4558c000 rw-p 001a9000 08:01 1113182    /lib/i686/libc-2.16.so
4558c000-4558f000 rw-p 00000000 00:00 0 
45591000-45594000 r-xp 00000000 08:01 1113186    /lib/libdl-2.16.so
45594000-45595000 r--p 00002000 08:01 1113186    /lib/libdl-2.16.so
45595000-45596000 rw-p 00003000 08:01 1113186    /lib/libdl-2.16.so
45598000-455d6000 r-xp 00000000 08:01 1113183    /lib/i686/libm-2.16.so
455d6000-455d7000 r--p 0003d000 08:01 1113183    /lib/i686/libm-2.16.so
455d7000-455d8000 rw-p 0003e000 08:01 1113183    /lib/i686/libm-2.16.so
455da000-455f0000 r-xp 00000000 08:01
1113184    /lib/i686/libpthread-2.16.so
455f0000-455f1000 r--p 00015000 08:01
1113184    /lib/i686/libpthread-2.16.so
455f1000-455f2000 rw-p 00016000 08:01
1113184    /lib/i686/libpthread-2.16.so
455f2000-455f4000 rw-p 00000000 00:00 0 
455f6000-455fd000 r-xp 00000000 08:01 1114297    /lib/i686/librt-2.16.so
455fd000-455fe000 r--p 00006000 08:01 1114297    /lib/i686/librt-2.16.so
455fe000-455ff000 rw-p 00007000 08:01 1114297    /lib/i686/librt-2.16.so
45601000-45617000 r-xp 00000000 08:01 1114296    /lib/libz.so.1.2.8
45617000-45618000 r--p 00015000 08:01 1114296    /lib/libz.so.1.2.8
45618000-45619000 rw-p 00016000 08:01 1114296    /lib/libz.so.1.2.8
4561b000-4561d000 r-xp 00000000 08:01
610981     /usr/lib/libXau.so.6.0.0
4561d000-4561e000 rw-p 00001000 08:01
610981     /usr/lib/libXau.so.6.0.0
45759000-4575e000 r-xp 00000000 08:01
610983     /usr/lib/libXdmcp.so.6.0.0
4575e000-4575f000 rw-p 00004000 08:01
610983     /usr/lib/libXdmcp.so.6.0.0
45797000-45803000 r-xp 00000000 08:01 1113185    /lib/libpcre.so.1.2.1
45803000-45804000 rw-p 0006b000 08:01 1113185    /lib/libpcre.so.1.2.1
45806000-458eb000 r-xp 00000000 08:01 607538     /usr/lib/libstdc
++.so.6.0.17
458eb000-458ef000 r--p 000e4000 08:01 607538     /usr/lib/libstdc
++.so.6.0.17
458ef000-458f1000 rw-p 000e8000 08:01 607538     /usr/lib/libstdc
++.so.6.0.17
458f1000-458f8000 rw-p 00000000 00:00 0 
458fa000-45916000 r-xp 00000000 08:01
1114295    /lib/libgcc_s-4.7.2.so.1
45916000-45917000 rw-p 0001b000 08:01
1114295    /lib/libgcc_s-4.7.2.so.1
45a1c000-45a30000 r-xp 00000000 08:01 1114671    /lib/libresolv-2.16.so
45a30000-45a31000 ---p 00014000 08:01 1114671    /lib/libresolv-2.16.so
45a31000-45a32000 r--p 00014000 08:01 1114671    /lib/libresolv-2.16.so
45a32000-45a33000 rw-p 00015000 08:01 1114671    /lib/libresolv-2.16.so
45a33000-45a35000 rw-p 00000000 00:00 0 
45a42000-45b89000 r-xp 00000000 08:01
611025     /usr/lib/libxml2.so.2.7.8
45b89000-45b8e000 rw-p 00146000 08:01
611025     /usr/lib/libxml2.so.2.7.8
45b8e000-45b8f000 rw-p 00000000 00:00 0 
45b91000-45b96000 r-xp 00000000 08:01
611282     /usr/lib/libffi.so.5.0.9
45b96000-45b97000 rw-p 00005000 08:01
611282     /usr/lib/libffi.so.5.0.9
45c07000-45c82000 r-xp 00000000 08:01
609992     /usr/lib/libfreetype.so.6.3.22
45c82000-45c86000 rw-p 0007a000 08:01
609992     /usr/lib/libfreetype.so.6.3.22
45c8e000-45cd2000 r-xp 00000000 08:01
607596     /usr/lib/libpng12.so.0.50.0
45cd2000-45cd3000 rw-p 00043000 08:01
607596     /usr/lib/libpng12.so.0.50.0
45cd5000-45d06000 r-xp 00000000 08:01
611267     /usr/lib/libfontconfig.so.1.4.4
45d06000-45d08000 rw-p 00030000 08:01
611267     /usr/lib/libfontconfig.so.1.4.4
45e7f000-45e95000 r-xp 00000000 08:01
611005     /usr/lib/libICE.so.6.3.0
45e95000-45e96000 rw-p 00015000 08:01
611005     /usr/lib/libICE.so.6.3.0
45e96000-45e98000 rw-p 00000000 00:00 0 
45e9a000-45ea1000 r-xp 00000000 08:01 611007     /usr/lib/libSM.so.6.0.1
45ea1000-45ea2000 rw-p 00006000 08:01 611007     /usr/lib/libSM.so.6.0.1
45eb7000-4606a000 r-xp 00000000 08:01
610971     /usr/lib/libcrypto.so.1.0.0
4606a000-4607f000 rw-p 001b3000 08:01
610971     /usr/lib/libcrypto.so.1.0.0
4607f000-46082000 rw-p 00000000 00:00 0 
460ab000-460f4000 r-xp 00000000 08:01 1114673    /lib/libdbus-1.so.3.7.4
460f4000-460f5000 rw-p 00048000 08:01 1114673    /lib/libdbus-1.so.3.7.4
4649b000-464f0000 r-xp 00000000 08:01
610973     /usr/lib/libssl.so.1.0.0
464f0000-464f4000 rw-p 00055000 08:01
610973     /usr/lib/libssl.so.1.0.0
46d29000-477e9000 r-xp 00000000 08:01
610991     /usr/lib/libQtGui.so.4.8.5
477e9000-4780e000 rw-p 00abf000 08:01
610991     /usr/lib/libQtGui.so.4.8.5
4780e000-47811000 rw-p 00000000 00:00 0 
48816000-488a5000 r-xp 00000000 08:01
608286     /usr/lib/liborc-0.4.so.0.17.0
488a5000-488aa000 rw-p 0008e000 08:01
608286     /usr/lib/liborc-0.4.so.0.17.0
488ac000-49fb0000 r-xp 00000000 08:01
608982     /usr/lib/libQtWebKit.so.4.9.4
49fb0000-4a08c000 rw-p 01703000 08:01
608982     /usr/lib/libQtWebKit.so.4.9.4
4a08c000-4a0a1000 rw-p 00000000 00:00 0 
b66fa000-b6701000 r--s 00000000 08:01
761994     /usr/lib/gconv/gconv-modules.cache
b6701000-b6702000 rw-p 00000000 00:00 0 
b68b3000-b68c4000 r-xp 00000000 08:01
680413     /usr/lib/gambas3/gb.qt4.webkit.so.0.0.0
b68c4000-b68c7000 rw-p 00010000 08:01
680413     /usr/lib/gambas3/gb.qt4.webkit.so.0.0.0
b6923000-b692e000 r-xp 00000000 08:01
678874     /usr/lib/gambas3/gb.db.so.0.0.0
b692e000-b6930000 rw-p 0000a000 08:01
678874     /usr/lib/gambas3/gb.db.so.0.0.0
b6a29000-b6a2e000 r-xp 00000000 08:01
680414     /usr/lib/gambas3/gb.desktop.so.0.0.0
b6a2e000-b6a2f000 rw-p 00004000 08:01
680414     /usr/lib/gambas3/gb.desktop.so.0.0.0
b6b1e000-b6b88000 r-xp 00000000 08:01
680410     /usr/lib/gambas3/gb.qt4.so.0.0.0
b6b88000-b6b94000 rw-p 0006a000 08:01
680410     /usr/lib/gambas3/gb.qt4.so.0.0.0
b6b94000-b6ba0000 r-xp 00000000 08:01
679330     /usr/lib/gambas3/gb.image.so.0.0.0
b6ba0000-b6ba1000 rw-p 0000c000 08:01
679330     /usr/lib/gambas3/gb.image.so.0.0.0
b73a4000-b7514000 r--p 00334000 08:01
738240     /usr/share/locale/locale-archive
b7514000-b7714000 r--p 00000000 08:01
738240     /usr/share/locale/locale-archive
b7714000-b7716000 rw-p 00000000 00:00 0 
b772b000-b772f000 r-xp 00000000 08:01
679060     /usr/lib/gambas3/gb.geom.so.0.0.0
b772f000-b7730000 rw-p 00004000 08:01
679060     /usr/lib/gambas3/gb.geom.so.0.0.0
b7730000-b7737000 r-xp 00000000 08:01
679100     /usr/lib/gambas3/gb.draw.so.0.0.0
b7737000-b7739000 rw-p 00006000 08:01
679100     /usr/lib/gambas3/gb.draw.so.0.0.0
b773d000-b773f000 rw-p 00000000 00:00 0 
bfad3000-bfaf5000 rw-p 00000000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
Aborted






More information about the User mailing list