#1030982 gscan2pdf: Segmentation fault

#1030982#5
Date:
2023-02-10 07:21:20 UTC
From:
To:
Not a JPEG file: starts with 0x00 0x00

The same bug occurs in simple-scan, cf.  Bug#1030306.

The device is  Samsung Xpress M2070FW connected by Wi-Fi, scanning with
GIMP and printing works.

I will appreciate your help.

Janusz

#1030982#10
Date:
2023-02-10 07:39:18 UTC
From:
To:
Using smfp:net seems to work.

Janusz

#1030982#15
Date:
2023-02-10 08:35:33 UTC
From:
To:
Please start gscan2pdf from the command line with the --log=log option,
reproduce the problem, quit, and post the log file, which gscan2pdf may
have compressed with xz.

#1030982#20
Date:
2023-02-10 09:40:29 UTC
From:
To:
Enclosed.

Regards- Janusz

#1030982#25
Date:
2023-02-10 10:55:22 UTC
From:
To:
There's no segfault there.

Please start gscan2pdf from the command line with the --log=log
option, if necessary, hit OK to select the crashed session, reproduce
the problem (i.e. the segfaul), quit, and post the log file, which
gscan2pdf may have compressed with xz.

#1030982#30
Date:
2023-02-10 11:33:20 UTC
From:
To:
It was at first trial, but I'm unable now to reproduce it.
devices), one of them works.

The failure log is missing the line which appeared on the terminal:

Not a JPEG file: starts with 0x00 0x00


Regards - Janusz

#1030982#35
Date:
2023-02-10 12:54:58 UTC
From:
To:
In the log you provide, you seem to have a successful scan. Is the
problem therefore only the warning message?

If the other device does not work, please provide a log file created
when scanning with the other device.

#1030982#40
Date:
2023-02-10 14:58:38 UTC
From:
To:

It was attached to my previous mail.


On Fri, Feb 10 2023 at 12:33 +01, Janusz S. Bień wrote:

[...]


Regards - Janusz

#1030982#45
Date:
2023-02-11 14:03:15 UTC
From:
To:
I still don't understand. The log you provided covered a successful
scan, with a couple of post-processing steps.

Please provide a log where the scan job failed.

#1030982#50
Date:
2023-02-11 14:50:38 UTC
From:
To:
As I said earlier, I provided it already.

This mail had two attachments.

The failure log was
[log1 (application/octet-stream, attachment)]

If you want something else, please specify it explicitely.

Regards - Janusz

#1030982#55
Date:
2023-02-13 17:33:17 UTC
From:
To:
DEBUG - signal 'started-process' emitted with message: Scanning page 1 of 1
INFO - gscan2pdf: scanning image of size 1275x1784 pixels at 24 bits/pixel
INFO - gscan2pdf: acquiring RGB frame

So you are saying that in the terminal, you then additionally received
the message:

Not a JPEG file: starts with 0x00 0x00

and then it segfaulted?

And that now you can't reproduce the problem?

What happens if you try the following from the command line:

scanimage --device="xerox_mfp:tcp  192.168.0.155" --batch

?

#1030982#60
Date:
2023-02-19 10:36:33 UTC
From:
To:
severity 1030982 normal
thanks

Reducing the severity down to normal until the problem can be reproduced
and debugged.