Bug 407210 - Partition manager gets stuck when scanning for partitions on a drive containing a partition with jfs
Summary: Partition manager gets stuck when scanning for partitions on a drive containi...
Status: REPORTED
Alias: None
Product: partitionmanager
Classification: Applications
Component: general (show other bugs)
Version: 3.3
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Andrius Štikonas
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-04 08:05 UTC by Matej Mrenica
Modified: 2022-11-18 11:43 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Partition manager gets stuck when scanning for partitions on a drive containing a partition with jfs (280 bytes, application/x-desktop)
2019-09-17 02:47 UTC, System.Root
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matej Mrenica 2019-05-04 08:05:40 UTC
Process jfs_debugfs is using 100% of one cpu core, and kpmcore_externalcommand grows in size until it fills the entire memory (memory leak).


STEPS TO REPRODUCE
1. Create a partition with jfs

OBSERVED RESULT
When Partition manager performs the scan after finishing all jobs it gets stuck.

EXPECTED RESULT
The scann would pass and Partition manager would continue working as it does with any other Filesystem

SOFTWARE/OS VERSIONS
Partitionmanager Version: 4.0.0
KDE Plasma Version: 5.15.4
KDE Frameworks Version: 5.57
Qt Version: 5.13.0beta3
Comment 1 Andrius Štikonas 2019-05-10 20:30:39 UTC
what is the version of jfsutils?

I have 1.1.15 and it seems to work fine.

What about if you run jfs_debugfs manually.

KDE Partition Manager basically runs

"jfs_debugfs /dev/sdb1"

and inputs "dm"

Maybe you can paste the output of that command?
Comment 2 Matej Mrenica 2019-05-11 07:24:30 UTC
sudo jfs_debugfs /dev/sdb1
jfs_debugfs version 1.1.15, 04-Mar-2011

Aggregate Block Size: 4096

> dm

Block allocation map control page at block 16

[1] dn_mapsize:         0x0000074c3e3   [9] dn_agheigth:        1
[2] dn_nfree:           0x0000074c01b   [10] dn_agwidth:        2
[3] dn_l2nbperpage:     0               [11] dn_agstart:        85
[4] dn_numag:           117             [12] dn_agl2size:       16
[5] dn_maxlevel:        0               [13] dn_agfree:         type 'f'
[6] dn_maxag:           0               [14] dn_agsize:         65536
[7] dn_agpref:          0               [15] pad:               Not Displayed
[8] dn_aglevel:         0
display_dbmap: [m]odify, [f]ree count, [t]ree, e[x]it > x
> q

On first glance, I can't see anything wrong with this. Program starts normally, operates normally (no slowdowns or anything) and exits normally.
Comment 3 System.Root 2019-09-17 02:46:35 UTC
Partition manager gets stuck when scanning for partitions on a drive containing a partition with jfs
Comment 4 System.Root 2019-09-17 02:47:27 UTC
Created attachment 122686 [details]
Partition manager gets stuck when scanning for partitions on a drive containing a partition with jfs

Partition manager gets stuck when scanning for partitions on a drive containing a partition with jfs