I'm trying to create JFS filesystem on /dev/groot/root (LVM) with external journal on /dev/ejournal/journal (LVM too), but mkfs.jfs fails with error: "*** glibc detected *** mkfs.jfs: double free or corruption (!prev): 0x000000000050f260 ***" Command line that i use: mkfs.jfs -c -L Root -j /dev/ejournal/journal /dev/groot/root First i think that's build/linking problem, so i try'ed GRML LiveCD and Arch instead of Gentoo LiveCD, that i use first. Than i try to do same without LVM, but get same error. Reproducible: Always Steps to Reproduce: 1. Create partitions for JFS filesystem and external journal 2. Try to create external journal anyway (this error happens when mkfs.jfs trying to create journal) 3. Enjoy the error :) Actual Results: mkfs.jfs version 1.1.11, 05-Jun-2006 Warning! All data on device /dev/groot/root will be lost! Warning! All data on device /dev/ejournal/journal will be lost! Continue? (Y/N) Y *** glibc detected *** mkfs.jfs: double free or corruption (!prev): 0x000000000050f260 *** ======= Backtrace: ========= /lib/libc.so.6[0x2b6c835d3f3d] /lib/libc.so.6(__libc_free+0x76)[0x2b6c835d5576] /lib/libc.so.6(fclose+0x14c)[0x2b6c835c5d6c] mkfs.jfs[0x404070] /lib/libc.so.6(__libc_start_main+0xf4)[0x2b6c835872f4] mkfs.jfs[0x401a19] ======= Memory map: ======== <skipped> Expected Results: Just create JFS filesystem on /dev/root/groot with external journal on /dev/ejournal/journal instead of causing problem :) I think it doesn't matter, but i trying to create JFS on LVM'ed partition, that located @ S-ATA disc (/dev/sda3 - journal, /dev/sda4 - root)
Created attachment 113857 [details] Memory map of mkfs.jfs
(In reply to comment #0) > First i think that's build/linking problem, so i try'ed GRML LiveCD and Arch > instead of Gentoo LiveCD, that i use first. Than i try to do same without LVM, > but get same error. Well if you have the same problem w/ GRML and Arch Linux, then you need take this upstream, not to Gentoo. ;) Which sys-fs/jfsutils is this about? Also, emerge --info please.
This is fixed in the jfsutils cvs tree, but I haven't released a jfsutils-1.1.12 yet. As a workaround, the journal has been formatted by the time mkfs.jfs crashes, so you can continue with: mkfs.jfs -c -L Root -J device=/dev/ejournal/journal /dev/groot/root