With current svn all the qt file devices produce a segfault when
run with more than one page of output, e.g. example 2. This happens
with ctest, or if calling the examples direct, e.g.
./x02c -fam -dev bmpqt -o test.bmp
The backtrace is something like

*** glibc detected *** ./x02c: munmap_chunk(): invalid pointer:
0x08c40500 ***
======= Backtrace: =========                                                  
/lib/tls/i686/cmov/libc.so.6[0xb7e58454]
/usr/lib/libX11.so.6(XFree+0x1d)[0xb7399fdd]
/usr/lib/libXi.so.6(XCloseDevice+0x89)[0xb6ec47d9]
/usr/lib/libQtGui.so.4[0xb75feb57]
/usr/lib/libQtGui.so.4(_ZN12QApplicationD0Ev+0x586)[0xb75a40f6]
/home/andrew/software/plplot/build/drivers/qt.so(_Z10closeQtAppv+0x70)[0xb8075092]
/home/andrew/software/plplot/build/drivers/qt.so(_Z11plD_tidy_qtP8PLStream+0x13c)[0xb80752a1]
/home/andrew/software/plplot/build/src/libplplotd.so.9(plP_tidy+0x87)[0xb80925e3]
/home/andrew/software/plplot/build/src/libplplotd.so.9(c_plend1+0x2b)[0xb8096d59]
/home/andrew/software/plplot/build/src/libplplotd.so.9(c_plend+0x47)[0xb809696d]
./x02c(main+0x3c)[0x8048bf0]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7dff685]
./x02c[0x8048b21]

This happens after the second page has been generated, so I assume it
is related to closeQtApp being called multiple times (probably as
plP_tidy is called at the end of each page). Alan / Alban, can you confirm
this?

Andrew

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to