Bug 31980 - Printing to boomaga fails since recently. CUPS/DBUS incompatibility?
Summary: Printing to boomaga fails since recently. CUPS/DBUS incompatibility?
Status: NEW
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal major
Target Milestone: ---
Assignee: David GEIGER
QA Contact:
URL: https://github.com/Boomaga/boomaga
Whiteboard:
Keywords: IN_ERRATA9, UPSTREAM
Depends on:
Blocks:
 
Reported: 2023-05-31 12:28 CEST by Morgan Leijström
Modified: 2023-06-01 10:04 CEST (History)
0 users

See Also:
Source RPM: boomaga-3.0.0-6.mga9.src.rpm
CVE:
Status comment:


Attachments

Description Morgan Leijström 2023-05-31 12:28:53 CEST
Description of problem:

I have tried printing to boomaga from several programs, similar lines in journal:

maj 31 11:56:47 svarten.tribun cupsd[4170]: Boomaga morgan 144 [31/May/2023:11:56:47 +0200] total 0 1 localhost Canon LBP7750cdn p_06.html.pdf A4 one-sided
maj 31 11:58:12 svarten.tribun cupsd[4170]: REQUEST localhost - - "POST /printers/Boomaga HTTP/1.1" 200 589 Create-Job successful-ok
maj 31 11:58:12 svarten.tribun cupsd[4170]: REQUEST localhost - - "POST /printers/Boomaga HTTP/1.1" 200 2916818 Send-Document successful-ok
maj 31 11:58:12 svarten.tribun cupsd[4170]: [Job 145] [Boomaga GUI] WARNING: Can\'t read DBUS session directory /var/spool/cups/tmp/.dbus/session-bus
maj 31 11:58:12 svarten.tribun cupsd[4170]: [Job 145] [Boomaga GUI] ERROR: Can\'t start boomaga gui.

And this happens also with boomaga already launched cleanly from konsole.

  Version-Release number of selected component (if applicable):

I am pretty sure this last worked before i updated amongst other things cups 2023-05-25
boomaga have not been updated.
I see no problems printing to my real printer nor pdf.

Note this is not the same symptoms as in 
Bug 31859 - Boomaga sometimes crash when printing to it from some programs, i.e Okular


Maybe I should try downgrading cups and related packages.
The usual problem running cauldron: getting the previous versions...
Beta 2 install iso ?

Thierry: CUPS maintainer
Morgan Leijström 2023-05-31 12:29:18 CEST

CC: (none) => thierry.vignaud

Comment 1 Morgan Leijström 2023-05-31 12:35:50 CEST
Only cups package to have been updated since i think boomaga worked ok is
 lib64cups-filters1-1.28.16-6.mga9.x86_64.rpm
That does not sound like a possible culprit to me.
Comment 2 Lewis Smith 2023-05-31 20:47:37 CEST
On my Cauldron system, the only relevant packages updated recently are:
cups-filters-1.28.16-6.mga9.x86_64            Dydd Sul 28 mis Mai 2023 21:32:49
lib64cups-filters1-1.28.16-6.mga9.x86_64      Dydd Sul 28 mis Mai 2023 21:32:47

but note:
boomaga-3.0.0-6.mga9.x86_64                   Dydd Sul 21 mis Mai 2023 16:21:36

Trying to print to Boomaga, nothing happens. Journal:
Mai 31 20:39:56 cupsd[1821]: REQUEST localhost - - "POST /printers/Boomaga HTTP/1.1" 200 36077 Print-Job successful-ok
Mai 31 20:39:56 cupsd[1821]: [Job 47] [Boomaga GUI] WARNING: Can\'t read DBUS session directory /var/spool/cups/tmp/.dbus/session-bus
Mai 31 20:39:56 dbus-daemon[2493]: [session uid=1001 pid=2493] Activating service name='org.boomaga' requested by ':1.120' (uid=1001 pid=7242 comm="boomaga --started-from-cups /var/cache/boomaga/lew")
Mai 31 20:39:56 dbus-daemon[2493]: [session uid=1001 pid=2493] Successfully activated service 'org.boomaga'
Mai 31 20:39:57 cupsd[1821]: Boomaga lewis 47 [31/May/2023:20:39:57 +0200] total 0 - localhost bugsquad.txt - -
Mai 31 20:39:57 org.boomaga[7245]: double free or corruption (fasttop)

So this looks down to Boomaga, which was updated Tue May 2 by DavidG.
So assigning to you! Un-CC'ing tv.

Source RPM: (none) => boomaga-3.0.0-6.mga9.src.rpm
CC: thierry.vignaud => (none)

Lewis Smith 2023-05-31 20:48:30 CEST

Assignee: bugsquad => geiger.david68210

Comment 3 Morgan Leijström 2023-05-31 21:12:24 CEST
Thank you Lewis.

That boomaga was installed here already at fresh install beta2 + updates during install.

Probably I remembered wrong about it ever working on *this* system.

But it is strange difference you (but not me) get in your log "Successfully activated service 'org.boomaga'", (and later it crash)
Comment 4 David GEIGER 2023-05-31 21:22:31 CEST
I think this issue should be reported upstream, I'm not the boomaga developer so I can't do more for this.
Comment 5 Morgan Leijström 2023-05-31 21:44:06 CEST
Searching internet, I found similar reports.

Upstream seem to not have time anymore, since years :(
https://github.com/Boomaga/boomaga/issues/117 at a straight question,
https://github.com/Boomaga/boomaga/issues/123 two weeks ago.

Darn, this "intermediate printer" is so useful.
Good thing is that developer at least answers :)
So IF someone wants to step up and take it on... lets hope!

Boomaga is still working in updated Mageia 8.

Tedious workaround: print to pdf, open in a pdf page shuffler (we have some packaged), then print.

Severity: normal => major
URL: (none) => https://github.com/Boomaga/boomaga
Keywords: (none) => FOR_ERRATA9, UPSTREAM

Comment 6 Morgan Leijström 2023-05-31 21:52:49 CEST
https://wiki.mageia.org/en/Mageia_9_Errata#Boomaga_virtual_printer

Keywords: FOR_ERRATA9 => IN_ERRATA9

Comment 7 Morgan Leijström 2023-05-31 22:38:16 CEST
Now I get really confused:  It works perfectly on my laptop.
That install have never had printing installed.  Originally installed from mga9 beta 1 classic i think, then updated, used sparsely.

Now I:
1) Installed boomaga package
2) opened MCC > Hardware > Printer
  -> it installed packages, then boomaga icon showed up
  used that icon to print test page: boomaga popped up and showed it!
3) rebooted
4) started firefox, which i let open a pdf, print to boomaga: perfect!

Go figure...

Edited Errata.
Comment 8 Morgan Leijström 2023-06-01 10:04:55 CEST
After reboot of the problematic system in Comment 0, it works again.
(Print from Kolourpaint -> boomaga popped up showing the picture)

Maybe some state of DBUS, CUPS, whatever needed to be reset?

Edited Errata to suggest reboot.

@Lewis: does rebooting help on your system?

Note You need to log in before you can comment on or make changes to this bug.