Re: Re: Application termination at some point



Thank you very much for your replies guys...

I run my test application with -g option and i am getting the following error message. I not able to fix the issue with the available information. Am i doing things correctly or not? Is this the one you want me to do?

Please help me...


[Thread 0x8914fb90 (LWP 13936) exited]
[Thread 0x8874eb90 (LWP 13937) exited]
[Thread 0x87d4db90 (LWP 13941) exited]
[Thread 0x8734cb90 (LWP 13951) exited]
[Thread 0x89b50b90 (LWP 13935) exited]
*** glibc detected *** /home/sundaram/Projects/ClientProjects/AGITLinWeb/SBI_WEB_API/src/Legend/AppTesting/test: free(): invalid next size (normal): 0x0a665fc0 ***
======= Backtrace: =========
/lib/libc.so.6[0x6dc0f1]
/lib/libc.so.6(cfree+0x90)[0x6dfbc0]
/usr/lib/libcairo.so.2[0x2991f5]
/usr/lib/libcairo.so.2[0x298301]
/usr/lib/libcairo.so.2[0x295f7c]
/usr/lib/libcairo.so.2[0x297b8d]
/usr/lib/libcairo.so.2[0x29fe74]
/usr/lib/libcairo.so.2[0x29d874]
/usr/lib/libcairo.so.2[0x2916fa]
/usr/lib/libcairo.so.2(cairo_stroke_preserve+0x29)[0x28cd29]
/usr/lib/libcairo.so.2(cairo_stroke+0x12)[0x28cd52]
/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so[0x4bd899]
/usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so[0x4b8ab4]
/usr/lib/libgtk-x11-2.0.so.0(gtk_paint_shadow+0xba)[0x319650a]
/usr/lib/libgtk-x11-2.0.so.0[0x30ab4f7]
/usr/lib/libgtk-x11-2.0.so.0[0x3125060]
/lib/libgobject-2.0.so.0[0xcd46f9]
/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xcd5f0b]
/lib/libgobject-2.0.so.0[0xce74d3]
/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x667)[0xce8147]
/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xce8539]
/usr/lib/libgtk-x11-2.0.so.0[0x32395d8]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x534)[0x311f924]
/usr/lib/libgdk-x11-2.0.so.0[0x5217ff]
/usr/lib/libgdk-x11-2.0.so.0(gdk_window_process_all_updates+0x97)[0x521a47]
/usr/lib/libgdk-x11-2.0.so.0[0x521ac5]
/lib/libglib-2.0.so.0[0xc565e1]
/lib/libglib-2.0.so.0(g_main_context_dispatch+0x182)[0xc58342]
/lib/libglib-2.0.so.0[0xc5b31f]
/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9)[0xc5b6c9]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0x311fb84]
/home/sundaram/Projects/ClientProjects/AGITLinWeb/SBI_WEB_API/src/Legend/AppTesting/test[0x804951c]
/lib/libc.so.6(__libc_start_main+0xdc)[0x688e8c]
/home/sundaram/Projects/ClientProjects/AGITLinWeb/SBI_WEB_API/src/Legend/AppTesting/test(__gxx_personality_v0+0x95)[0x8048d11]
======= Memory map: ========
00110000-0020f000 r-xp 00000000 08:02 3861494 /usr/lib/libX11.so.6.2.0
0020f000-00213000 rwxp 000ff000 08:02 3861494 /usr/lib/libX11.so.6.2.0
00213000-00240000 r-xp 00000000 08:02 3861497 /usr/lib/libpangoft2-1.0.so.0.1400.9 00240000-00241000 rwxp 0002c000 08:02 3861497 /usr/lib/libpangoft2-1.0.so.0.1400.9 00243000-00280000 r-xp 00000000 08:02 3861487 /usr/lib/libpango-1.0.so.0.1400.9 00280000-00282000 rwxp 0003c000 08:02 3861487 /usr/lib/libpango-1.0.so.0.1400.9
00284000-002f0000 r-xp 00000000 08:02 3861496 /usr/lib/libcairo.so.2.9.2
002f0000-002f2000 rwxp 0006b000 08:02 3861496 /usr/lib/libcairo.so.2.9.2
002f2000-0043a000 r-xp 00000000 08:02 2228633 /home/sundaram/Projects/ClientProjects/AGITLinWeb/SBI_WEB_API/src/Legend/libLegend.so.1.0 0043a000-0044d000 rwxp 00147000 08:02 2228633 /home/sundaram/Projects/ClientProjects/AGITLinWeb/SBI_WEB_API/src/Legend/libLegend.so.1.0
0044d000-004a6000 rwxp 0044d000 00:00 0
004a6000-004af000 r-xp 00000000 08:02 2785320 /lib/libnss_files-2.5.so
004af000-004b0000 r-xp 00008000 08:02 2785320 /lib/libnss_files-2.5.so
004b0000-004b1000 rwxp 00009000 08:02 2785320 /lib/libnss_files-2.5.so
004b1000-004b2000 r-xp 00000000 08:02 33036 /usr/lib/gconv/ISO8859-1.so
004b2000-004b4000 rwxp 00000000 08:02 33036 /usr/lib/gconv/ISO8859-1.so
004b4000-004c5000 r-xp 00000000 08:02 401249 /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so 004c5000-004c6000 rwxp 00011000 08:02 401249 /usr/lib/gtk-2.0/2.10.0/engines/libclearlooks.so 004c6000-004c8000 r-xp 00000000 08:02 231362 /usr/lib/pango/1.5.0/modules/pango-basic-fc.so 004c8000-004c9000 rwxp 00001000 08:02 231362 /usr/lib/pango/1.5.0/modules/pango-basic-fc.so
004c9000-004ca000 r-xp 004c9000 00:00 0 [vdso]
004ca000-004cd000 r-xp 00000000 08:02 398562 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.so 004cd000-004ce000 rwxp 00002000 08:02 398562 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-bmp.so 004ce000-004d3000 r-xp 00000000 08:02 398563 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-gif.so 004d3000-004d4000 rwxp 00005000 08:02 398563 /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-gif.so 004f6000-00580000 r-xp 00000000 08:02 3861505 /usr/lib/libgdk-x11-2.0.so.0.1000.4
00580000-00
Program received signal SIGABRT, Aborted.
0x004c9402 in __kernel_vsyscall ()
(gdb)

Thanks & Regards
Sundaram. D

On Nov 17, 2009 4:04pm, David NeÄas <yeti physics muni cz> wrote:
On Tue, Nov 17, 2009 at 10:01:42AM +0000, ds sundar gmail com wrote:

> Could you please guide me how to fix this issue by building -g option?



-g enables deubging (ie symbolic) information in the resulting

executable, making easier to examine the program using a debugger (gdb,

valgrind, ...).



Then you fix the problem by finding the bug and fixing it.



Yeti





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