Re: foomatic-rip and foo2zjs

2014-04-26 Thread Boris Samorodov
26.04.2014 02:16, Robert Backhaus пишет: On 26 April 2014 02:41, Wolfgang Jenkner wjenk...@inode.at mailto:wjenk...@inode.at wrote: On Fri, Apr 25 2014, Boris Samorodov wrote: Am 25.04.2014 um 15:20 schrieb Robert Backhaus rob...@robbak.com mailto:rob...@robbak.com:

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Boris Samorodov
23.04.2014 00:23, Stefan Bethke пишет: Two quick observations I’m too lazy to file PRs for: foomatic-rip (from foomatic-filters-4.0.17) coredumps if you set debug: 1 in /usr/local/etc/foomatic/filter.conf. I haven’t checked what is going wrong specifically. It is possible to run

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Robert Backhaus
I had the foomatic-rip problem today, but didn't think of this- even though I read it yesterday. I found it myself by running it in gdb, seeing it had something to do with logging, and turning off debug. Anyway, here's a backtrace: - but the pointed line, 1200, just looks wrong - int fd =

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Boris Samorodov
25.04.2014 17:20, Robert Backhaus пишет: I had the foomatic-rip problem today, but didn't think of this- even though I read it yesterday. I found it myself by running it in gdb, seeing it had something to do with logging, and turning off debug. Anyway, here's a backtrace: - but the pointed

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Stefan Bethke
Am 25.04.2014 um 15:20 schrieb Robert Backhaus rob...@robbak.com: Anyway, here's a backtrace: - but the pointed line, 1200, just looks wrong - int fd = mkstemp (LOG_FILE -XX.log); - checked, edited, built - Yup, that's it. Here's the patch: --- foomaticrip.c.orig 2014-04-25

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Boris Samorodov
25.04.2014 19:35, Stefan Bethke пишет: Am 25.04.2014 um 15:20 schrieb Robert Backhaus rob...@robbak.com: Anyway, here's a backtrace: - but the pointed line, 1200, just looks wrong - int fd = mkstemp (LOG_FILE -XX.log); - checked, edited, built - Yup, that's it. Here's the patch: ---

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Wolfgang Jenkner
On Fri, Apr 25 2014, Boris Samorodov wrote: Am 25.04.2014 um 15:20 schrieb Robert Backhaus rob...@robbak.com: int fd = mkstemp (LOG_FILE -XX.log); - checked, edited, built - Yup, that's it. Here's the patch: I think the problem is simply that mkstemp(3) requires an argument with

Re: foomatic-rip and foo2zjs

2014-04-25 Thread Robert Backhaus
Yes, sorry. I got this wrong. The fix upstream has been to stop using mkstemp, and switch to using sprintf directly. http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7196 On 26 April 2014 02:41, Wolfgang Jenkner wjenk...@inode.at wrote: On Fri, Apr 25 2014, Boris

foomatic-rip and foo2zjs

2014-04-22 Thread Stefan Bethke
Two quick observations I’m too lazy to file PRs for: foomatic-rip (from foomatic-filters-4.0.17) coredumps if you set debug: 1 in /usr/local/etc/foomatic/filter.conf. I haven’t checked what is going wrong specifically. It is possible to run foomatic-rip form the command line with -v and with