a017886
December 28, 2023, 6:16am
1
Since the latest kernel firmware updates convert
ist broken:
xxx@vm162:~> /usr/bin/convert fax000000132.tif test.png
*** stack smashing detected ***: terminated
Aborted (core dumped)
The file is a multipage TIFF (created by hylafax), single page files don’t produce issues.
errors since kernel-firmware-update packages 3298, 3019, 4660
ImageMagick: 7.1.0.9-150400.6.18.1
kernel-default: 5.14.21-150500.55.36.1
There’s no core dump in /var/crash.
Any help welcome.
Sten Bert
Svyatko
December 28, 2023, 11:43am
2
Kernel 5.14.21-150500.55.39-default is available.
ImageMagick 7.1.0.9-150400.6.27.1 is available.
Package kernel-firmware-update is not available.
IMHO it is better to use tif for faxes. For what reason you need to convert?
a017886
December 28, 2023, 2:13pm
3
Hi Svyatko,
thx for your answer.
Switched to the newest versions:
kernel-default 5.14.21-150500.55.39.1
ImageMagick 7.1.0.9-150400.6.27.1
no change!
xxx@vm162:~> /usr/bin/convert fax000000132.tif test.png
*** stack smashing detected ***: terminated
Aborted (core dumped)
The issue is about fax INBOUND direction. So hylafax creates TIFF - Files for incoming faxes, wich have to be convertet to an easy web-displayable format for a browser e.g. png. convert ist very comfortable as it creates files in the form:
test-0.png
test-1.png
test-2.png
for a 3-pager.
Svyatko
December 30, 2023, 2:10pm
4
Works OK in my case.
Post
zypper se -si tiff
Using jpg creates smaller pictures. Webp creates even smaller, but direct convert creates slideshow.
Svyatko:
Works OK in my case.
…
Did you try it with a multipage file?
vm162:~ # zypper se -si tiff
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
--+----------+---------+----------------------+--------+-------------------------------------------------------------
i | libtiff5 | package | 4.0.9-150000.45.35.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i | tiff | package | 4.0.9-150000.45.35.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
Same issue, when converting to jpg (or webp):
xxx@vm162:~> /usr/bin/convert fax000000132.tif test.jpg
*** stack smashing detected ***: terminated
Aborted (core dumped)
Yes.
Try to install libtiff6:
zypper addrepo https://download.opensuse.org/repositories/graphics/15.5/graphics.repo
zypper refresh
zypper install libtiff6
libtiff6 brought the solution!
vm162:~ # zypper se -si libtiff
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+----------+---------+----------------------+--------+-------------------------------------------------------------
i | libtiff5 | package | 4.0.9-150000.45.35.1 | x86_64 | Update repository with updates from SUSE Linux Enterprise 15
i+ | libtiff6 | package | 4.6.0-lp155.209.3 | x86_64 | Graphics Project (15.5)
Thanks very much for your help and your time!
The issue also doesn’t appear on tw (testet on my raspi3 → see Arch):
lnxsrv175:/home/xxx # zypper se -si kernel-default ImageMagick libtiff
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+---------------------------+---------+--------------+---------+------------------------
i+ | ImageMagick | package | 7.1.1.21-1.2 | aarch64 | openSUSE-Tumbleweed-Oss
i | ImageMagick-config-7-SUSE | package | 7.1.1.21-1.2 | aarch64 | openSUSE-Tumbleweed-Oss
i+ | kernel-default | package | 6.6.3-1.1 | aarch64 | (System Packages)
i+ | kernel-default | package | 6.6.6-1.2 | aarch64 | openSUSE-Tumbleweed-Oss
i | libtiff6 | package | 4.6.0-3.1 | aarch64 | openSUSE-Tumbleweed-Oss
Issue is solved.
Greetings Sten Bert
a017886:
Issue is solved.
Not yet. Bug 1218567 filed.
Update in Mar. 2024:
The issue of convert
*** stack smashing detected ***: terminated
is caused by the “DataFormat” of the TIFF file to be processed. Inbound fax messages may be created with different file formats - according to the configuration:
https://hylafax.sourceforge.io/man/hylafax-config.php
(look for RecvDataFormat ).
There’s a utility to check this information:
xxx@vm162:~> /usr/sbin/faxinfo fax000000120.tif
fax000000120.tif:
Sender: +*** removed *** 99999
Pages: 4
Quality: Fine
Page: ISO A4
Received: 2024:01:15 16:49:21
TimeToRecv: 0:01:20
SignalRate: 14400 bit/s
DataFormat: JBIG
ErrCorrect: Yes
xxx@vm162:~> /usr/sbin/faxinfo fax000000022.tif
fax000000022.tif:
Sender: .
Pages: 6
Quality: Fine
Page: ISO A4
Received: 2024:01:02 09:30:56
TimeToRecv: 0:03:53
SignalRate: 14400 bit/s
DataFormat: 2-D MMR
ErrCorrect: Yes
Mind the line “DataFormat ”! ImageMagicks convert crashes with data-format “JBIG ”:
xxx@vm162:~> /usr/bin/convert fax000000120.tif test.png
*** stack smashing detected ***: terminated
Aborted (core dumped)
So with data-format 2-D MMR everything’s fine.
system
Closed
March 31, 2024, 11:25am
10
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.