Hi,
   thanks for your reply.
I am working on linux plaform to develop the application and then it is cross-compiled and run on an embedded system with AVR32. The problem is on the linux platform. I deleted all the libfltk*.so and libfltk*.a available on /usr/lib or /usr/local/lib.
 In attach you'll find the backtrace.
Any comments or help are welcome

Thanks,
Jaws

Albrecht Schlosser wrote:
jaws wrote:
Hi all,
I have developped an application using the stable version of the fltk library ver 1.1.9. Now I need to extend the application using the Unicode character to be able to use Cyrillic and french characters.

I've noticed the fltk 1.1.6 utf8 version but compiling it with my app there are some incompatibility in some functions (for example awake function).

So I've started to thing to pass to the 1.3 version or 2.0. I am newbie on fltk (only 1 year of experience). What are the main differences beetween the two main versions?

FLTK 2.0 is an experimental, non-stable, but also a working version. You should only use it, if you are willing to accept API changes and other instabilities during your use.

FLTK 1.3 is the official, upcoming stable version that will preserve API compatibility at a high level. Support is (IMHO) much better than for 2.0.

What is the best choice having an application working on fltk 1.1.9 to integrate the utf8 characters?

FLTK 1.3 is almost API compatible with 1.1, and therefore it is the best way to go and test it without code modifications (almost). There's a chapter about migration in the docs, where you can see what changes you can expect.

Building the last snapshot fltk 1.3.x-r6649, my application exit with a segmentation fault. Even trying to debug the code it is not clear the cause of this anomaly.

That's strange and should not happen. The most probable reason is that you may have some old (1.1) .dll (Windows) or .so (Linux) files that you are using together with your 1.3-compiled code (the shareable libraries have the same names, so this may happen unintentionally), but they are not binary compatible.

Any suggestions? Any comments or idea are welcome.

Check your installation, link statically, maybe with explicit use of FLTK 1.3's fltk-config, clean your old installation, ...

On which platform are you developing? Can you run the FLTK 1.3 demo programs?

Albrecht

*** glibc detected *** ./src/lisaApp: corrupted double-linked list: 0x0812f220 
***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7b933f9]
/lib/tls/i686/cmov/libc.so.6[0xb7b9553e]
/lib/tls/i686/cmov/libc.so.6(__libc_malloc+0x90)[0xb7b96fc0]
/usr/lib/libstdc++.so.6(_Znwj+0x27)[0xb7d3a6a7]
./src/lisaApp[0x80644a9]
./src/lisaApp[0x804cee1]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7b41050]
./src/lisaApp(_ZN9Fl_Window4showEv+0x59)[0x804c7d1]
======= Memory map: ========
08048000-08076000 r-xp 00000000 08:11 883502     
/projects/lisaApp/lisaApp-1.0.x/src/lisaApp
08076000-0809c000 rw-p 0002d000 08:11 883502     
/projects/lisaApp/lisaApp-1.0.x/src/lisaApp
0809c000-0814f000 rw-p 0809c000 00:00 0          [heap]
b6f00000-b6f21000 rw-p b6f00000 00:00 0 
b6f21000-b7000000 ---p b6f21000 00:00 0 
b707c000-b707d000 ---p b707c000 00:00 0 
b707d000-b787d000 rw-p b707d000 00:00 0 
b787d000-b7880000 r--p 00000000 08:01 786439     
/usr/local/share/locale/it/LC_MESSAGES/lisaApp.mo
b7880000-b7881000 r--p 00000000 08:01 489406     
/usr/lib/locale/en_US.utf8/LC_NUMERIC
b7881000-b7882000 r--p 00000000 08:01 489409     
/usr/lib/locale/en_US.utf8/LC_TIME
b7882000-b7962000 r--p 00000000 08:01 489400     
/usr/lib/locale/en_US.utf8/LC_COLLATE
b7962000-b7963000 r--p 00000000 08:01 489404     
/usr/lib/locale/en_US.utf8/LC_MONETARY
b7963000-b7964000 r--p 00000000 08:01 504941     
/usr/lib/locale/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
b7964000-b7965000 r--p 00000000 08:01 489407     
/usr/lib/locale/en_US.utf8/LC_PAPER
b7965000-b7966000 r--p 00000000 08:01 489405     
/usr/lib/locale/en_US.utf8/LC_NAME
b7966000-b7967000 r--p 00000000 08:01 489399     
/usr/lib/locale/en_US.utf8/LC_ADDRESS
b7967000-b7968000 r--p 00000000 08:01 489408     
/usr/lib/locale/en_US.utf8/LC_TELEPHONE
b7968000-b7969000 r--p 00000000 08:01 489403     
/usr/lib/locale/en_US.utf8/LC_MEASUREMENT
b7969000-b796a000 r--p 00000000 08:01 489402     
/usr/lib/locale/en_US.utf8/LC_IDENTIFICATION
b796a000-b7971000 r--s 00000000 08:01 456346     
/usr/lib/gconv/gconv-modules.cache
b7971000-b79b0000 r--p 00000000 08:01 489401     
/usr/lib/locale/en_US.utf8/LC_CTYPE
b79b0000-b7b21000 r--p 00000000 08:01 228165     /usr/lib/locale/locale-archive
b7b21000-b7b23000 rw-p b7b21000 00:00 0 
b7b23000-b7b27000 r-xp 00000000 08:01 441107     /usr/lib/libXdmcp.so.6.0.0
b7b27000-b7b28000 rw-p 00003000 08:01 441107     /usr/lib/libXdmcp.so.6.0.0
b7b28000-b7b2a000 r-xp 00000000 08:01 441096     /usr/lib/libXau.so.6.0.0
b7b2a000-b7b2b000 rw-p 00001000 08:01 441096     /usr/lib/libXau.so.6.0.0
b7b2b000-b7c6f000 r-xp 00000000 08:01 964568     
/lib/tls/i686/cmov/libc-2.6.1.so
b7c6f000-b7c70000 r--p 00143000 08:01 964568     
/lib/tls/i686/cmov/libc-2.6.1.so
b7c70000-b7c72000 rw-p 00144000 08:01 964568     
/lib/tls/i686/cmov/libc-2.6.1.so
b7c72000-b7c76000 rw-p b7c72000 00:00 0 
b7c76000-b7c80000 r-xp 00000000 08:01 928483     /lib/libgcc_s.so.1
b7c80000-b7c81000 rw-p 0000a000 08:01 928483     /lib/libgcc_s.so.1
b7c81000-b7d69000 r-xp 00000000 08:01 114490     /usr/lib/libstdc++.so.6.0.9
b7d69000-b7d6c000 r--p 000e8000 08:01 114490     /usr/lib/libstdc++.so.6.0.9
b7d6c000-b7d6e000 rw-p 000eb000 08:01 114490     /usr/lib/libstdc++.so.6.0.9
b7d6e000-b7d74000 rw-p b7d6e000 00:00 0 
b7d74000-b7d97000 r-xp 00000000 08:01 964572     
/lib/tls/i686/cmov/libm-2.6.1.so
b7d97000-b7d99000 rw-p 00023000 08:01 964572     
/lib/tls/i686/cmov/libm-2.6.1.so
b7d99000-b7dad000 r-xp 00000000 08:01 964582     
/lib/tls/i686/cmov/libpthread-2.6.1.so
b7dad000-b7daf000 rw-p 00013000 08:01 964582     
/lib/tls/i686/cmov/libpthread-2.6.1.so
b7daf000-b7db1000 rw-p b7daf000 00:00 0 
b7db1000-b7db3000 r-xp 00000000 08:01 964571     
/lib/tls/i686/cmov/libdl-2.6.1.so
b7db3000-b7db5000 rw-p 00001000 08:01 964571     
/lib/tls/i686/cmov/libdl-2.6.1.so
b7db5000-b7dc2000 r-xp 00000000 08:01 441111     /usr/lib/libXext.so.6.4.0
b7dc2000-b7dc3000 rw-p 0000d000 08:01 441111     /usr/lib/libXext.so.6.4.0
b7dc3000-b7eb0000 r-xp 00000000 08:01 441090     /usr/lib/libX11.so.6.2.0
b7eb0000-b7eb4000 rw-p 000ed000 08:01 441090     /usr/lib/libX11.so.6.2.0
b7eb4000-b7eb5000 rw-p b7eb4000 00:00 0 
b7eb5000-b7f7b000 r-xp 00000000 08:01 442056     /usr/lib/libfltk.so.1.3
b7f7b000-b7f7e000 rw-p 000c5000 08:01 442056     /usr/lib/libfltk.so.1.3
b7f7e000-b7f82000 rw-p b7f7e000 00:00 0 
b7f82000-b7f89000 r-xp 00000000 08:01 964584     
/lib/tls/i686/cmov/librt-2.6.1.so
b7f89000-b7f8b000 rw-p 00006000 08:01 964584     
/lib/tls/i686/cmov/librt-2.6.1.so
b7f97000-b7f9a000 rw-p b7f97000 00:00 0 
b7f9a000-b7fb4000 r-xp 00000000 08:01 928429     /lib/ld-2.6.1.so
b7fb4000-b7fb6000 rw-p 00019000 08:01 928429     /lib/ld-2.6.1.so
bfb09000-bfb1e000 rw-p bfb09000 00:00 0          [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
Aborted (core dumped)

_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to