[cups] Sending mail from a CentOS7 virtual machine to Fuji Xerox ApeosPort-IV C4475 problem revisted

Zdenek Dohnal zdohnal at redhat.com
Fri Oct 26 01:17:19 PDT 2018


Hi,

please run 'bt full', you will see whole backtrace with all variables.
My simple guess - two lines before when segfault happened returned NULL,
so program is trying to access a member of struct, which is NULL...

On 10/26/18 7:22 AM, マスターズ・イアン wrote:
> Hi Zdenek
>
>> You should get core dump of segfaulted binary when you do:
>>
>> 1) $ ulimit -c unlimited
>>
>> 2) check if you only have 'core' in /proc/sys/kernel/core_pattern
>>
>> Then run the binary and when it segfaults, you should have file
>> core.<PID> in your current directory.  You can open the core dump by
>> gdb by:
>>
>> $ gdb /path/to/your/filter core.<PID>
>>
>> and check what is there.
>
> OK, I did the above, this is what I got:
>
> [user1 at centos7-restore-002 ~]$ gdb /usr/lib/cups/filter/pdftopjlfx
> core.18241
> GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-110.el7
> Copyright (C) 2013 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show
> copying"
> and "show warranty" for details.
> This GDB was configured as "i686-redhat-linux-gnu".
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>...
> Reading symbols from /usr/lib/cups/filter/pdftopjlfx...done.
> [New LWP 18241]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/libthread_db.so.1".
> Core was generated by `/usr/lib/cups/filter/pdftopjlfx 1 3496  1 '.
> Program terminated with signal 11, Segmentation fault.
> #0  fxGetPrintOptions (argc=argc at entry=6, argv=argv at entry=0xbf92dec4,
> opt=opt at entry=0x808cb80 <printOption>)
>     at fxlinuxprint.c:379
> 379             file_name = cupsGetPPD (dest->name);
> Missing separate debuginfos, use: debuginfo-install
> fxlinuxprint-1.1.2-1.i386
>
> Does that tell you anything useful?
>
> ian

-- 
Zdenek Dohnal
Associate Software Engineer
Red Hat Czech - Brno TPB-C




More information about the cups mailing list