Project

General

Profile

Bug #2069

Assertion failed: num_unclaimed_tokens == 0, file zonecfg_lex.l, line 400

Added by Alexander Eremin over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2012-02-03
Due date:
% Done:

0%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:

Description

# zonecfg -z qqq "add fs;dataset=rpool/qqq; end" 
syntax error at 'd'
Commands:

add <resource-type>
    (global scope)
add <property-name> <property-value>
    (resource scope)
cancel
clear <property-name>
commit
create [-F] [ -a <path> | -b | -t <template> ]
delete [-F]
end
exit [-F]
export [-f output-file]
help [commands] [syntax] [usage] [<command-name>]
info [<resource-type> [property-name=property-value]*]
remove [-F] <resource-type> [ <property-name>=<property-value> ]*
    (global scope)
remove <property-name> <property-value>
    (resource scope)
revert [-F]
select <resource-type> { <property-name>=<property-value> }
set <property-name>=<property-value>
verify
dir not specified
special not specified
type not specified
Assertion failed: num_unclaimed_tokens == 0, file zonecfg_lex.l, line 400
Abort (core dumped)
root@indy:/# mdb core
Loading modules: [ libc.so.1 ld.so.1 ]
> ::stack
libc_hwcap1.so.1`_lwp_kill+0x15(1, 6, 8047a38, fee97f9e)
libc_hwcap1.so.1`raise+0x22(6, 0, 8047a88, fee6f97a)
libc_hwcap1.so.1`abort+0xf2(65737341, 6f697472, 6166206e, 64656c69, 756e203a, 6e755f6d)
libc_hwcap1.so.1`_assert+0x82(806e9b0, 806e9a0, 190, 8067d15)
assert_no_unclaimed_tokens+0x26(0, fef60000, 8047ce8, fee892ad, fef61000, fef03ce5)
yyparse+0x204f(0, 0, fefa0818, 0, 806464d, feed9059)
one_command_at_a_time+0x1e0(1, 8047e20, 8055968, 80645d7)
main+0x346(4, 8047e14, 8047e28, 80557df)
_start+0x7d(4, 8047ec8, 8047ed0, 8047ed3, 8047ed7, 0)
> $q

We don't need core, just warning if wrong property-name

Also available in: Atom PDF