<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/pxlib/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/pxlib/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Mon, 15 Dec 2025 12:00:46 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pxlib/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#15 Build for 64-bit architectures</title><link>https://sourceforge.net/p/pxlib/bugs/15/?limit=25#c8fa</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Incorporated changes from both patches in the new repo:&lt;br/&gt;
&lt;a href="https://github.com/steinm/pxlib/pull/9" rel="nofollow"&gt;https://github.com/steinm/pxlib/pull/9&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DRS David Soft</dc:creator><pubDate>Mon, 15 Dec 2025 12:00:46 -0000</pubDate><guid>https://sourceforge.nete79d35d3784486dee2850e5a44c687a2e00aa3a3</guid></item><item><title>#13 Bugg in paradox.c</title><link>https://sourceforge.net/p/pxlib/bugs/13/?limit=25#d0ca</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This can be closed as it was addressed in: &lt;a href="https://github.com/steinm/pxlib/pull/7" rel="nofollow"&gt;https://github.com/steinm/pxlib/pull/7&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DRS David Soft</dc:creator><pubDate>Mon, 15 Dec 2025 11:41:40 -0000</pubDate><guid>https://sourceforge.net122bf7181b584775ab838d453f6dfbb9c9cdb482</guid></item><item><title>#15 Build for 64-bit architectures</title><link>https://sourceforge.net/p/pxlib/bugs/15/?limit=25#65c0</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;This fixes PX_put_data_long on 64-bit systems, where long int is 64 bits. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kenneth Porter</dc:creator><pubDate>Fri, 24 Aug 2018 17:57:26 -0000</pubDate><guid>https://sourceforge.net218573af18e1a1b8a773f78b3321ff6652db14ca</guid></item><item><title>#15 Build for 64-bit architectures</title><link>https://sourceforge.net/p/pxlib/bugs/15/?limit=25#3360</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Attached is unified diff of edits needed to get rid of most of the warnings when built on CentOS 7.5. There's 3 remaining warnings about aliased pointers that need a little work but the code should work.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kenneth Porter</dc:creator><pubDate>Tue, 21 Aug 2018 14:45:30 -0000</pubDate><guid>https://sourceforge.net4915a089b7071304751d08a91cf864f579063fb9</guid></item><item><title>Build for 64-bit architectures</title><link>https://sourceforge.net/p/pxlib/bugs/15/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Various serious warnings are issued when building for 64-bit due to the change in pointer size. Patch under development.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kenneth Porter</dc:creator><pubDate>Tue, 21 Aug 2018 09:39:36 -0000</pubDate><guid>https://sourceforge.net2c678ff1b3fdf5434402c206b3ba59dbb80234a7</guid></item><item><title>#14 PX_HAVE_GSF not defined consistently</title><link>https://sourceforge.net/p/pxlib/bugs/14/?limit=25#0925</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Also, the paradox-gsf.h header file should be installed only if pxlib supports gsf.&lt;br/&gt;
Note that the way used to detect gsf is not that good, pkg-config should be used instead.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jean Bréfort</dc:creator><pubDate>Sun, 24 Apr 2016 13:31:27 -0000</pubDate><guid>https://sourceforge.neta5e4a24e015ff849346602c6ac30d6bda31f7b52</guid></item><item><title>PX_HAVE_GSF not defined consistently</title><link>https://sourceforge.net/p/pxlib/bugs/14/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;During a rebuild of all Debian packages in a clean sid chroot (using cowbuilder&lt;br /&gt;
and pbuilder) the build failed with the following error. Please note that we&lt;br /&gt;
use our research compiler tool-chain (using tools from the cbmc package), which&lt;br /&gt;
permits extended reporting on type inconsistencies at link time.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[...]&lt;/span&gt;&lt;br /&gt;
libtool: link: x86_64-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/paradox.o .libs/px_head.o .libs/px_misc.o .libs/px_io.o .libs/px_memory.o .libs/px_memprof.o .libs/px_error.o .libs/px_encode.o .libs/px_crypt.o .libs/gregor.o   -lgsf-1  -O2   -Wl,-soname -Wl,libpx.so.0 -o .libs/libpx.so.0.6.5&lt;/p&gt;
&lt;p&gt;error: conflicting function declarations "get_px_head"&lt;br /&gt;
old definition in module paradox file px_head.h line 3&lt;br /&gt;
struct px_head * (struct px_doc *, struct px_stream *)&lt;br /&gt;
new definition in module px_head file px_head.c line 25&lt;br /&gt;
struct px_head * (struct px_doc *pxdoc, struct px_stream *pxs)&lt;/p&gt;
&lt;p&gt;reason for conflict at pxs-&amp;gt;px_stream-&amp;gt;s in types listed below (union/union):&lt;br /&gt;
composite type component counts differ (4/2)&lt;br /&gt;
union {&lt;br /&gt;
  struct _IO_FILE * fp;&lt;br /&gt;
  void * stream;&lt;br /&gt;
  struct _GsfInput * gsfin;&lt;br /&gt;
  struct _GsfOutput * gsfout;&lt;br /&gt;
}&lt;br /&gt;
union {&lt;br /&gt;
  struct _IO_FILE * fp;&lt;br /&gt;
  void * stream;&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;So this will work fine, but it does highlight what might be unintentional: it seems px_head.c sees paradox.h without PX_HAVE_GSF being defined. This is due to the fact that PX_HAVE_GSF is defined in paradox-gsf.h rather than config.h. This may make things prone to errors, if not already causing one.&lt;/p&gt;
&lt;p&gt;Best,&lt;br /&gt;
Michael&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Michael Tautschnig</dc:creator><pubDate>Mon, 09 Jun 2014 23:32:45 -0000</pubDate><guid>https://sourceforge.net6d9e9809eccba3aa57fc52aade779e3957bb52e6</guid></item><item><title>Bugg in paradox.c</title><link>https://sourceforge.net/p/pxlib/bugs/13/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I belive that there is a bugg in paradox.c on line 2865 ( ver 0.6.5). &lt;br /&gt;
mbblockhead have type TMbBlockHeader2. It shall be TMbBlockHeader3.&lt;/p&gt;
&lt;p&gt;/Dan&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan</dc:creator><pubDate>Tue, 09 Oct 2012 10:00:39 -0000</pubDate><guid>https://sourceforge.net5be04ea38aa3bf59a6cc05f8e36dcecd0db30fc6</guid></item><item><title>Compiling pxview with a custom-built pxlib fails</title><link>https://sourceforge.net/p/pxlib/bugs/12/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;when compiling pxview with a pxlib that has been installed to a nonstandard location, the configure script fails because it is not able to find pxlib. The source of the problem is that in the configure script the math library is not linked to the test executable, hence building fails, but the error message is wrong. A proper fix would be to link the math library (-lm) to the tests of configure.&lt;br /&gt;
A workaround is to set the LIBS variable to "-lm" when running the configure script.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;~/Desktop/profoto-dump/pxview-0.2.5$ ./configure --with-pxlib=/home/zoltanp/Desktop/profoto-dump/pxview-0.2.5/../pxlib&lt;/p&gt;
&lt;p&gt;checking for a BSD-compatible install... /usr/bin/install -c&lt;br /&gt;
checking whether build environment is sane... yes&lt;br /&gt;
....&lt;br /&gt;
checking for localtime... yes&lt;br /&gt;
checking for PX_timestamp2string in -lpx... no&lt;br /&gt;
configure: error: libpx not found. You will need at least libpx 0.4.4&lt;/p&gt;
&lt;p&gt;contents of config.log:&lt;/p&gt;
&lt;p&gt;configure:23041: checking for PX_timestamp2string in -lpx&lt;br /&gt;
configure:23071: gcc -o conftest -g -O2   conftest.c -lpx -L/home/zoltanp/Desktop/profoto-dump/pxview-0.2.5/../pxlib/lib  &amp;gt;&amp;amp;5&lt;br /&gt;
/home/zoltanp/Desktop/profoto-dump/pxview-0.2.5/../pxlib/lib/libpx.so: undefined reference to `fmod'&lt;br /&gt;
collect2: ld returned 1 exit status&lt;br /&gt;
configure:23077: $? = 1&lt;br /&gt;
configure: failed program was:&lt;br /&gt;
| /* confdefs.h.  */&lt;br /&gt;
| &lt;br /&gt;
| #define PACKAGE_NAME "pxview"&lt;br /&gt;
| #define PACKAGE_TARNAME "pxview"&lt;br /&gt;
| #define PACKAGE_VERSION "0.2.5"&lt;br /&gt;
....&lt;br /&gt;
| /* Override any gcc2 internal prototype to avoid an error.  */&lt;br /&gt;
| #ifdef __cplusplus&lt;br /&gt;
| extern "C"&lt;br /&gt;
| #endif&lt;br /&gt;
| /* We use char because int might match the return type of a gcc2&lt;br /&gt;
|    builtin and then its argument prototype would still apply.  */&lt;br /&gt;
| char PX_timestamp2string ();&lt;br /&gt;
| int&lt;br /&gt;
| main ()&lt;br /&gt;
| {&lt;br /&gt;
| PX_timestamp2string ();&lt;br /&gt;
|   ;&lt;br /&gt;
|   return 0;&lt;br /&gt;
| }&lt;br /&gt;
configure:23102: result: no&lt;br /&gt;
configure:23107: error: libpx not found. You will need at least libpx 0.4.4&lt;/p&gt;
&lt;p&gt;As it can be seen, the missing function is "fmod". This function is located in the math library (-lm).&lt;/p&gt;
&lt;p&gt;Workaround is:&lt;/p&gt;
&lt;p&gt;$ LIBS=-lm ./configure --with-pxlib=/home/zoltanp/Desktop/profoto-dump/pxview-0.2.5/../pxlib&lt;/p&gt;
&lt;p&gt;In this case confgure finishes correctly.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zoltan P</dc:creator><pubDate>Sun, 16 Sep 2012 18:25:24 -0000</pubDate><guid>https://sourceforge.net5c51a0e9f21b61936eae88a8d7db08311a06c6d5</guid></item><item><title>pxlib causes stack smashing in pxview when blobs are used</title><link>https://sourceforge.net/p/pxlib/bugs/11/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;when trying to use pxview with databases that have binary blobs in them, a stack smashing error gets generated. Example output below:&lt;/p&gt;
&lt;p&gt;$ ./pxview.elf "/tmp/profoto/Profoto/profoto.db" -b /tmp/profoto/Profoto/profoto.MB -p img --blobextension=bmp -x -o index.htm&lt;br /&gt;
*** stack smashing detected ***: ./pxview.elf terminated&lt;br /&gt;
======= Backtrace: =========&lt;br /&gt;
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x45)[0xb7690c75]&lt;br /&gt;
/lib/i386-linux-gnu/libc.so.6(+0xe8c27)[0xb7690c27]&lt;br /&gt;
/home/zoltanp/Desktop/profoto-dump/pxlib-0.6.5/../pxlib/lib/libpx.so.0(+0x11151)[0xb777f151]&lt;br /&gt;
/home/zoltanp/Desktop/profoto-dump/pxlib-0.6.5/../pxlib/lib/libpx.so.0(PX_open_blob_fp+0x3a7)[0xb7775d17]&lt;br /&gt;
/home/zoltanp/Desktop/profoto-dump/pxlib-0.6.5/../pxlib/lib/libpx.so.0(PX_open_blob_file+0x4e)[0xb7775dee]&lt;br /&gt;
./pxview.elf[0x804a00c]&lt;br /&gt;
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb75c1113]&lt;br /&gt;
./pxview.elf[0x804fb99]&lt;br /&gt;
======= Memory map: ========&lt;br /&gt;
08048000-08054000 r-xp 00000000 08:06 961263     /home/zoltanp/Desktop/profoto-dump/pxview.elf&lt;br /&gt;
08054000-08055000 r--p 0000b000 08:06 961263     /home/zoltanp/Desktop/profoto-dump/pxview.elf&lt;br /&gt;
..... cut the memory map ...&lt;br /&gt;
b77c6000-b77c7000 rw-p 0001e000 08:06 5720787    /lib/i386-linux-gnu/ld-2.13.so&lt;br /&gt;
bfbeb000-bfc0c000 rw-p 00000000 00:00 0          [stack]&lt;br /&gt;
Aborted&lt;/p&gt;
&lt;p&gt;This happens on an Ubuntu 11.10 system, both with the pxlib from the distribution, and also with the pxlib compiled from source.&lt;/p&gt;
&lt;p&gt;The system is:&lt;br /&gt;
$ uname -a&lt;br /&gt;
Linux e6pzoltanlaptop 3.0.0-25-generic-pae #41-Ubuntu SMP Mon Aug 13 18:20:25 UTC 2012 i686 i686 i386 GNU/Linux&lt;/p&gt;
&lt;p&gt;An incorrect workaround I found is to recompile pxlib with stack smashing protection disabled, but that is not solving the main issue.&lt;/p&gt;
&lt;p&gt;Versions 0.6.0, 0.6.4 and 0.6.5 all generate this error.&lt;/p&gt;
&lt;p&gt;Unfortunately valgrind is not able to catch the source of this error.&lt;/p&gt;
&lt;p&gt;The files that generate this error contain private data, so I'm not uploading them here; Feel free to contact me, and I can send a minimal crashing example.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Zoltan P</dc:creator><pubDate>Sun, 16 Sep 2012 18:13:10 -0000</pubDate><guid>https://sourceforge.net9f655b1f7646de7a38c9df3a7c903f2fb46884d0</guid></item></channel></rss>