Bug 402011 - Skrooge cannot open my database
Summary: Skrooge cannot open my database
Status: RESOLVED DUPLICATE of bug 401878
Alias: None
Product: skrooge
Classification: Applications
Component: general (show other bugs)
Version: 2.16.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Stephane MANKOWSKI
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-11 16:58 UTC by Moritz Lüdecke
Modified: 2018-12-11 17:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Lüdecke 2018-12-11 16:58:50 UTC
SUMMARY
Skrooge won't open my database after entering an empty password. I am very sure that I never configured a password.

STEPS TO REPRODUCE
1. Open Skrooge
2. Password dialog appears
2. Enter something
3. Password dialog response with "Wrong password" wrong password
4. Leave password field empty
5. Password dialog disappears
6. Error message appears: [ERR-5]: Failed to open '/path/to/my/skrooge/file'. 


OBSERVED RESULT
Skrooge cannot open my database.

EXPECTED RESULT
Skrooge opens my database...

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.14.4
KDE Frameworks Version: 5.53.0
Qt Version: 5.12.0 (built against 5.12.0)

ADDITIONAL INFORMATION
How can I unlock debug messages?
Comment 1 Moritz Lüdecke 2018-12-11 17:06:04 UTC
A few days before my kernel crashed every time I open Skrooge:

```
[   31.663401] BUG: unable to handle kernel NULL pointer dereference at 0000000000000080
[   31.663403] PGD 0 P4D 0 
[   31.663405] Oops: 0000 [#1] PREEMPT SMP PTI
[   31.663407] CPU: 0 PID: 1471 Comm: gst-plugin-scan Tainted: P           OE     4.19.4-arch1-1-ARCH #1
[   31.663408] Hardware name: System manufacturer System Product Name/Z170 PRO GAMING, BIOS 3202 02/07/2017
[   31.663418] RIP: 0010:drm_lease_owner+0xd/0x20 [drm]
[   31.663419] Code: 83 c4 18 5b 5d c3 b8 ea ff ff ff eb e2 b8 ed ff ff ff eb db e8 b4 6a bc f4 0f 1f 40 00 0f 1f 44 00 00 48 89 f8 eb 03 48 89 d0 <48> 8b 90 80 00 00 00 48 85 d2 75 f1 c3 66 0f 1f 44 00 00 0f 1f 44
[   31.663420] RSP: 0018:ffffada08293fbb0 EFLAGS: 00010202
[   31.663422] RAX: 0000000000000000 RBX: ffff9cdffe51d400 RCX: ffff9cdffe51d488
[   31.663422] RDX: ffff9cdfc0990000 RSI: 0000000000000000 RDI: 0000000000000000
[   31.663423] RBP: ffff9ce05f56a000 R08: 0000000000000000 R09: 0000000000000000
[   31.663424] R10: ffffe7be4f8432c0 R11: ffffe7be4e025a08 R12: ffff9ce05f56a088
[   31.663425] R13: 0000000000000000 R14: dead000000000200 R15: ffff9cdffe51d4c8
[   31.663426] FS:  00007f1d2173bb80(0000) GS:ffff9ce066a00000(0000) knlGS:0000000000000000
[   31.663427] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   31.663428] CR2: 0000000000000080 CR3: 0000000380a7c005 CR4: 00000000003606f0
[   31.663429] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   31.663430] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   31.663430] Call Trace:
[   31.663436]  drm_is_current_master+0x1a/0x30 [drm]
[   31.663441]  drm_master_release+0x3e/0x130 [drm]
[   31.663446]  drm_file_free.part.0+0x2be/0x2d0 [drm]
[   31.663451]  drm_open+0x1ba/0x1e0 [drm]
[   31.663456]  drm_stub_open+0xaf/0xe0 [drm]
[   31.663459]  chrdev_open+0xa3/0x1b0
[   31.663461]  ? cdev_put.part.0+0x20/0x20
[   31.663463]  do_dentry_open+0x132/0x340
[   31.663465]  path_openat+0x2d1/0x14e0
[   31.663468]  ? uevent_show+0xde/0x100
[   31.663469]  do_filp_open+0x93/0x100
[   31.663472]  ? __audit_syscall_exit+0x22a/0x290
[   31.663473]  ? __check_object_size+0x102/0x189
[   31.663475]  ? _raw_spin_unlock+0x16/0x30
[   31.663477]  do_sys_open+0x186/0x210
[   31.663479]  do_syscall_64+0x5b/0x170
[   31.663481]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[   31.663482] RIP: 0033:0x7f1d222798ef
[   31.663483] Code: 52 89 f0 25 00 00 41 00 3d 00 00 41 00 74 44 8b 05 be e8 00 00 85 c0 75 65 89 f2 b8 01 01 00 00 48 89 fe bf 9c ff ff ff 0f 05 <48> 3d 00 f0 ff ff 0f 87 9d 00 00 00 48 8b 4c 24 28 64 48 33 0c 25
[   31.663484] RSP: 002b:00007ffe83abe920 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
[   31.663486] RAX: ffffffffffffffda RBX: 000056177a02b170 RCX: 00007f1d222798ef
[   31.663487] RDX: 0000000000080002 RSI: 000056177a02f8a0 RDI: 00000000ffffff9c
[   31.663487] RBP: 000056177a02b210 R08: 00007f1d215f7410 R09: 00000000000000f0
[   31.663488] R10: 0000000000000000 R11: 0000000000000246 R12: 000056177a02f230
[   31.663489] R13: 000056177a02b170 R14: 000056177a02e620 R15: 000056177a0105f0
[   31.663490] Modules linked in: fuse uinput snd_hda_codec_hdmi xpad input_leds ff_memless joydev eeepc_wmi mousedev asus_wmi sparse_keymap intel_rapl iTCO_wdt iTCO_vendor_support rfkill wmi_bmof mxm_wmi x86_pkg_temp_thermal snd_hda_codec_realtek intel_powerclamp snd_hda_codec_generic coretemp nls_iso8859_1 kvm_intel snd_hda_intel nls_cp437 snd_hda_codec vfat fat kvm snd_hda_core snd_hwdep snd_pcm irqbypass intel_cstate intel_uncore snd_timer snd e1000e intel_rapl_perf i2c_i801 mei_me soundcore mei evdev mac_hid wmi pcc_cpufreq vboxnetflt(OE) vboxnetadp(OE) vboxpci(OE) vboxdrv(OE) crypto_user ip_tables x_tables ext4 crc32c_generic crc16 mbcache jbd2 fscrypto algif_skcipher af_alg hid_generic usbhid hid dm_crypt dm_mod sd_mod crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc ahci libahci
[   31.663518]  aesni_intel libata aes_x86_64 crypto_simd cryptd glue_helper xhci_pci scsi_mod xhci_hcd nvidia_drm(POE) drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm agpgart nvidia_uvm(OE) nvidia_modeset(POE) nvidia(POE) ipmi_devintf ipmi_msghandler
[   31.663526] CR2: 0000000000000080
[   31.663528] ---[ end trace 6d725a2220698578 ]---
[   31.663534] RIP: 0010:drm_lease_owner+0xd/0x20 [drm]
[   31.663535] Code: 83 c4 18 5b 5d c3 b8 ea ff ff ff eb e2 b8 ed ff ff ff eb db e8 b4 6a bc f4 0f 1f 40 00 0f 1f 44 00 00 48 89 f8 eb 03 48 89 d0 <48> 8b 90 80 00 00 00 48 85 d2 75 f1 c3 66 0f 1f 44 00 00 0f 1f 44
[   31.663536] RSP: 0018:ffffada08293fbb0 EFLAGS: 00010202
[   31.663537] RAX: 0000000000000000 RBX: ffff9cdffe51d400 RCX: ffff9cdffe51d488
[   31.663538] RDX: ffff9cdfc0990000 RSI: 0000000000000000 RDI: 0000000000000000
[   31.663539] RBP: ffff9ce05f56a000 R08: 0000000000000000 R09: 0000000000000000
[   31.663539] R10: ffffe7be4f8432c0 R11: ffffe7be4e025a08 R12: ffff9ce05f56a088
[   31.663540] R13: 0000000000000000 R14: dead000000000200 R15: ffff9cdffe51d4c8
[   31.663541] FS:  00007f1d2173bb80(0000) GS:ffff9ce066a00000(0000) knlGS:0000000000000000
[   31.663542] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   31.663543] CR2: 0000000000000080 CR3: 0000000380a7c005 CR4: 00000000003606f0
[   31.663544] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   31.663545] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   46.151144] audit: type=1131 audit(1543590274.430:49): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
```
After updating the kernel to 4.19.8, didn't happen again.
Comment 2 Stephane MANKOWSKI 2018-12-11 17:38:11 UTC

*** This bug has been marked as a duplicate of bug 401878 ***