* fsck.reiser4: segfault in aux_adler32 at aux.c:194
@ 2011-02-07 13:37 Marcin Baczyński
2011-02-07 14:11 ` Edward Shishkin
0 siblings, 1 reply; 5+ messages in thread
From: Marcin Baczyński @ 2011-02-07 13:37 UTC (permalink / raw)
To: reiserfs-devel
[-- Attachment #1: Type: text/plain, Size: 385 bytes --]
Hi,
following the instructions at reiser4.wiki.kernel.org I'm reporting here
sigsegv I get when fscking resiser4 fs.
I'm using reiser4progs 1.0.7. Attached backtrace is from patched
version, with patch from [1] applied, but the same crash happens
with unpatched version.
Let me know if you need more info.
[1] http://article.gmane.org/gmane.comp.file-systems.reiserfs.general/23447
[-- Attachment #2: gdb.txt --]
[-- Type: text/plain, Size: 12846 bytes --]
Starting program: /sbin/fsck.reiser4 /dev/sda2
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7b9124f in aux_adler32 (adler=1, buff=0x7ffffffe184e "",
n=4294845149) at aux.c:194
194 aux.c: No such file or directory.
in aux.c
#0 0x00007ffff7b9124f in aux_adler32 (adler=1, buff=0x7ffffffe184e "",
n=4294845149) at aux.c:194
t = 0x7ffffffff000 <Address 0x7ffffffff000 out of bounds>
s1 = 296537
s2 = 639379359
k = 1389
#1 0x00007ffff7bb8154 in ccreg40_check_crc (hint=0x7ffffffe1800)
at ccreg40_repair.c:130
adler = 0
disk = 0
offset = 4294967293
#2 0x00007ffff7bb836f in ccreg40_check_cluster (cc=0x7ffff8904930,
hint=0x7ffffffe1800, mode=1 '\001') at ccreg40_repair.c:174
result = 0
res = 0
start = 1
lcl_size = 32767
__FUNCTION__ = "ccreg40_check_cluster"
#3 0x00007ffff7bb87cc in ccreg40_check_struct (cc=0x7ffff8904930, func=0,
data=0x7fffffffe2c0, mode=1 '\001') at ccreg40_repair.c:271
lookup = 0
info = 0x7ffff8904930
hint = {stat = {size = 0, bytes = 0, nlink = 0, mode = 0},
prev_found = 0, seek = 1, found = 0, maxreal = 0, bytes = 1,
sdsize = 0, adler = 0, mode = 1 '\001', hole = 1 '\001',
data = '\000' <repeats 65535 times>, clstart = 0, clsize = 65536}
trans = {overhead = 1936548141, len = 7367777, bytes = 8314590,
specific = 0x400000017, count = 140737363594088, offset = {
plug = 0x7ffff7dcfda0, body = {13806250294005334502,
140737488296160, 140737349608477, 140737488296160},
adjust = 4170205488}, maxkey = {plug = 0x0, body = {
13806250294005334502, 140737363562880, 140737363562880,
140737354108288}, adjust = 4294960736}, insert_flags = 6416,
shift_flags = 2, head = 140737363593912, tail = 140737363562880,
blocks = 0xbf99a77e665201e6, plug = 0x7fffffff1930,
region_func = 0x7ffff7b9f28e <kl_get_objectid+44>,
place_func = 0x500001500, data = 0x7ffff8904ab8}
res = 0
#4 0x00007ffff795a219 in repair_object_check_struct (object=0x7ffff8904930,
place_func=0, mode=1 '\001', data=0x7fffffffe2c0) at object.c:19
res = 110
#5 0x00007ffff795e490 in repair_semantic_check_struct (sem=0x7fffffffe2c0,
object=0x7ffff8904930) at semantic.c:68
place_func = 0
res = 0
oid = 8315044
#6 0x00007ffff795f005 in cb_object_traverse (parent=0x7ffff88fd180,
entry=0x7fffffff3ae0, data=0x7fffffffe2c0) at semantic.c:352
sem = 0x7fffffffe2c0
object = 0x7ffff8904930
checked = 0
attached = 0
start = 0x7ffff8904a58
res = 0
__FUNCTION__ = "cb_object_traverse"
#7 0x00007ffff7b8b368 in reiser4_object_traverse (object=0x7ffff88fd180,
open_func=0x7ffff795ed72 <cb_object_traverse>, data=0x7fffffffe2c0)
at object.c:723
child = 0x0
res = 1
entry = {len = 0, place = {pos = {item = 15, unit = 31},
node = 0x7ffff88fca70, body = 0x7ffff8902e89, len = 1802, off = 0,
key = {plug = 0x7ffff7dcfda0, body = {133033440, 0, 0, 0},
adjust = 0}, plug = 0x7ffff7dd01a0}, offset = {
plug = 0x7ffff7dcfda0, body = {133033440, 31644363195769133,
7234315281792725106, 7133701809754865664}, adjust = 0},
object = {plug = 0x7ffff7dcfda0, body = {133033441,
31644363195769133, 8315044, 0}, adjust = 0}, type = 0 '\000',
name = "plasma-desktoprc\000c", '\000' <repeats 8085 times>, "@^/\367\377\177\000\000\320[\377\377\377\177\000\000\200\215\377\367\377\177\000\000`\346\377\377\377\177", '\000' <repeats 18 times>"\243, J\377\366\377\177\000\000\340[\377\377\377\177\000\000\024\246\225\367\377\177\000\000\000\000\000\000\000\000\000\000\346\001Rf~\247\231\277\320", place_func = 0xbf99a77e665201e6,
data = 0x7fffffff5c10}
#8 0x00007ffff7b8b3af in reiser4_object_traverse (object=0x7ffff88fcb60,
open_func=0x7ffff795ed72 <cb_object_traverse>, data=0x7fffffffe2c0)
at object.c:731
child = 0x7ffff88fd180
res = 1
entry = {len = 0, place = {pos = {item = 12, unit = 3},
node = 0x7ffff88fca70, body = 0x7ffff8902d4f, len = 202, off = 0,
key = {plug = 0x7ffff7dcfda0, body = {133033424, 0, 0, 0},
adjust = 0}, plug = 0x7ffff7dd01a0}, offset = {
plug = 0x7ffff7dcfda0, body = {133033424, 27988542649624320, 0,
0}, adjust = 0}, object = {plug = 0x7ffff7dcfda0, body = {
133033425, 27988542649624320, 8314590, 0}, adjust = 0},
type = 0 '\000',
name = "config", '\000' <repeats 8097 times>, "@^/\367\377\177\000\000\000}\377\377\377\177\000\000\200\215\377\367\377\177\000\000`\346\377\377\377\177", '\000' <repeats 18 times>"\243, J\377\366\377\177\000\000\020}\377\377\377\177\000\000\024\246\225\367\377\177\000\000\000\000\000\000\000\000\000\000\346\001Rf~\247\231\277", place_func = 0xbf99a77e665201e6, data = 0x7fffffff7d40}
#9 0x00007ffff7b8b3af in reiser4_object_traverse (object=0x7ffff88f9630,
open_func=0x7ffff795ed72 <cb_object_traverse>, data=0x7fffffffe2c0)
at object.c:731
child = 0x7ffff88fcb60
res = 1
entry = {len = 0, place = {pos = {item = 7, unit = 3},
node = 0x7ffff88fca70, body = 0x7ffff8902b0a, len = 302, off = 0,
key = {plug = 0x7ffff7dcfda0, body = {133033408, 0, 0, 0},
adjust = 0}, plug = 0x7ffff7dd01a0}, offset = {
plug = 0x7ffff7dcfda0, body = {133033408, 32484390062063616, 0,
0}, adjust = 0}, object = {plug = 0x7ffff7dcfda0, body = {
133033409, 32484390062063616, 8314589, 0}, adjust = 0},
type = 0 '\000',
name = "share\000asgaard\000\000prev", '\000' <repeats 8084 times>, "@^/\367\377\177\000\000\060\236\377\377\377\177\000\000\200\215\377\367\377\177\000\000`\346\377\377\377\177", '\000' <repeats 18 times>"\243, J\377\366\377\177\000\000@\236\377\377\377\177\000\000\024\246\225\367\377\177\000\000\000\000\000\000\000\000\000\000\346\001Rf~\247\231\277\060",
place_func = 0xbf99a77e665201e6, data = 0x7fffffff9e70}
#10 0x00007ffff7b8b3af in reiser4_object_traverse (object=0x7ffff88c00d0,
open_func=0x7ffff795ed72 <cb_object_traverse>, data=0x7fffffffe2c0)
at object.c:731
child = 0x7ffff88f9630
res = 1
entry = {len = 0, place = {pos = {item = 3, unit = 10},
node = 0x7ffff9972980, body = 0x7ffff88bd166, len = 1363, off = 0,
key = {plug = 0x7ffff7dcfda0, body = {1073904, 0, 0, 0},
adjust = 0}, plug = 0x7ffff7dd01a0}, offset = {
plug = 0x7ffff7dcfda0, body = {1073904, 13065927867498496, 0, 0},
adjust = 0}, object = {plug = 0x7ffff7dcfda0, body = {1073905,
13065927867498496, 8314588, 0}, adjust = 0}, type = 0 '\000',
name = ".kde4\000d\000gout\000\000disks-0\000.so.7", '\000' <repeats 8076 times>, "@^/\367\377\177\000\000`\277\377\377\377\177\000\000\200\215\377\367\377\177\000\000`\346\377\377\377\177", '\000' <repeats 18 times>"\243, J\377\366\377\177", '\000' <repeats 26 times>"\346, \001Rf~\247\231\277`",
place_func = 0xbf99a77e665201e6, data = 0x7fffffffbfa0}
#11 0x00007ffff7b8b3af in reiser4_object_traverse (object=0x7ffff84ffb90,
open_func=0x7ffff795ed72 <cb_object_traverse>, data=0x7fffffffe2c0)
at object.c:731
child = 0x7ffff88c00d0
res = 1
entry = {len = 0, place = {pos = {item = 1, unit = 15},
node = 0x7ffff9972b90, body = 0x7ffff88bf13a, len = 1052, off = 0,
key = {plug = 0x7ffff7dcfda0, body = {672, 0, 0, 0}, adjust = 0},
plug = 0x7ffff7dd01a0}, offset = {plug = 0x7ffff7dcfda0, body = {
672, 32210671823224832, 0, 0}, adjust = 0}, object = {
plug = 0x7ffff7dcfda0, body = {673, 32210671823224832, 67119, 0},
adjust = 0}, type = 0 '\000',
name = "root", '\000' <repeats 6643 times>, "\004", '\000' <repeats 15 times>"\346, \001Rf~\247\231\277\240\332\377\377\377\177\000\000\306\352\270\367\377\177\000\000\000\000\000\000\000\000\000\000\004\000\000\000\r\000\000\000@\020\335\367\377\177\000\000\346\001Rf~\247\231\277\320\332\377\377\377\177\000\000\232\353\270\367\377\177\000\000\000\000\000\000\001\000\000\000\004\000\000\000\r", '\000' <repeats 11 times>, "\002\000\000\000\003\000\000\000\000\333\377\377\377\177\000\000\346\001Rf~\247\231\277\020\333\377\377\377\177\000\000\306\352\270\367\377\177\000\000\000\000\000\000\000\000\000\000\002\000\000\000\004\000\000\000@\032\335\367\377\177\000\000\346\001Rf~\247\231\277@\333\377\377\377\177\000\000\232\353\270\367\377\177\000\000\020\336\377\377\001\000\000\000\002\000\000\000\004", '\000' <repeats 11 times>"\346, \001Rf~\247\231\277p\333\377\377\377\177\000\000$\326\267\367\377\177\000\000\001\000\000\000\001\000\000\000\002\000\000\000\004\000\000\000\256\352O\370\377\177\000\000\346\001Rf~\247"..., place_func = 0x7ffff8222150, data = 0x3ffd}
#12 0x00007ffff7960332 in repair_semantic (sem=0x7fffffffe2c0)
at semantic.c:845
tree = 0x7ffff8222150
res = 0
#13 0x00007ffff7962795 in repair_check (repair=0x7fffffffe4d0) at repair.c:799
control = {repair = 0x7fffffffe4d0, bm_used = 0x7ffff8222120,
bm_leaf = 0x0, bm_twig = 0x0, bm_met = 0x0, bm_scan = 0x0,
bm_alloc = 0x7ffff840a400, mkidok = 1, mkid = 2019268569, oid = 0,
files = 339243, sysblk = 0}
filter = {repair = 0x7fffffffe4d0, bm_used = 0x7ffff8222120,
bm_leaf = 0x0, bm_twig = 0x7ffff840a400, bm_met = 0x0, stat = {
read_nodes = 712714, good_nodes = 712714, good_leaves = 703769,
good_twigs = 8788, fixed_nodes = 0, fixed_leaves = 0,
fixed_twigs = 0, bad_nodes = 0, bad_leaves = 0, bad_twigs = 0,
bad_dk_nodes = 0, bad_dk_leaves = 0, bad_dk_twigs = 0,
bad_ptrs = 0, files = 0x7fffffffe378, tmp = 0, time = 1297084020},
mkidok = 1, mkid = 2019268569, oid = 0, cur_node = 0x0,
gauge = 0x7ffff84fa520, flags = 0, level = 5 '\005'}
ds = {repair = 0x0, bm_scan = 0x0, bm_met = 0x0, bm_leaf = 0x0,
bm_twig = 0x0, stat = {read_nodes = 0, good_nodes = 0,
good_leaves = 0, good_twigs = 0, fixed_nodes = 0,
fixed_leaves = 0, fixed_twigs = 0, files = 0x0, tmp = 0,
time = 0}, mkidok = 0, mkid = 0}
ts = {repair = 0x7fffffffe4d0, bm_used = 0x0,
bm_twig = 0x7ffff840a400, bm_met = 0x7ffff8222120, stat = {
read_twigs = 8788, fixed_twigs = 0, bad_unfm_ptrs = 0,
time = 1297084020}}
am = {repair = 0x0, bm_used = 0x0, bm_twig = 0x0, bm_leaf = 0x0,
stat = {read_leaves = 0, by_leaf = 13806250294005334502,
by_item_leaves = 0, read_twigs = 140737340464704, by_twig = 8,
by_item_twigs = 140737357391088, empty = 8,
files = 0x7ffff72f5e40, time = 8}, gauge = 0x7ffff831a4f0}
sem = {repair = 0x7fffffffe4d0, root = 0x7ffff84ffb90, lost = 0x0,
stat = {reached_files = 2920, lost_files = 0, shared = 0,
rm_entries = 0, broken = 0, oid = 18427464, statdatas = 2096,
files = 339243, time = 1297084020}, gauge = 0x7ffff84fb6d0}
cleanup = {repair = 0x7fffffffe430, neigh = {pos = {item = 1716650470,
unit = 3214518142}, node = 0x7ffff7ff8d80,
body = 0x7ffff8220150, len = 4294960240, off = 32767, key = {
plug = 0x7ffff7ff9ecf, body = {139642271694849, 0,
140737356366160, 140737488348368}, adjust = 0},
plug = 0x1b3000001b6}, stat = {removed = 140737347104896,
linked = 140737354128451, time = 7865824}, gauge = 0x0,
cur_place = 0x0}
res = 0
#14 0x00007ffff7ffa363 in main (argc=2, argv=0x7fffffffe668) at fsck.c:566
fsck_ops = {open = 0x7ffff7745a20 <file_open>,
read = 0x7ffff77458f0 <file_read>,
write = 0x7ffff7745830 <file_write>,
sync = 0x7ffff77457c0 <file_sync>,
equals = 0x7ffff7745740 <file_equals>,
len = 0x7ffff7745640 <file_len>, close = 0x7ffff77459b0 <file_close>}
device = 0x7ffff8220150
repair = {fs = 0x7ffff82213e0, fatal = 0, fixable = 0, sb_fixable = 0,
mode = 1 '\001', bitmap_file = 0x0, flags = 0}
parse_data = {sb_mode = 1 '\001', fs_mode = 1 '\001',
logfile = 0x7ffff72f4840, backup = 0x0, backup_file = 0x0,
bitmap_file = 0x0, host_device = 0x7ffff8220150, options = 0}
ex = 0
stage = 1
res = 0
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fsck.reiser4: segfault in aux_adler32 at aux.c:194
2011-02-07 13:37 fsck.reiser4: segfault in aux_adler32 at aux.c:194 Marcin Baczyński
@ 2011-02-07 14:11 ` Edward Shishkin
2011-02-07 14:55 ` Marcin Baczyński
0 siblings, 1 reply; 5+ messages in thread
From: Edward Shishkin @ 2011-02-07 14:11 UTC (permalink / raw)
To: Marcin Baczyński; +Cc: reiserfs-devel
Marcin Baczyński wrote:
> Hi,
> following the instructions at reiser4.wiki.kernel.org I'm reporting here
> sigsegv I get when fscking resiser4 fs.
>
> I'm using reiser4progs 1.0.7. Attached backtrace is from patched
> version, with patch from [1] applied, but the same crash happens
> with unpatched version.
>
Could you please also try this one:
http://marc.info/?l=reiserfs-devel&m=127504471326353&w=2
> Let me know if you need more info.
>
If it doesn't help, then provide all fsck output (not only stacktrace).
Thanks,
Edward.
> [1] http://article.gmane.org/gmane.comp.file-systems.reiserfs.general/23447
>
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fsck.reiser4: segfault in aux_adler32 at aux.c:194
2011-02-07 14:11 ` Edward Shishkin
@ 2011-02-07 14:55 ` Marcin Baczyński
2011-02-07 14:58 ` Edward Shishkin
0 siblings, 1 reply; 5+ messages in thread
From: Marcin Baczyński @ 2011-02-07 14:55 UTC (permalink / raw)
To: Edward Shishkin; +Cc: reiserfs-devel
W dniu 7 lutego 2011 15:11 użytkownik Edward Shishkin
<edward.shishkin@gmail.com> napisał:
> Marcin Baczyński wrote:
>>
>> Hi,
>> following the instructions at reiser4.wiki.kernel.org I'm reporting here
>> sigsegv I get when fscking resiser4 fs.
>>
>> I'm using reiser4progs 1.0.7. Attached backtrace is from patched
>> version, with patch from [1] applied, but the same crash happens
>> with unpatched version.
>>
>
> Could you please also try this one:
> http://marc.info/?l=reiserfs-devel&m=127504471326353&w=2
>
This patch makes segfault go away. Thanks.
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fsck.reiser4: segfault in aux_adler32 at aux.c:194
2011-02-07 14:55 ` Marcin Baczyński
@ 2011-02-07 14:58 ` Edward Shishkin
2011-02-08 13:45 ` Marcin Baczyński
0 siblings, 1 reply; 5+ messages in thread
From: Edward Shishkin @ 2011-02-07 14:58 UTC (permalink / raw)
To: Marcin Baczyński; +Cc: reiserfs-devel
Marcin Baczyński wrote:
> W dniu 7 lutego 2011 15:11 użytkownik Edward Shishkin
> <edward.shishkin@gmail.com> napisał:
>
>> Marcin Baczyński wrote:
>>
>>> Hi,
>>> following the instructions at reiser4.wiki.kernel.org I'm reporting here
>>> sigsegv I get when fscking resiser4 fs.
>>>
>>> I'm using reiser4progs 1.0.7. Attached backtrace is from patched
>>> version, with patch from [1] applied, but the same crash happens
>>> with unpatched version.
>>>
>>>
>> Could you please also try this one:
>> http://marc.info/?l=reiserfs-devel&m=127504471326353&w=2
>>
>>
> This patch makes segfault go away.
Please, upgrade your kernel stuff to .36 or later, if possible..
Edward.
--
To unsubscribe from this list: send the line "unsubscribe reiserfs-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: fsck.reiser4: segfault in aux_adler32 at aux.c:194
2011-02-07 14:58 ` Edward Shishkin
@ 2011-02-08 13:45 ` Marcin Baczyński
0 siblings, 0 replies; 5+ messages in thread
From: Marcin Baczyński @ 2011-02-08 13:45 UTC (permalink / raw)
To: Edward Shishkin; +Cc: reiserfs-devel
>>> Could you please also try this one:
>>> http://marc.info/?l=reiserfs-devel&m=127504471326353&w=2
>>>
>>>
>>
>> This patch makes segfault go away.
>
> Please, upgrade your kernel stuff to .36 or later, if possible..
My uname says
Linux asgaard 2.6.37-hardened-r1-gentoo #4 SMP PREEMPT (...) x86_64 (...).
Of course with reiser4 patch applied.
>
> Edward.
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-02-08 13:45 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-07 13:37 fsck.reiser4: segfault in aux_adler32 at aux.c:194 Marcin Baczyński
2011-02-07 14:11 ` Edward Shishkin
2011-02-07 14:55 ` Marcin Baczyński
2011-02-07 14:58 ` Edward Shishkin
2011-02-08 13:45 ` Marcin Baczyński
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.