Thread: [Tuxpaint-devel] glibc detected ... double free or corruption
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Pere P. i C. <pe...@fo...> - 2007-07-01 17:23:53
|
Hi! I just compiled and install the latest test tarball and get this annoying message at the beginnin. compiled with make nosvg and installed in /usr/local Every time I open tuxpaint, I get this on console, all other apps, including tp-0.9.16 seem to work fine, and tuxpaint runs fine after this message except for printing where i can't print at all Any hints I can try? Yours Pere gcc --version gcc (GCC) 4.1.3 20070629 (prerelease) (Debian 4.1.2-13) pere@hola:~/CVS/tuxpaint$ /usr/local/bin/tuxpaint open /dev/sequencer: No such file or directory *** glibc detected *** /usr/local/bin/tuxpaint: double free or corruption (out): 0x0809e5f8 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb7cabeed] /lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7caf530] /usr/lib/libSDL-1.2.so.0(SDL_FreeSurface+0xda)[0xb7e6ef2a] /usr/local/bin/tuxpaint[0x806adf4] /usr/local/bin/tuxpaint[0x806ce5d] /usr/local/bin/tuxpaint[0x806c934] /usr/local/bin/tuxpaint[0x806c9ca] /usr/local/bin/tuxpaint[0x806c9ca] /usr/local/bin/tuxpaint[0x806c9ca] /usr/local/bin/tuxpaint[0x806b048] /usr/local/bin/tuxpaint[0x806bd29] /usr/local/bin/tuxpaint[0x806c268] /usr/local/bin/tuxpaint[0x8064de3] /lib/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7c59ebc] /usr/local/bin/tuxpaint[0x804a9b1] ======= Memory map: ======== 08048000-08077000 r-xp 00000000 03:01 32734 /usr/local/bin/tuxpaint 08077000-08079000 rw-p 0002e000 03:01 32734 /usr/local/bin/tuxpaint 08079000-081ed000 rw-p 08079000 00:00 0 [heap] b7500000-b7521000 rw-p b7500000 00:00 0 b7521000-b7600000 ---p b7521000 00:00 0 b767c000-b787c000 r--p 00000000 03:01 32784 /usr/lib/locale/locale-archive b787c000-b787e000 rw-p b787c000 00:00 0 b787e000-b7888000 r-xp 00000000 03:01 1112194 /lib/libgcc_s.so.1 b7888000-b7889000 rw-p 00009000 03:01 1112194 /lib/libgcc_s.so.1 b7889000-b7969000 r-xp 00000000 03:01 1227551 /usr/lib/libstdc ++.so.6.0.9 b7969000-b796c000 r--p 000df000 03:01 1227551 /usr/lib/libstdc ++.so.6.0.9 b796c000-b796e000 rw-p 000e2000 03:01 1227551 /usr/lib/libstdc ++.so.6.0.9 b796e000-b7974000 rw-p b796e000 00:00 0 b7974000-b79b1000 r-xp 00000000 03:01 2552609 /usr/lib/libsmpeg-0.4.so.0.1.4 b79b1000-b79b3000 rw-p 0003c000 03:01 2552609 /usr/lib/libsmpeg-0.4.so.0.1.4 b79b3000-b79d0000 rw-p b79b3000 00:00 0 b79d0000-b79d4000 r-xp 00000000 03:01 2551278 /usr/lib/libogg.so.0.5.3 b79d4000-b79d5000 rw-p 00003000 03:01 2551278 /usr/lib/libogg.so.0.5.3 b79d5000-b79ef000 r-xp 00000000 03:01 1227145 /usr/lib/libvorbis.so.0.3.1 b79ef000-b79fe000 rw-p 0001a000 03:01 1227145 /usr/lib/libvorbis.so.0.3.1 b79fe000-b7a04000 r-xp 00000000 03:01 1227143 /usr/lib/libvorbisfile.so.3.1.1 b7a04000-b7a05000 rw-p 00006000 03:01 1227143 /usr/lib/libvorbisfile.so.3.1.1 b7a05000-b7a6c000 r-xp 00000000 03:01 2551797 /usr/lib/libfreetype.so.6.3.10 b7a6c000-b7a6f000 rw-p 00067000 03:01 2551797 /usr/lib/libfreetype.so.6.3.10 b7a6f000-b7a82000 r-xp 00000000 03:01 1114773 /lib/i686/cmov/libpthread-2.5.so b7a82000-b7a84000 rw-p 00013000 03:01 1114773 /lib/i686/cmov/libpthread-2.5.so b7a84000-b7a87000 rw-p b7a84000 00:00 0 b7a87000-b7ad7000 r-xp 00000000 03:01 2551191 /usr/lib/libvga.so.1.4.3 b7ad7000-b7ade000 rw-p 00050000 03:01 2551191 /usr/lib/libvga.so.1.4.3 b7ade000-b7ae7000 rw-p b7ade000 00:00 0 b7ae7000-b7ae9000 r-xp 00000000 03:01 1112100 /lib/i686/cmov/libdl-2.5.so b7ae9000-b7aeb000 rw-p 00001000 03:01 1112100 /lib/i686/cmov/libdl-2.5.so b7aeb000-b7afe000 r-xp 00000000 03:01 2551954 /usr/lib/libz.so.1.2.3 b7afe000-b7aff000 rw-p 00012000 03:01 2551954 /usr/lib/libz.so.1.2.3 b7aff000-b7b0b000 r-xp 00000000 03:01 2556403 /usr/lib/libdirect-0.9.so.24.0.0 b7b0b000-b7b0c000 rw-p 0000c000 03:01 2556403 /usr/lib/libdirect-0.9.so.24.0.0 b7b0c000-b7b10000 r-xp 00000000 03:01 2556445 /usr/lib/libfusion-0.9.so.24.0.0 b7b10000-b7b11000 rw-p 00003000 03:01 2556445 /usr/lib/libfusion-0.9.so.24.0.0 b7b11000-b7b5d000 r-xp 00000000 03:01 2556446 /usr/lib/libdirectfb-0.9.so.24.0.0 b7b5d000-b7b5f000 rw-p 0004c000 03:01 2556446 /usr/lib/libdirectfb-0.9.so.24.0.0 b7b5f000-b7b60000 rw-p b7b5f000 00:00 0 b7b60000-b7c1c000 r-xp 00000000 03:01 2551565 /usr/lib/libasound.so.2.0.0 b7c1c000-b7c21000 rw-p 000bb000 03:01 2551565 /usr/lib/libasound.so.2.0.0 b7c21000-b7c43000 r-xp 00000000 03:01 2550959 /usr/lib/libpng12.so.0.15.0 b7c43000-b7c44000 rw-p 00021000 03:01 2550959 /usr/lib/libpng12.so.0.15.0 b7c44000-b7d81000 r-xp 00000000 03:01 1112040 /lib/i686/cmov/libc-2.5.so b7d81000-b7d82000 r--p 0013d000 03:01 1112040 /lib/i686/cmov/libc-2.5.so b7d82000-b7d84000 rw-p 0013e000 03:01 1112040 /lib/i686/cmov/libc-2.5.so b7d84000-b7d87000 rw-p b7d84000 00:00 0 b7d87000-b7dac000 r-xp 00000000 03:01 1112101 /lib/i686/cmov/libm-2.5.so b7dac000-b7dae000 rw-p 00024000 03:01 1112101 /lib/i686/cmov/libm-2.5.so b7dae000-b7de9000 r-xp 00000000 03:01 2552360 /usr/lib/libSDL_mixer-1.2.so.0.2.4 b7de9000-b7df4000 rw-p 0003b000 03:01 2552360 /usr/lib/libSDL_mixer-1.2.so.0.2.4 b7df4000-b7e1e000 rw-p b7df4000 00:00 0 b7e1e000-b7e22000 r-xp 00000000 03:01 2552674 /usr/lib/libSDL_ttf-2.0.so.0.6.0 b7e22000-b7e23000 rw-p 00003000 03:01 2552674 /usr/lib/libSDL_ttf-2.0.so.0.6.0 b7e23000-b7e24000 rw-p b7e23000 00:00 0 b7e24000-b7e2e000 r-xp 00000000 03:01 2552617 /usr/lib/libSDL_image-1.2.so.0.1.4 b7e2e000-b7e2f000 rw-p 0000a000 03:01 2552617 /usr/lib/libSDL_image-1.2.so.0.1.4 b7e2f000-b7e3f000 rw-p b7e2f000 00:00 0 b7e3f000-b7ea6000 r-xp 00000000 03:01 2551150 /usr/lib/libSDL-1.2.so.0.11.0 b7ea6000-b7ea8000 rw-p 00067000 03:01 2551150 /usr/lib/libSDL-1.2.so.0.11.0 b7ea8000-b7ef0000 rw-p b7ea8000 00:00 0 b7f12000-b7f15000 rw-p b7f12000 00:00 0 b7f15000-b7f30000 r-xp 00000000 03:01 1112195 /lib/ld-2.5.so b7f30000-b7f32000 rw-p 0001b000 03:01 1112195 /lib/ld-2.5.so bfb42000-bfb56000 rwxp bfb42000 00:00 0 [stack] bfb56000-bfb57000 rw-p bfb56000 00:00 0 ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] |
|
From: Bill K. <nb...@so...> - 2007-07-01 19:49:23
|
On Sun, Jul 01, 2007 at 07:23:56PM +0200, Pere Pujal i Carabantes wrote: > Hi! > I just compiled and install the latest test tarball and get this > annoying message at the beginnin. > > compiled with make nosvg and installed in /usr/local Uh oh, interesting. I'm no good at reading backtraces, anyone else have ideas off-hand? It might be good to run valgrind or somesuch on Tux Paint now and then, I suppose. *sigh* I barely got 0.9.17 released this morning before my baby woke up and I had to help take care of him. :) > Every time I open tuxpaint, I get this on console, all other apps, > including tp-0.9.16 seem to work fine, and tuxpaint runs fine after this > message except for printing where i can't print at all I don't suppose you've tried it without 'nosvg' yet...? Thx! -bill! |
|
From: Pere P. i C. <pe...@fo...> - 2007-07-01 20:03:20
|
El dg 01 de 07 del 2007 a les 12:49 -0700, en/na Bill Kendrick va escriure: > On Sun, Jul 01, 2007 at 07:23:56PM +0200, Pere Pujal i Carabantes wrote: > > Hi! > > I just compiled and install the latest test tarball and get this > > annoying message at the beginnin. > > > > compiled with make nosvg and installed in /usr/local > > Uh oh, interesting. I'm no good at reading backtraces, anyone else > have ideas off-hand? It might be good to run valgrind or somesuch on > Tux Paint now and then, I suppose. *sigh* > > I barely got 0.9.17 released this morning before my baby woke up and > I had to help take care of him. :) > > > > Every time I open tuxpaint, I get this on console, all other apps, > > including tp-0.9.16 seem to work fine, and tuxpaint runs fine after this > > message except for printing where i can't print at all > > I don't suppose you've tried it without 'nosvg' yet...? I can't compile with svg (debian unstable) And I don't understand nothing about backtraces or gcc bugs or anything else in programing, but can follow instructions about what to do for help. Yours Pere |
|
From: Bill K. <nb...@so...> - 2007-07-02 04:33:21
|
On Sun, Jul 01, 2007 at 10:03:24PM +0200, Pere Pujal i Carabantes wrote: > I can't compile with svg (debian unstable) Can you try with "make oldsvg"? :) Or does neither 'make' nor 'make oldsvg' work? -bill! |
|
From: Pere P. i C. <pe...@fo...> - 2007-07-02 06:27:33
|
El dg 01 de 07 del 2007 a les 21:33 -0700, en/na Bill Kendrick va
escriure:
> On Sun, Jul 01, 2007 at 10:03:24PM +0200, Pere Pujal i Carabantes wrote:
> > I can't compile with svg (debian unstable)
>
> Can you try with "make oldsvg"? :) Or does neither 'make' nor
> 'make oldsvg' work?
>
>
Don't work. I have installed libcairo2-dev, of course, but get the
following:
pere@hola:~/CVS/tuxpaint$ make
...Compiling Tux Paint from source...
cc -O2 -W -Wall -fno-common -ffloat-store -Wcast-align -Wredundant-decls
-Wbad-function-cast -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes `src/test-option.sh
-Wdeclaration-after-statement` -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -I/usr/include/cairo -Isrc/mouse -DLARGE_CURSOR_SHAPES
-DDATA_PREFIX=\"/usr/local/share/tuxpaint/\" -D__SOUND -D__SVG -D__SVG
-DDOC_PREFIX=\"/usr/local/share/doc/tuxpaint/\" -DLOCALEDIR=
\"/usr/local/share/locale/\" -DIMDIR=\"/usr/local/share/im/\" -DCONFDIR=
\"/usr/local/etc/tuxpaint/\" -DVER_VERSION=\"0.9.17\" -DVER_DATE=\"`date
+"%Y-%m-%d"`\" -DNO_MAEMOFLAG \
-c src/tuxpaint.c -o obj/tuxpaint.o
src/tuxpaint.c:350:17: error: svg.h: No such file or directory
src/tuxpaint.c:351:23: error: svg-cairo.h: No such file or directory
src/tuxpaint.c:353:2: error: #error
"---------------------------------------------------"
src/tuxpaint.c:354:2: error: #error "If you installed Cairo, libSVG or
svg-cairo from packages, be sure"
src/tuxpaint.c:355:2: error: #error "to get the development package, as
well!"
src/tuxpaint.c:356:2: error: #error "(e.g., 'libcairo2-dev.rpm')"
src/tuxpaint.c:357:2: error: #error
"---------------------------------------------------"
src/tuxpaint.c: In function 'load_svg':
src/tuxpaint.c:16283: error: 'svg_cairo_t' undeclared (first use in this
function)
src/tuxpaint.c:16283: error: (Each undeclared identifier is reported
only once
src/tuxpaint.c:16283: error: for each function it appears in.)
[...snip...]
pere@hola:~/CVS/tuxpaint$ make oldsvg
Building with CAIRO1 SVG SUPPORT
make SVG_LIB="-lcairo -lsvg -lsvg-cairo" OLDSVGFLAG=OLD_SVG
make[1]: Entering directory `/mnt/hda2/home/pere/CVS/tuxpaint'
...Compiling Tux Paint from source...
cc -O2 -W -Wall -fno-common -ffloat-store -Wcast-align -Wredundant-decls
-Wbad-function-cast -Wwrite-strings -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes `src/test-option.sh
-Wdeclaration-after-statement` -I/usr/include/SDL -D_GNU_SOURCE=1
-D_REENTRANT -I/usr/include/cairo -Isrc/mouse -DLARGE_CURSOR_SHAPES
-DDATA_PREFIX=\"/usr/local/share/tuxpaint/\" -D__SOUND -D__SVG -DOLD_SVG
-DDOC_PREFIX=\"/usr/local/share/doc/tuxpaint/\" -DLOCALEDIR=
\"/usr/local/share/locale/\" -DIMDIR=\"/usr/local/share/im/\" -DCONFDIR=
\"/usr/local/etc/tuxpaint/\" -DVER_VERSION=\"0.9.17\" -DVER_DATE=\"`date
+"%Y-%m-%d"`\" -DNO_MAEMOFLAG \
-c src/tuxpaint.c -o obj/tuxpaint.o
src/tuxpaint.c:350:17: error: svg.h: No such file or directory
src/tuxpaint.c:351:23: error: svg-cairo.h: No such file or directory
src/tuxpaint.c:353:2: error: #error
"---------------------------------------------------"
src/tuxpaint.c:354:2: error: #error "If you installed Cairo, libSVG or
svg-cairo from packages, be sure"
src/tuxpaint.c:355:2: error: #error "to get the development package, as
well!"
src/tuxpaint.c:356:2: error: #error "(e.g., 'libcairo2-dev.rpm')"
src/tuxpaint.c:357:2: error: #error
"---------------------------------------------------"
src/tuxpaint.c: In function 'load_svg':
src/tuxpaint.c:16283: error: 'svg_cairo_t' undeclared (first use in this
function)
[...snip...]
According to debian packages (http://www.debian.org/distrib/packages),
there is not any file called svg-cairo.h in any package in unstable and
there is just a svg.h in libwmf-dev that is installed in case of, but I
think is not related to this error.
The files contained in libcairo2-dev in debian unstable are this:
/.
/usr
/usr/lib
/usr/lib/libcairo.la
/usr/lib/pkgconfig
/usr/lib/pkgconfig/cairo.pc
/usr/lib/pkgconfig/cairo-ft.pc
/usr/lib/pkgconfig/cairo-pdf.pc
/usr/lib/pkgconfig/cairo-ps.pc
/usr/lib/pkgconfig/cairo-png.pc
/usr/lib/pkgconfig/cairo-svg.pc
/usr/lib/pkgconfig/cairo-xlib-xrender.pc
/usr/lib/pkgconfig/cairo-xlib.pc
/usr/lib/libcairo.a
/usr/share
/usr/share/doc
/usr/share/doc/libcairo2-dev
/usr/share/doc/libcairo2-dev/README.gz
/usr/share/doc/libcairo2-dev/TODO.gz
/usr/share/doc/libcairo2-dev/NEWS.gz
/usr/share/doc/libcairo2-dev/AUTHORS.gz
/usr/share/doc/libcairo2-dev/copyright
/usr/share/doc/libcairo2-dev/changelog.gz
/usr/share/doc/libcairo2-dev/changelog.Debian.gz
/usr/include
/usr/include/cairo
/usr/include/cairo/cairo-ft.h
/usr/include/cairo/cairo-ps.h
/usr/include/cairo/cairo-features.h
/usr/include/cairo/cairo-xlib-xrender.h
/usr/include/cairo/cairo-deprecated.h
/usr/include/cairo/cairo-pdf.h
/usr/include/cairo/cairo-svg.h
/usr/include/cairo/cairo-xlib.h
/usr/include/cairo/cairo.h
/usr/lib/libcairo.so
|
|
From: Caroline F. <car...@go...> - 2007-07-02 22:08:40
|
On Mon, 2007-07-02 at 08:27 +0200, Pere Pujal i Carabantes wrote: > El dg 01 de 07 del 2007 a les 21:33 -0700, en/na Bill Kendrick va > escriure: > > On Sun, Jul 01, 2007 at 10:03:24PM +0200, Pere Pujal i Carabantes wrote: > > > I can't compile with svg (debian unstable) > > > > Can you try with "make oldsvg"? :) Or does neither 'make' nor > > 'make oldsvg' work? > > > > > Don't work. I have installed libcairo2-dev, of course, but get the > following: > I've got working in Ubuntu Dapper. It needed libpaper-dev to compile but apart from that seems fine (I haven't tested printing as I don't have a printer here) It's using Cairo2-dev 1.0.4 and librsvg-dev 2.14.4. Dapper is possibly a bit old though (June 06). I don't seem to have either svg.h or svg-cairo.h fwiw. Caroline |
|
From: Pere P. i C. <pe...@fo...> - 2007-07-02 14:00:34
|
El dg 01 de 07 del 2007 a les 19:23 +0200, I wrote: > and tuxpaint runs fine after this > message except for printing where i can't print at all > I get the same printing problems on a ubuntu. After a search, I realized that posttcript file is filled with data inheriting user's locale like decimal separator (comma in catalan,spanish,french...) Look at http://fornol.no-ip.org/linux/tuxpaint/print.ps save to disk and try with gv or similar, you will not be able to see anything. Edit the file and replace the following lines: 83,00 145,00 translate 388,46 500,10 scale by 83.00 145.00 translate 388.46 500.10 scale Hope this helps. > > Yours > Pere > > > > > > > gcc --version > gcc (GCC) 4.1.3 20070629 (prerelease) (Debian 4.1.2-13) > > > > pere@hola:~/CVS/tuxpaint$ /usr/local/bin/tuxpaint > open /dev/sequencer: No such file or directory > *** glibc detected *** /usr/local/bin/tuxpaint: double free or > corruption (out): 0x0809e5f8 *** > ======= Backtrace: ========= > /lib/i686/cmov/libc.so.6[0xb7cabeed] > /lib/i686/cmov/libc.so.6(cfree+0x90)[0xb7caf530] > /usr/lib/libSDL-1.2.so.0(SDL_FreeSurface+0xda)[0xb7e6ef2a] > /usr/local/bin/tuxpaint[0x806adf4] > /usr/local/bin/tuxpaint[0x806ce5d] > /usr/local/bin/tuxpaint[0x806c934] > /usr/local/bin/tuxpaint[0x806c9ca] > /usr/local/bin/tuxpaint[0x806c9ca] > /usr/local/bin/tuxpaint[0x806c9ca] > /usr/local/bin/tuxpaint[0x806b048] > /usr/local/bin/tuxpaint[0x806bd29] > /usr/local/bin/tuxpaint[0x806c268] > /usr/local/bin/tuxpaint[0x8064de3] > /lib/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb7c59ebc] > /usr/local/bin/tuxpaint[0x804a9b1] > ======= Memory map: ======== > 08048000-08077000 r-xp 00000000 03:01 32734 /usr/local/bin/tuxpaint > 08077000-08079000 rw-p 0002e000 03:01 32734 /usr/local/bin/tuxpaint > 08079000-081ed000 rw-p 08079000 00:00 0 [heap] > b7500000-b7521000 rw-p b7500000 00:00 0 > b7521000-b7600000 ---p b7521000 00:00 0 > b767c000-b787c000 r--p 00000000 03:01 > 32784 /usr/lib/locale/locale-archive > b787c000-b787e000 rw-p b787c000 00:00 0 > b787e000-b7888000 r-xp 00000000 03:01 1112194 /lib/libgcc_s.so.1 > b7888000-b7889000 rw-p 00009000 03:01 1112194 /lib/libgcc_s.so.1 > b7889000-b7969000 r-xp 00000000 03:01 1227551 /usr/lib/libstdc > ++.so.6.0.9 > b7969000-b796c000 r--p 000df000 03:01 1227551 /usr/lib/libstdc > ++.so.6.0.9 > b796c000-b796e000 rw-p 000e2000 03:01 1227551 /usr/lib/libstdc > ++.so.6.0.9 > b796e000-b7974000 rw-p b796e000 00:00 0 > b7974000-b79b1000 r-xp 00000000 03:01 > 2552609 /usr/lib/libsmpeg-0.4.so.0.1.4 > b79b1000-b79b3000 rw-p 0003c000 03:01 > 2552609 /usr/lib/libsmpeg-0.4.so.0.1.4 > b79b3000-b79d0000 rw-p b79b3000 00:00 0 > b79d0000-b79d4000 r-xp 00000000 03:01 > 2551278 /usr/lib/libogg.so.0.5.3 > b79d4000-b79d5000 rw-p 00003000 03:01 > 2551278 /usr/lib/libogg.so.0.5.3 > b79d5000-b79ef000 r-xp 00000000 03:01 > 1227145 /usr/lib/libvorbis.so.0.3.1 > b79ef000-b79fe000 rw-p 0001a000 03:01 > 1227145 /usr/lib/libvorbis.so.0.3.1 > b79fe000-b7a04000 r-xp 00000000 03:01 > 1227143 /usr/lib/libvorbisfile.so.3.1.1 > b7a04000-b7a05000 rw-p 00006000 03:01 > 1227143 /usr/lib/libvorbisfile.so.3.1.1 > b7a05000-b7a6c000 r-xp 00000000 03:01 > 2551797 /usr/lib/libfreetype.so.6.3.10 > b7a6c000-b7a6f000 rw-p 00067000 03:01 > 2551797 /usr/lib/libfreetype.so.6.3.10 > b7a6f000-b7a82000 r-xp 00000000 03:01 > 1114773 /lib/i686/cmov/libpthread-2.5.so > b7a82000-b7a84000 rw-p 00013000 03:01 > 1114773 /lib/i686/cmov/libpthread-2.5.so > b7a84000-b7a87000 rw-p b7a84000 00:00 0 > b7a87000-b7ad7000 r-xp 00000000 03:01 > 2551191 /usr/lib/libvga.so.1.4.3 > b7ad7000-b7ade000 rw-p 00050000 03:01 > 2551191 /usr/lib/libvga.so.1.4.3 > b7ade000-b7ae7000 rw-p b7ade000 00:00 0 > b7ae7000-b7ae9000 r-xp 00000000 03:01 > 1112100 /lib/i686/cmov/libdl-2.5.so > b7ae9000-b7aeb000 rw-p 00001000 03:01 > 1112100 /lib/i686/cmov/libdl-2.5.so > b7aeb000-b7afe000 r-xp 00000000 03:01 2551954 /usr/lib/libz.so.1.2.3 > b7afe000-b7aff000 rw-p 00012000 03:01 2551954 /usr/lib/libz.so.1.2.3 > b7aff000-b7b0b000 r-xp 00000000 03:01 > 2556403 /usr/lib/libdirect-0.9.so.24.0.0 > b7b0b000-b7b0c000 rw-p 0000c000 03:01 > 2556403 /usr/lib/libdirect-0.9.so.24.0.0 > b7b0c000-b7b10000 r-xp 00000000 03:01 > 2556445 /usr/lib/libfusion-0.9.so.24.0.0 > b7b10000-b7b11000 rw-p 00003000 03:01 > 2556445 /usr/lib/libfusion-0.9.so.24.0.0 > b7b11000-b7b5d000 r-xp 00000000 03:01 > 2556446 /usr/lib/libdirectfb-0.9.so.24.0.0 > b7b5d000-b7b5f000 rw-p 0004c000 03:01 > 2556446 /usr/lib/libdirectfb-0.9.so.24.0.0 > b7b5f000-b7b60000 rw-p b7b5f000 00:00 0 > b7b60000-b7c1c000 r-xp 00000000 03:01 > 2551565 /usr/lib/libasound.so.2.0.0 > b7c1c000-b7c21000 rw-p 000bb000 03:01 > 2551565 /usr/lib/libasound.so.2.0.0 > b7c21000-b7c43000 r-xp 00000000 03:01 > 2550959 /usr/lib/libpng12.so.0.15.0 > b7c43000-b7c44000 rw-p 00021000 03:01 > 2550959 /usr/lib/libpng12.so.0.15.0 > b7c44000-b7d81000 r-xp 00000000 03:01 > 1112040 /lib/i686/cmov/libc-2.5.so > b7d81000-b7d82000 r--p 0013d000 03:01 > 1112040 /lib/i686/cmov/libc-2.5.so > b7d82000-b7d84000 rw-p 0013e000 03:01 > 1112040 /lib/i686/cmov/libc-2.5.so > b7d84000-b7d87000 rw-p b7d84000 00:00 0 > b7d87000-b7dac000 r-xp 00000000 03:01 > 1112101 /lib/i686/cmov/libm-2.5.so > b7dac000-b7dae000 rw-p 00024000 03:01 > 1112101 /lib/i686/cmov/libm-2.5.so > b7dae000-b7de9000 r-xp 00000000 03:01 > 2552360 /usr/lib/libSDL_mixer-1.2.so.0.2.4 > b7de9000-b7df4000 rw-p 0003b000 03:01 > 2552360 /usr/lib/libSDL_mixer-1.2.so.0.2.4 > b7df4000-b7e1e000 rw-p b7df4000 00:00 0 > b7e1e000-b7e22000 r-xp 00000000 03:01 > 2552674 /usr/lib/libSDL_ttf-2.0.so.0.6.0 > b7e22000-b7e23000 rw-p 00003000 03:01 > 2552674 /usr/lib/libSDL_ttf-2.0.so.0.6.0 > b7e23000-b7e24000 rw-p b7e23000 00:00 0 > b7e24000-b7e2e000 r-xp 00000000 03:01 > 2552617 /usr/lib/libSDL_image-1.2.so.0.1.4 > b7e2e000-b7e2f000 rw-p 0000a000 03:01 > 2552617 /usr/lib/libSDL_image-1.2.so.0.1.4 > b7e2f000-b7e3f000 rw-p b7e2f000 00:00 0 > b7e3f000-b7ea6000 r-xp 00000000 03:01 > 2551150 /usr/lib/libSDL-1.2.so.0.11.0 > b7ea6000-b7ea8000 rw-p 00067000 03:01 > 2551150 /usr/lib/libSDL-1.2.so.0.11.0 > b7ea8000-b7ef0000 rw-p b7ea8000 00:00 0 > b7f12000-b7f15000 rw-p b7f12000 00:00 0 > b7f15000-b7f30000 r-xp 00000000 03:01 1112195 /lib/ld-2.5.so > b7f30000-b7f32000 rw-p 0001b000 03:01 1112195 /lib/ld-2.5.so > bfb42000-bfb56000 rwxp bfb42000 00:00 0 [stack] > bfb56000-bfb57000 rw-p bfb56000 00:00 0 > ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso] > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Tuxpaint-devel mailing list > Tux...@li... > https://lists.sourceforge.net/lists/listinfo/tuxpaint-devel |
|
From: Bill K. <nb...@so...> - 2007-07-02 18:11:47
|
On Mon, Jul 02, 2007 at 04:00:41PM +0200, Pere Pujal i Carabantes wrote: > I get the same printing problems on a ubuntu. > After a search, I realized that posttcript file is filled with data > inheriting user's locale like decimal separator (comma in > catalan,spanish,french...) > > Look at http://fornol.no-ip.org/linux/tuxpaint/print.ps > save to disk and try with gv or similar, you will not be able to see > anything. > Edit the file and replace the following lines: > > > 83,00 145,00 translate > 388,46 500,10 scale > by > 83.00 145.00 translate > 388.46 500.10 scale Ouch! So fprintf() is getting localized. I guess we should replace the %.2f's in there with our own (maybe %d.%d and then do some int math on the scale and translate values) Thx! -bill! |
|
From: Ben A. <sy...@sa...> - 2007-07-05 11:51:32
|
On Mon, 2 Jul 2007 11:11:43 -0700 Bill Kendrick <nb...@so...> wrote: > Ouch! So fprintf() is getting localized. I guess we should > replace the %.2f's in there with our own (maybe %d.%d and then do > some int math on the scale and translate values) Why not write a C macro to wrap the problematic fprintf()s to change to "C" locale and back again via setlocale? Ben -- ,-. nSLUG http://www.nslug.ns.ca sy...@sa... \`' Debian http://www.debian.org sy...@de... ` [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ] [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ] |